|
|
|
|
@ -1642,7 +1642,7 @@ class routerOBP(OPENBRIDGE):
|
|
|
|
|
#Send all data to DATA-GATEWAY if enabled and valid
|
|
|
|
|
if CONFIG['GLOBAL']['DATA_GATEWAY'] and 'DATA-GATEWAY' in CONFIG['SYSTEMS'] and CONFIG['SYSTEMS']['DATA-GATEWAY']['MODE'] == 'OPENBRIDGE' and CONFIG['SYSTEMS']['DATA-GATEWAY']['ENABLED']:
|
|
|
|
|
logger.debug('(%s) DATA packet sent to DATA-GATEWAY',self._system)
|
|
|
|
|
self.sendDataToOBP('DATA-GATEWAY',_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_source_rptr,_ber,_rssi)
|
|
|
|
|
self.sendDataToOBP('DATA-GATEWAY',_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_source_server,_ber,_rssi,_source_rptr)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Send other openbridges
|
|
|
|
|
@ -1654,7 +1654,7 @@ class routerOBP(OPENBRIDGE):
|
|
|
|
|
#We only want to send data calls to individual IDs via OpenBridge
|
|
|
|
|
#Only send if proto ver for bridge is > 1
|
|
|
|
|
if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE' and CONFIG['SYSTEMS'][system]['VER'] > 1 and (_int_dst_id >= 1000000):
|
|
|
|
|
self.sendDataToOBP(system,_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_hops,_source_server,_ber,_rssi)
|
|
|
|
|
self.sendDataToOBP(system,_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_hops,_source_server,_ber,_rssi,_source_server)
|
|
|
|
|
|
|
|
|
|
#If destination ID is in the Subscriber Map
|
|
|
|
|
if _dst_id in SUB_MAP:
|
|
|
|
|
@ -2256,7 +2256,7 @@ class routerHBP(HBSYSTEM):
|
|
|
|
|
#Send all data to DATA-GATEWAY if enabled and valid
|
|
|
|
|
if CONFIG['GLOBAL']['DATA_GATEWAY'] and 'DATA-GATEWAY' in CONFIG['SYSTEMS'] and CONFIG['SYSTEMS']['DATA-GATEWAY']['MODE'] == 'OPENBRIDGE' and CONFIG['SYSTEMS']['DATA-GATEWAY']['ENABLED']:
|
|
|
|
|
logger.debug('(%s) DATA packet sent to DATA-GATEWAY',self._system)
|
|
|
|
|
self.sendDataToOBP('DATA-GATEWAY',_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_source_rptr)
|
|
|
|
|
self.sendDataToOBP('DATA-GATEWAY',_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_ber,_rssi,_source_server,_source_rptr)
|
|
|
|
|
|
|
|
|
|
#Send to all openbridges
|
|
|
|
|
# sysIgnore = []
|
|
|
|
|
@ -2267,7 +2267,7 @@ class routerHBP(HBSYSTEM):
|
|
|
|
|
continue
|
|
|
|
|
#We only want to send data calls to individual IDs via FreeBridge (not OpenBridge)
|
|
|
|
|
if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE' and CONFIG['SYSTEMS'][system]['VER'] > 1 and (_int_dst_id >= 1000000):
|
|
|
|
|
self.sendDataToOBP(system,_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_source_rptr)
|
|
|
|
|
self.sendDataToOBP(system,_data,dmrpkt,pkt_time,_stream_id,_dst_id,_peer_id,_rf_src,_bits,_slot,_ber,_rssi,_source_server,_source_rptr)
|
|
|
|
|
|
|
|
|
|
#If destination ID is in the Subscriber Map
|
|
|
|
|
if _dst_id in SUB_MAP:
|
|
|
|
|
|