|
|
|
|
@ -941,7 +941,7 @@ if __name__ == '__main__':
|
|
|
|
|
signal.signal(sig, sig_handler)
|
|
|
|
|
|
|
|
|
|
# Create the name-number mapping dictionaries
|
|
|
|
|
peer_ids, subscriber_ids, talkgroup_ids, local_subscriber_ids,_server_ids,_checksums = mk_aliases(CONFIG)
|
|
|
|
|
peer_ids, subscriber_ids, talkgroup_ids, local_subscriber_ids,server_ids,checksums = mk_aliases(CONFIG)
|
|
|
|
|
|
|
|
|
|
#Add special IDs to DB
|
|
|
|
|
subscriber_ids[900999] = 'D-APRS'
|
|
|
|
|
@ -951,6 +951,7 @@ if __name__ == '__main__':
|
|
|
|
|
CONFIG['_PEER_IDS'] = peer_ids
|
|
|
|
|
CONFIG['_LOCAL_SUBSCRIBER_IDS'] = local_subscriber_ids
|
|
|
|
|
CONFIG['_SERVER_IDS'] = server_ids
|
|
|
|
|
CONFIG['_CHECKSUMS'] = checksums
|
|
|
|
|
|
|
|
|
|
# Import the ruiles file as a module, and create BRIDGES from it
|
|
|
|
|
spec = importlib.util.spec_from_file_location("module.name", cli_args.RULES_FILE)
|
|
|
|
|
|