Outbound/Inbound Calls appear to complete, but no audio either direction

I’m testing a FreePBX install. I can make internal calls (extension to extension). However, inbound and outbound calls connect, but have no audio. I had a 3CX install working, but their call parking didn’t work for us.
I’ve tried a trial SIPSTATION trunk and a trial SIP us trunk, with the same results. No audio. I figure I’ve skipped some important step, but I’m not sure what or how to debug it.

PBX Version:16.0.19
PBX Distro:12.7.8-2204-1.sng7
Asterisk Version:16.25.0

If you have ringing and are able to connect signaling is likely fine and the RTP ports are the issue. Maybe track the traffic with a wireshark and/or set the SIP Debug on in asterisk and capture the logs.

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

FreePBX ports used: Ports used on your PBX - PBX Platforms - Documentation

The behavior is the same whether or not I block or forward ports 10000-20000.

Looking at the Asterisk Log Files, and filtering on ERROR:

3695 [2022-05-12 14:30:02] ERROR[6383] res_pjsip_header_funcs.c: No headers had been previously added to this session.
3696 [2022-05-12 14:33:10] ERROR[7813] config_options.c: Unable to load config file ‘cdr.conf’
3697 [2022-05-12 14:33:10] ERROR[7813] config_options.c: Unable to load config file ‘acl.conf’
3698 [2022-05-12 14:33:10] ERROR[7813] res_sorcery_config.c: Unable to load config file ‘pjproject.conf’
3699 [2022-05-12 14:33:10] ERROR[6383] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3700 [2022-05-12 14:33:10] ERROR[6383] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3701 [2022-05-12 14:33:10] ERROR[6383] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3702 [2022-05-12 14:33:11] ERROR[6383] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3703 [2022-05-12 14:33:11] ERROR[6383] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3704 [2022-05-12 14:33:11] ERROR[7813] config_options.c: Unable to load config file ‘resolver_unbound.conf’
3705 [2022-05-12 14:33:11] ERROR[7813] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
3706 [2022-05-12 14:33:11] ERROR[7813] res_sorcery_config.c: Unable to load config file ‘stir_shaken.conf’
3707 [2022-05-12 14:33:11] ERROR[7813] res_sorcery_config.c: Unable to load config file ‘stir_shaken.conf’
3708 [2022-05-12 14:33:11] ERROR[7813] res_sorcery_config.c: Unable to load config file ‘stir_shaken.conf’
3709 [2022-05-12 14:33:11] ERROR[7813] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
4195 [2022-05-12 14:35:58] ERROR[6383] res_pjsip_header_funcs.c: No headers had been previously added to this session.

(includes a rearranging of the outbound routes to try both trunks.)

I reiterate a full call log (using the linked instructions) and a Wireshark should give you your answer then. Likely faster than guessing.

A call log was sent to the pastebin with ID aace0d51
(I was checking for identifying info)

I’ll have to work on a wireshark log.

In Asterisk SIP Settings, confirm that External Address and Local Networks are correctly set. If you change these, after Submit and Apply Config you must restart Asterisk.

In your router/firewall, confirm that UDP ports 10000-20000 from any source address are forwarded to the LAN address of the PBX.

If you still have trouble, post make/model of router/firewall and any VoIP-related settings. Confirm that router has a public IP address on its WAN interface.

1 Like

That was it. Those were not set. After setting and applying etc, it works. Thanks Stewart1!

2 Likes

@comtech: thanks for your help too

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