|
|
|
|
@ -1433,7 +1433,7 @@ class routerOBP(OPENBRIDGE):
|
|
|
|
|
if CONFIG['REPORTS']['REPORT']:
|
|
|
|
|
systems[system]._report.send_bridgeEvent('UNIT DATA,START,TX,{},{},{},{},{},{}'.format(system, int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), 1, _int_dst_id).encode(encoding='utf-8', errors='ignore'))
|
|
|
|
|
else:
|
|
|
|
|
if not CONFIG['GLOBAL']['DATA_GATEWAY']:
|
|
|
|
|
if not bool(CONFIG['GLOBAL']['DATA_GATEWAY']):
|
|
|
|
|
logger.info('(%s) UNIT Data not Bridged - no DATA_GATEWAY: %s, DST_ID: %s',self._system,_int_dst_id)
|
|
|
|
|
elif CONFIG['GLOBAL']['DATA_GATEWAY'] not in systems:
|
|
|
|
|
logger.warning('(%s) UNIT Data not Bridged - DATA_GATEWAY: %s not valid. DST_ID: %s',self._system, CONFIG['GLOBAL']['DATA_GATEWAY'],_int_dst_id)
|
|
|
|
|
@ -1915,7 +1915,7 @@ class routerHBP(HBSYSTEM):
|
|
|
|
|
if CONFIG['REPORTS']['REPORT']:
|
|
|
|
|
systems[system]._report.send_bridgeEvent('UNIT DATA,START,TX,{},{},{},{},{},{}'.format(system, int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), 1, _int_dst_id).encode(encoding='utf-8', errors='ignore'))
|
|
|
|
|
else:
|
|
|
|
|
if not CONFIG['GLOBAL']['DATA_GATEWAY']:
|
|
|
|
|
if not bool(CONFIG['GLOBAL']['DATA_GATEWAY']):
|
|
|
|
|
logger.info('(%s) UNIT Data not Bridged - no DATA_GATEWAY: %s, DST_ID: %s',self._system,_int_dst_id)
|
|
|
|
|
elif CONFIG['GLOBAL']['DATA_GATEWAY'] not in systems:
|
|
|
|
|
logger.warning('(%s) UNIT Data not Bridged - DATA_GATEWAY: %s not valid. DST_ID: %s',self._system, CONFIG['GLOBAL']['DATA_GATEWAY'],_int_dst_id)
|
|
|
|
|
|