Date   

Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

OK,
So, P25Gateway is not too chatty.
Do you have the entry for 10888 in both private and public host file?

Change P25Gateway.ini to this:

[General]
Callsign=K5TRA
RptAddress=127.0.0.1
# RptAddress=192.168.0.188
RptPort=32010
LocalPort=42020
Announcements=1
Daemon=0

[Id Lookup]
Name=/var/lib/mmdvm/DMRIds.dat
Time=24

[Log]
FilePath=/var/log/mmdvm
FileRoot=P25Gateway

[Network]
# Port=41000
Port=42010
HostsFile1=./P25Hosts.txt <------------------ Do these files exist in this location?
HostsFile2=./Private_P25Hosts.txt <------------------ Do these files exist in this location?
ReloadTime=60
# RptAddress=192.168.0.188 <---------------------- Remove this
# ParrotAddress=192.168.0.188
# RptAddress=127.0.0.1
ParrotAddress=127.0.0.1
ParrotPort=42011
Startup=10888
# Startup=10100
InactivityTimeout=0
# InactivityTimeout=10
Debug=0


On 8/10/20 7:59 PM, Tom wrote:
I'm back from dinner.


Re: ASL to P25 bridge #analog_bridge

Tom
 

I'm back from dinner.


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

I should have caught this before. This is what was missing from the MB log.

I: 2020-08-10 23:30:51.942 P25 Network Parameters
I: 2020-08-10 23:30:51.942     Gateway Address: 127.0.0.1
I: 2020-08-10 23:30:51.942     Gateway Port: 42020
I: 2020-08-10 23:30:51.942     Local Port: 32010
I: 2020-08-10 23:30:51.942     Mode Hang: 3s
M: 2020-08-10 23:30:51.943 P25, Opening INI file: DVSwitch.ini
M: 2020-08-10 23:30:51.943 P25, Setting [P25] Address -> 127.0.0.1
M: 2020-08-10 23:30:51.943 P25, Setting [P25] TXPort -> 34100
M: 2020-08-10 23:30:51.943 P25, Setting [P25] RXPort -> 34103
M: 2020-08-10 23:30:51.943 P25, Setting [P25] Slot -> 2
M: 2020-08-10 23:30:51.944 P25, Transmitting on 127.0.0.1:34100, and listening on port 34103.  Result = 1
M: 2020-08-10 23:30:51.944 Opening P25 network connection

For anybody willing to read through the whole thread.

On 8/10/20 7:34 PM, Tom wrote:
It WAS enabled in [P25],  but not in [P25 Network] in same file.

I'll try a restart.


Re: ASL to P25 bridge #analog_bridge

Tom
 

OK!  We now have ASL to MB action. I don't see any log activity at the gateway yet. 

I have the dinner call -- I'll be back in 20 minutes or so.

Thanks again for all this help.

Tom


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

It needs to be enabled in both places.

On 8/10/20 7:34 PM, Tom wrote:
It WAS enabled in [P25],  but not in [P25 Network] in same file.

I'll try a restart.


Re: ASL to P25 bridge #analog_bridge

Tom
 

It WAS enabled in [P25],  but not in [P25 Network] in same file.

I'll try a restart.


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

[P25 Network]
Enable=0 <--------------------------------- Enable this
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
Debug=0

On 8/10/20 7:22 PM, Tom wrote:
root@P25reflector:/var/log/mmdvm # netstat -unap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
udp        0      0 0.0.0.0:34001           0.0.0.0:*                           6137/Analog_Bridge  
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           297/avahi-daemon: r 
udp        0      0 127.0.0.1:32001         0.0.0.0:*                           538/asterisk        
udp        0      0 0.0.0.0:34100           0.0.0.0:*                           6137/Analog_Bridge  
udp        0      0 0.0.0.0:2470            0.0.0.0:*                           858/md380-emu       
udp        0      0 0.0.0.0:35275           0.0.0.0:*                           297/avahi-daemon: r 
udp        0      0 0.0.0.0:42010           0.0.0.0:*                           4569/P25Gateway     
udp        0      0 0.0.0.0:42011           0.0.0.0:*                           862/P25Parrot       
udp        0      0 0.0.0.0:42020           0.0.0.0:*                           4569/P25Gateway     
udp        0      0 0.0.0.0:41000           0.0.0.0:*                           859/P25Reflector    
udp        0      0 0.0.0.0:68              0.0.0.0:*                           535/dhcpcd          
udp        0      0 0.0.0.0:4180            0.0.0.0:*                           538/asterisk        
udp        0      0 192.168.0.188:123       0.0.0.0:*                           581/ntpd            
udp        0      0 127.0.0.1:123           0.0.0.0:*                           581/ntpd            
udp        0      0 0.0.0.0:123             0.0.0.0:*                           581/ntpd            
udp        0      0 0.0.0.0:48782           0.0.0.0:*                           6137/Analog_Bridge  
udp6       0      0 :::5353                 :::*                                297/avahi-daemon: r 
udp6       0      0 :::33596                :::*                                297/avahi-daemon: r 
udp6       0      0 :::546                  :::*                                535/dhcpcd          
udp6       0      0 fe80::1209:cda7:e2e:123 :::*                                581/ntpd            
udp6       0      0 2605:a601:ab19:5300:123 :::*                                581/ntpd            
udp6       0      0 ::1:123                 :::*                                581/ntpd            
udp6       0      0 :::123                  :::*                                581/ntpd            


Re: ASL to P25 bridge #analog_bridge

Tom
 

root@P25reflector:/var/log/mmdvm # netstat -unap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
udp        0      0 0.0.0.0:34001           0.0.0.0:*                           6137/Analog_Bridge  
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           297/avahi-daemon: r 
udp        0      0 127.0.0.1:32001         0.0.0.0:*                           538/asterisk        
udp        0      0 0.0.0.0:34100           0.0.0.0:*                           6137/Analog_Bridge  
udp        0      0 0.0.0.0:2470            0.0.0.0:*                           858/md380-emu       
udp        0      0 0.0.0.0:35275           0.0.0.0:*                           297/avahi-daemon: r 
udp        0      0 0.0.0.0:42010           0.0.0.0:*                           4569/P25Gateway     
udp        0      0 0.0.0.0:42011           0.0.0.0:*                           862/P25Parrot       
udp        0      0 0.0.0.0:42020           0.0.0.0:*                           4569/P25Gateway     
udp        0      0 0.0.0.0:41000           0.0.0.0:*                           859/P25Reflector    
udp        0      0 0.0.0.0:68              0.0.0.0:*                           535/dhcpcd          
udp        0      0 0.0.0.0:4180            0.0.0.0:*                           538/asterisk        
udp        0      0 192.168.0.188:123       0.0.0.0:*                           581/ntpd            
udp        0      0 127.0.0.1:123           0.0.0.0:*                           581/ntpd            
udp        0      0 0.0.0.0:123             0.0.0.0:*                           581/ntpd            
udp        0      0 0.0.0.0:48782           0.0.0.0:*                           6137/Analog_Bridge  
udp6       0      0 :::5353                 :::*                                297/avahi-daemon: r 
udp6       0      0 :::33596                :::*                                297/avahi-daemon: r 
udp6       0      0 :::546                  :::*                                535/dhcpcd          
udp6       0      0 fe80::1209:cda7:e2e:123 :::*                                581/ntpd            
udp6       0      0 2605:a601:ab19:5300:123 :::*                                581/ntpd            
udp6       0      0 ::1:123                 :::*                                581/ntpd            
udp6       0      0 :::123                  :::*                                581/ntpd            


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

Show me the output of netstat -unap

On 8/10/20 7:19 PM, Tom wrote:
Here's the MB log (nothing changes):
root@P25reflector:/var/log/mmdvm # tail MMDVM_Bridge-2020-08-10.log 
I: 2020-08-10 23:08:17.875 Loaded 169853 Ids to the DMR callsign lookup table
I: 2020-08-10 23:08:17.875 P25 RF Parameters
I: 2020-08-10 23:08:17.875 Started the DMR Id lookup reload thread
I: 2020-08-10 23:08:17.875     Id: 3148777
I: 2020-08-10 23:08:17.875     NAC: $293
I: 2020-08-10 23:08:17.875     UID Override: no
I: 2020-08-10 23:08:17.875     Self Only: no
I: 2020-08-10 23:08:17.875     Remote Gateway: no
I: 2020-08-10 23:08:17.875     Mode Hang: 10s
M: 2020-08-10 23:08:17.875 MMDVM_Bridge-20200309_V1.5.1 is running


Re: ASL to P25 bridge #analog_bridge

Tom
 

Here's the MB log (nothing changes):
root@P25reflector:/var/log/mmdvm # tail MMDVM_Bridge-2020-08-10.log 
I: 2020-08-10 23:08:17.875 Loaded 169853 Ids to the DMR callsign lookup table
I: 2020-08-10 23:08:17.875 P25 RF Parameters
I: 2020-08-10 23:08:17.875 Started the DMR Id lookup reload thread
I: 2020-08-10 23:08:17.875     Id: 3148777
I: 2020-08-10 23:08:17.875     NAC: $293
I: 2020-08-10 23:08:17.875     UID Override: no
I: 2020-08-10 23:08:17.875     Self Only: no
I: 2020-08-10 23:08:17.875     Remote Gateway: no
I: 2020-08-10 23:08:17.875     Mode Hang: 10s
M: 2020-08-10 23:08:17.875 MMDVM_Bridge-20200309_V1.5.1 is running


Re: ASL to P25 bridge #analog_bridge

Tom
 

Here's the AB log:
root@P25reflector:/var/log/dvswitch # tail Analog_Bridge.log 
M: 2020-08-10 23:16:48.838 PTT on
M: 2020-08-10 23:16:49.457 PTT off (keyed for 619 ms)
M: 2020-08-10 23:16:52.657 PTT on
M: 2020-08-10 23:17:00.249 PTT off (keyed for 7592 ms)
M: 2020-08-10 23:17:04.437 PTT on
M: 2020-08-10 23:17:05.041 PTT off (keyed for 604 ms)
M: 2020-08-10 23:17:11.037 PTT on
M: 2020-08-10 23:17:11.617 PTT off (keyed for 580 ms)
M: 2020-08-10 23:17:13.277 PTT on
M: 2020-08-10 23:17:18.407 PTT off (keyed for 5130 ms)


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

Same way, tail the AB and the MB log at the same time.

On 8/10/20 7:16 PM, Tom wrote:
I can show you AB log activity. How would you like to see MB activity?


Re: ASL to P25 bridge #analog_bridge

Tom
 

I can show you AB log activity. How would you like to see MB activity?


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

OK,
I need to see the traffic from ASL to AB to MB.

On 8/10/20 7:10 PM, Tom wrote:
Attached


Re: ASL to P25 bridge #analog_bridge

Tom
 

Attached


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

Show me clean startup logs for your current Analog_Bridge and MMDVM_Bridge.


On 8/10/20 7:04 PM, Tom wrote:
OK with me.


Re: ASL to P25 bridge #analog_bridge

Tom
 

OK with me.


Re: ASL to P25 bridge #analog_bridge

Tom
 

'Should have waited a bit. This shows the timeout in connecting to 10888.


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

We can work on the gateway after fixing AB <-> MB

On 8/10/20 6:59 PM, Tom wrote:
Attached


Re: ASL to P25 bridge #analog_bridge

Tom
 

Attached

2121 - 2140 of 9087