toggle quoted messageShow quoted text
I have stripped back to a single system in the DMRlink.cfg file however it is not linking with the DMR repeater I have operating in peer mode. Previously, last week, this was working however I stupidly did not save a copy of that cfg file as I realized there were too many other issues and started back from scratch building in the version containing the IPSC_Bridge. Following is the output I receive when starting either IPSC_Bridge or conf bridge. Both seem to give the same response which, appears to me, indicates a handshake is not occurring.
root@AI6BX-DMR:/opt/DMRlink# python IPSC_Bridge.py
INFO 2019-12-02 19:46:18,392 DMRlink 'IPSC_Bridge.py' (c) 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2019-12-02 19:46:18,392 Version 20170620
INFO 2019-12-02 19:46:18,393 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2019-12-02 19:46:18,393 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2019-12-02 19:46:18,526 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2019-12-02 19:46:20,215 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2019-12-02 19:46:20,217 (CARLSBAD) IPSC Instance Created: 54321, 220.127.116.11:50009
INFO 2019-12-02 19:46:20,218 section = CARLSBAD
INFO 2019-12-02 19:46:20,218 Section CARLSBAD was not found, using DEFAULTS
INFO 2019-12-02 19:46:20,218 gateway = 127.0.0.1
INFO 2019-12-02 19:46:20,218 toGatewayPort = 50009
INFO 2019-12-02 19:46:20,219 fromGatewayPort = 62031
INFO 2019-12-02 19:46:20,219 DMRLink IPSC Bridge
^CINFO 2019-12-02 19:46:55,986 *** DMRLINK IS TERMINATING WITH SIGNAL 2 ***
INFO 2019-12-02 19:46:55,986 De-Registering from IPSC CARLSBAD
root@AI6BX-DMR:/opt/DMRlink# python confbridge.py
INFO 2019-12-02 19:47:12,244 DMRlink 'dmrlink.py' (c) 2013 - 2015 N0MJS & the K0USY Group - SYSTEM STARTING...
INFO 2019-12-02 19:47:12,245 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2019-12-02 19:47:12,245 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2019-12-02 19:47:12,372 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2019-12-02 19:47:14,055 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2019-12-02 19:47:14,056 (CARLSBAD) IPSC Instance Created: 54321, 18.104.22.168:50009
INFO 2019-12-02 19:47:14,057 Bridge configuration file found and imported
INFO 2019-12-02 19:47:14,058 ACL file not found or invalid - all subscriber IDs are valid
INFO 2019-12-02 19:47:14,058 (ALL IPSC SYSTEMS) Rule timer loop started
Following is what my dmrlink.cfg looks like.
# Below not used for a Master
# MASTER_IP: 22.214.171.124
# MASTER_PORT: 50000
From: <main@DVSwitch.groups.io> on behalf of "Cort N0MJS via Groups.Io" <n0mjs@...>
You should only be defining one system on the dmrlink.cfg used with IPSC_Bridge.py. It’s intended to be a one-off. There is no call forwarding between systems. If you intend to use multiple IPSC Systems, you will need a pair of IPSC_Bridge.py and HB_Bridge.py for each. I explained this previously.
Address already in use is a SOCKET address, not an IP ADDRESS. Socket address is defined as the tuple of IP Address, Protocol, Port. You already have something listening on UDP port 62059. Only one process may bind to a specific socket address.