mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-07-18 08:05:17 -04:00
Update web_tables.py
This commit is contained in:
parent
fc5ae4cf40
commit
099231dc32
@ -422,19 +422,9 @@ def rts_update(p):
|
|||||||
CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['DEST'] = ''
|
CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['DEST'] = ''
|
||||||
|
|
||||||
if system in CTABLE['OPENBRIDGES']:
|
if system in CTABLE['OPENBRIDGES']:
|
||||||
if not CTABLE['OPENBRIDGES'][system]['STREAMS']:
|
|
||||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = WHITE
|
|
||||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
|
||||||
else:
|
|
||||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW
|
|
||||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
|
||||||
if action == 'START':
|
if action == 'START':
|
||||||
CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'TG{}'.format(destination))
|
CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId] = (trx, alias_call(sourceSub, subscriber_ids),'TG{}'.format(destination))
|
||||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = YELLOW
|
|
||||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
|
||||||
if action == 'END':
|
if action == 'END':
|
||||||
CTABLE['OPENBRIDGES'][system]['BGCOLOR'] = WHITE
|
|
||||||
CTABLE['OPENBRIDGES'][system]['COLOR'] = BLACK
|
|
||||||
if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']:
|
if streamId in CTABLE['OPENBRIDGES'][system]['STREAMS']:
|
||||||
del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId]
|
del CTABLE['OPENBRIDGES'][system]['STREAMS'][streamId]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user