Fix voice file support

This commit is contained in:
Simon 2021-01-27 21:08:46 +00:00
parent a74c02d28c
commit 75bbc8baad
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ W 1888 38
X 1945 35
Y 1999 28
Z 2052 37
linked 2116 19
linkedto 2116 19
notlinked 2186 44
linking 2250 31
isbusy 2342 33

View File

@ -437,7 +437,7 @@ def disconnectedVoice(system):
_say.append(words['silence'])
if CONFIG['SYSTEMS'][system]['DEFAULT_REFLECTOR'] > 0:
_say.append(words['silence'])
_say.append(words['linked'])
_say.append(words['linkedto'])
_say.append(words['silence'])
_say.append(words['2'])
_say.append(words['silence'])
@ -1478,7 +1478,7 @@ class routerHBP(HBSYSTEM):
if _system['ACTIVE'] == True:
logger.info('(%s) Reflector: voice called - 5000 status - "linked to %s"', self._system,_dehash_bridge)
_say.append(words['silence'])
_say.append(words['linked'])
_say.append(words['linkedto'])
_say.append(words['silence'])
_say.append(words['2'])
_say.append(words['silence'])
@ -1498,7 +1498,7 @@ class routerHBP(HBSYSTEM):
else:
logger.info('(%s) Reflector: voice called (linking) "linked to %s"', self._system,_int_dst_id)
_say.append(words['silence'])
_say.append(words['linked'])
_say.append(words['linkedto'])
_say.append(words['silence'])
_say.append(words['2'])
_say.append(words['silence'])