Work on TXT Messaging
This commit is contained in:
parent
e2f596f311
commit
ea5141684b
@ -156,11 +156,12 @@ class bridgeIPSC(IPSC):
|
|||||||
elif _ts == 1:
|
elif _ts == 1:
|
||||||
_TS = 'TS2'
|
_TS = 'TS2'
|
||||||
|
|
||||||
|
now = time() # Mark packet arrival time -- we'll need this for call contention handling
|
||||||
|
|
||||||
for rule in RULES[_network]['GROUP_VOICE']:
|
for rule in RULES[_network]['GROUP_VOICE']:
|
||||||
_target = rule['DST_NET'] # Shorthand to reduce length and make it easier to read
|
_target = rule['DST_NET'] # Shorthand to reduce length and make it easier to read
|
||||||
_status = networks[_target].IPSC_STATUS # Shorthand to reduce length and make it easier to read
|
_status = networks[_target].IPSC_STATUS # Shorthand to reduce length and make it easier to read
|
||||||
now = time() # Mark packet arrival time -- we'll need this for call contention handling
|
|
||||||
|
|
||||||
# Matching for rules is against the Destination Group in the SOURCE packet (SRC_GROUP)
|
# Matching for rules is against the Destination Group in the SOURCE packet (SRC_GROUP)
|
||||||
#if rule['SRC_GROUP'] == _dst_group and rule['SRC_TS'] == _ts:
|
#if rule['SRC_GROUP'] == _dst_group and rule['SRC_TS'] == _ts:
|
||||||
#if BRIDGES:
|
#if BRIDGES:
|
||||||
@ -233,7 +234,7 @@ class bridgeIPSC(IPSC):
|
|||||||
logger.debug('(%s) Group Data Packet Received From: %s, IPSC Peer %s, Destination %s', _network, int_id(_src_sub), int_id(_peerid), int_id(_dst_sub))
|
logger.debug('(%s) Group Data Packet Received From: %s, IPSC Peer %s, Destination %s', _network, int_id(_src_sub), int_id(_peerid), int_id(_dst_sub))
|
||||||
|
|
||||||
def private_data(self, _network, _src_sub, _dst_sub, _ts, _end, _peerid, _data):
|
def private_data(self, _network, _src_sub, _dst_sub, _ts, _end, _peerid, _data):
|
||||||
logger.debug('(%s) Private Data Packet Received From: %s, IPSC Peer %s, Destination %s', _network, int_id(_src_sub), int_id(_peerid), int_id(_dst_sub))
|
logger.info('(%s) Private Data Packet Received From: %s, IPSC Peer %s, Destination %s', _network, int_id(_src_sub), int_id(_peerid), int_id(_dst_sub))
|
||||||
|
|
||||||
for rule in RULES[_network]['PRIVATE_DATA']:
|
for rule in RULES[_network]['PRIVATE_DATA']:
|
||||||
_target = rule # Shorthand to reduce length and make it easier to read
|
_target = rule # Shorthand to reduce length and make it easier to read
|
||||||
|
Loading…
Reference in New Issue
Block a user