Hi guys, apologies if this has been posted before but I reviewed several threads and didn't find anything.
I've setup FreePBX on my raspberry pi connected to my node via my switch. Three pjsip extensions were created properly (101 is mine, 102 is my fathers KP4RGD and 103 another fellow hams). I tested first with Linphone, entered the SIP server settings and it was able to register fine on the PBX. Im connected to my fathers node via Tunnel, provided him with the SIP server and extension details. He's able to call me, it rings and able to pickup, but we get no audio. Same from within my side. I setup a Cisco SPA 502G which registered fine as well. Tried calls from there to my fathers extension and the same issue happens no audio. I went ahead and opened ports on my home router for 5060 and did so on my node as well (Dad did the same thing) and it still didn't work. Anything im missing here? I ran a tcpdump and its showing good as far as I can read. The goal here is to set this up as an example for the AREDN team in Puerto Rico setting their nodes up.
Thanks in advance!
Raul G. KN4FMO
I've setup FreePBX on my raspberry pi connected to my node via my switch. Three pjsip extensions were created properly (101 is mine, 102 is my fathers KP4RGD and 103 another fellow hams). I tested first with Linphone, entered the SIP server settings and it was able to register fine on the PBX. Im connected to my fathers node via Tunnel, provided him with the SIP server and extension details. He's able to call me, it rings and able to pickup, but we get no audio. Same from within my side. I setup a Cisco SPA 502G which registered fine as well. Tried calls from there to my fathers extension and the same issue happens no audio. I went ahead and opened ports on my home router for 5060 and did so on my node as well (Dad did the same thing) and it still didn't work. Anything im missing here? I ran a tcpdump and its showing good as far as I can read. The goal here is to set this up as an example for the AREDN team in Puerto Rico setting their nodes up.
Thanks in advance!
Raul G. KN4FMO
Maybe no matching CODECs?
I am running a rasPBX and am successful with registering and calling Grandstream GXP1630/1620 and Nortel 1535 phones.
Also linphone and GSWave softphones.
In Applications->Extensions[edit the extension with no audio] Advanced[Edit Extension] Ensure that there are no 'Disallowed Codecs'.
In Settings->Advanced Sip Settings->General SIP Settings[Audio Codecs] I have the ulaw, alaw, gsm, and g726 boxes enabled.
I hope this helps, Chuck
I remember this issue about 4 years ago with my Raspberry Pi PBX. I had to set the node with the PBX to port forward to 10000-20000 UDP in the Outside Port setup page with the IP address of the PBX. I'M not sure about the LAN port but I think I set it to the same?!?
Denis KD1HA
Raul,
I had a similar problem when I replaced my 2 year old RasPBX with the latest version. I think old version defaulted to SIP, new version defaults to PJSIP, which has a lot more settings. In the old version, I simply defined extensions and everything worked out of the box. With the latest version, after I defined the extensions I could place a call between extensions, but had no audio.
The extensions and RasPBX are all on the same LAN subnet with DHCP reservations, so not a NAT or routing issue.
I ran a Wireshark trace and found that the SIP packets flowed to set up the call between extensions, but when call was answered RasPBX told the phones to use an external address to route the RTP audio packets.
Go to 'Settings/Asterisk SIP Settings/General SIP Settings' and look under 'NAT Settings' for 'External Address' - it is probably 88.x.x.x.
Change that address to the IP of your RasPBX and try again.
That works for me because all my extensions and RasPBX are on the mesh.
It is more complicated if you have devices on the WAN.
Someone else may be able to provide assistance on how to properly set up NATing for that use case.
John K2QA
I was able to resolve the issue, after extensive research and port forwarding, I linked my node via tunnel directly to my fathers and after doing so we were able to get audio. Looks like something going on with the network on the original node I was running through tunnel. Thanks to everyone that pitched in!
73
KN4FMO