Topics

DMRlink with no audio passing #dmrlink


ai6bx
 
Edited

I took a few weeks away from this project and am back at it now. As my ultimate goal involved linking DMRlink with HBlink with the corresponding IPSC_Bridge and HB_Bridge, I have stepped back a little to build out the networks on each side ensuring all was healthy there. As I stripped back the bridge interfaces, I may have inadvertently caused another issue as my Motorola repeaters with pointed at masters in the dmrlink.cfg files do not appear to fully connect or pass traffic. I note the following behaviors leading me to this:
* the confbridge.py shows the IP address of the repeater as well as the assigned port number however the network link light on the repeater does not sustain solid but blinks indicating no connection.
* I can ping the repeater from the computer running Dmrlink and IPSC
* when I key the repeater and visually confirm signal and TS activation I do not see the corresponding log information show up that I do when I key a remote repeater connected to a different Motorola Master linked to the peer server in the same config file. 

Expanding on the above, I now have three motorola repeaters showing links to DMRlink with the corresponding master stanzas noted above and I have a successful peer link to an existing motorola repeater functioning as a master with seven other linked repeaters. When a radio keys on one of the repeaters linked to the motorola master I see the radio ID and talk group show up in my dmrlink.py logs. Looking at the moto repeaters coming into my dmrlink system, I see IP addresses and port numbers however I get no audio and I do not see the same information regarding radio ID and TG. I also do not see the reciprocal indication of a connection on the repeater side as the link light continues to flash rather than going solid indicating a solid two way link. Below is the log captured during a test session. The only potential errors I see are related to the Carlsbad link. (ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b35664a531000)

root@AI6BX-DMR:~# tail -f /tmp/dmrlink.log
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b35664a531000
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b356648531000
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (ALL IPSC SYSTEMS) Rule timer loop started
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b35664a531000
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (RIFF_PEER) Peer Keep-Alive Missed for 734990, 72.132.16.199:50006
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b35664e531000
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (RIFF_PEER) Peer List Received from Master: 7 peers in this IPSC
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
INFO (CARLSBAD) Master Registration Packet Received from peer 734566, 69.75.245.178:50009
ERROR (CARLSBAD) Unknown Message - Type: f0 From: 734566 Packet: f0000b35664a531000
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (GLAMIS) Master Registration Packet Received from peer 734355, 44.16.15.50:62055
INFO (RIFF_PEER) Registering with Peer 20001, 67.63.96.6:50001
INFO (HB_BRIDGE) Master Registration Packet Received from peer 734440, 166.170.51.21:14225
^C

Following is the master stanza for the Carlsbad repeater:

[CARLSBAD]
ENABLED: True
RADIO_ID: 734566
IP:
PORT: 62036
ALIVE_TIMER: 5
MAX_MISSED: 20
PEER_OPER: True
IPSC_MODE: DIGITAL
TS1_LINK: True
TS2_LINK: True
CSBK_CALL: False
RCM: True
CON_APP: True
XNL_CALL: False
XNL_MASTER: False
DATA_CALL: True
VOICE_CALL: True
MASTER_PEER: True
AUTH_ENABLED: True
AUTH_KEY: AD07911
# Below not used for a Master
# MASTER_IP: 1.2.3.4
# MASTER_PORT: 50000
GROUP_HANGTIME: 5

Here is what my confbridge_rules.py looks like:

BRIDGES = {
    'ALLCALL': [
            {'SYSTEM': 'RIFF_PEER',    'TS': 1, 'TGID': 156,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10]},
            {'SYSTEM': 'GLAMIS',    'TS': 1, 'TGID': 156, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10]},
            {'SYSTEM': 'CARLSBAD',    'TS': 1, 'TGID': 156, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10]},
            {'SYSTEM': 'HB_BRIDGE',    'TS': 1, 'TGID': 156, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10]},
        ],
    'T-TAC': [
            {'SYSTEM': 'RIFF_PEER',    'TS': 2, 'TGID': 71,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
            {'SYSTEM': 'GLAMIS',    'TS': 2, 'TGID': 71,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
            {'SYSTEM': 'CARLSBAD',    'TS': 2, 'TGID': 71,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
            {'SYSTEM': 'HB_BRIDGE',    'TS': 2, 'TGID': 71,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
        ],
    'DARKSTAR': [
            {'SYSTEM': 'RIFF_PEER',    'TS': 2, 'TGID': 77, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
            {'SYSTEM': 'GLAMIS',    'TS': 2, 'TGID': 77, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
            {'SYSTEM': 'CARLSBAD',    'TS': 2, 'TGID': 77, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
            {'SYSTEM': 'HB_BRIDGE',    'TS': 2, 'TGID': 77, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
        ]
}
 
if __name__ == '__main__':
    from pprint import pprint
    pprint(BRIDGES)