ISSUE: Cannot hear when dialing direct extensions from external phone source.
I have noticed many similar support requests and searched the web extensively but have not identified a potential solution to this particular scenario. I hope to have provided enough info for my request. This seems to be a firewall issue, but after careful examination, I still have not identified the exact problem especially since some external calls work and others do not.
WHAT WORKS:
- Internal extension to extension.
End-user answers call and speaks/hears successfully. - External to IVR selection. Example, 1 for Customer Service, 2 for Maintenance, 3 for Billing.
End-user answers call and speaks/hears successfully. - Dialing out.
End-user makes call and speaks/hears successfully.
WHAT DOES NOT WORK:
- External to direct dial extension.
End-user answers call but cannot speak/hear. - External to IVR selection Ring Group, then forwarded to extension if Destination if no answer.
End-user answers call but cannot speak/hear.
To confirm existing issue, I modified Inbound Routes “from” Set Destination–>Time Conditions–>IVR “to” Set Destination–>Extensions–>user’s extension. Thus, an external call direct to extension (bypassing IVR) still has the same result… End-user answers call but cannot speak/hear.
CONFIGURATION:
Router/firewall – Public Static IP
Forwarded/NAT ports to FreePBX server: 5061 TCP/UDP (PJSIP TLS), 10000-20000 UDP (RTP for SIP)
FreePBX 14.0.5.25 Asterisk 13.22.0, Installed using full automation, fully updated at this posting
Inbound DID - Any, CID - Any, Destination - Time Conditions/IVR/Direct Dial enabled
All extensions using PJSIP
SIP trunks provided by SIPstation (quantity 3)
FreePBX firewall enabled using wizard
Asterisk Log Snippet (tail -f full)
[2019-03-16 11:41:37] VERBOSE[25798] res_pjsip/pjsip_options.c: Contact 100/sip: [email protected]:38892;transport=TLS;rinstance=743cbcddbac10b95 has been deleted
[2019-03-16 11:41:42] VERBOSE[20032] res_pjsip/pjsip_options.c: Contact 100/sip:[email protected]:38892;transport=TLS;rinstance=743cbcddbac10b95 is now Reachable. RTT: 511.265 msec
[2019-03-16 11:43:39] VERBOSE[20032] res_pjsip/pjsip_options.c: Contact 100/sip:[email protected]:38892;transport=TLS;rinstance=743cbcddbac10b95 has been deleted
[2019-03-16 11:43:39] VERBOSE[5691] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:38892;transport=TLS;rinstance=743cbcddbac10b95’ to AOR ‘100’ with expiration of 60 seconds
UPDATES:
After deleting the existing inbound route and creating a new inbound route, my previous confirmation test Set Destination–>Extensions–>user’s extension which originally failed, now works. End-user makes call and speaks/hears successfully.
Attempting the same with the IVR by deleting and creating a new IVR, Set Destination–>Extensions–>IVR still fails. End-user answers call but cannot speak/hear. Possible bug with IVR --> Extension ???
I built a new FreePBX server using the latest ISO download, updated all modules, and applied all system updates. Same behaviour as listed below. Seems to have issues with IVR transferring to Extensions. Confirmed behaviour on both server installs.
After additional attempts we now have:
WHAT WORKS:
- Internal extension to extension.
End-user answers call and speaks/hears successfully. - External to IVR selection. Example, 1 for Customer Service, 2 for Maintenance, 3 for Billing.
End-user answers call and speaks/hears successfully. - Dialing out.
End-user makes call and speaks/hears successfully. - External to direct dial extension.
End-user makes call and speaks/hears successfully.
WHAT DOES NOT WORK:
- External to IVR selection–>Extension or IVR selection–>Ring Group–>Extension on No Answer.
End-user answers call but cannot speak/hear.