No audio over WAN

So I have a PBX up and running and I’m registering phones remotely over the internet. I have ports 5060, 5160, and 10000-20000 open on the firewall. When I try to call an extension or say *43 I get no audio. From the logs it looks like the call goes through fine. Here is a sample output from the Asterisk log file. “WAN_ADDRESS” is the IP that my phone is located on and “192.168.1.48” is the phones LAN address.

[2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003583, ts 1024938288, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031285, ts 039680, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003584, ts 1024938448, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031286, ts 039840, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003585, ts 1024938608, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031287, ts 040000, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003586, ts 1024938768, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031288, ts 040160, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003587, ts 1024938928, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031289, ts 040320, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003588, ts 1024939088, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031290, ts 040480, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003589, ts 1024939248, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Sent RTP packet to 192.168.1.48:12110 (type 00, seq 031291, ts 040640, len 000160) [2020-08-25 22:00:25] VERBOSE[32003][C-000000f8] res_rtp_asterisk.c: Got RTP packet from WAN_ADDRESS:12110 (type 00, seq 003590, ts 1024939408, len 000160)

This seems to be an RTP issue.
Check under settings> sip settings, and verify external address is correct,
Also in the extension under advanced verify Nat is on

Enabling NAT at the extension level was the answer.

If you plan on using remote phones, consider setting NAT on a global level

I’m very confused. In your previous threads, you successfully used pjsip for your extensions, but this seems to be a chan_sip specific issue. pjsip uses the RTP Symmetric setting (on by default) to handle RTP from extensions behind NAT.

Did you switch to chan_sip? If so, why? If not, what did you mean by “NAT at the extension level”?

I have inherited a new FreePBX 13 system that used chan_sip. My previous threads were referring to a different PBX system. By “NAT at the extension level” I had to go into “Applications” -> “Extensions” -> “some extension” -> “Advanced” -> NAT mode = Yes. I have now enabled NAT globally for all extensions.

Check your other extensions. On some systems, that option only applies to newly created extensions.

I used the bulk handler to export all extensions then I updated the NAT setting in excel and re-imported the extensions.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.