We are transitioning from Chan_SIP to PJSIP and we use Flowroute as the SIP provider.
All our extensions are PJSIP (converted from Chan_SIP)
Added PJSIP Trunk based on the recommended settings from Flowroute https://support.flowroute.com/895670-FreePBX-PJSIP-Trunk-Setup
We use port 5060 for PJSIP and 5160 for Chan_SIP
Outbound calls work fine but I can’t get the inbound calls to work. When I make an inbound call, I get the message “The number you have dialed is not in service”. We have all the Flowroute’s IP addresses (188.8.131.52/28,184.108.40.206/28,220.127.116.11/28,18.104.22.168/28) in the intrusion detection whitelist and in our router’s firewall exception.
I also tried recommendations from this post: HOW TO - Flowroute Trunk with Proper Use of IP Auth and new PoPs
If I disable our Flowroute PJSIP trunk and enable the Flowroute Chan_SIP trunk then all inbound calls work just fine with all PJSIP extensions. So this tells me that there may be a setting in the PJSIP trunk that I am just missing but I just can’t figure which one. The settings are all correct per Flowroute’s recommendations. I want to see if I can get any help from someone who got everything working and maybe tell me if there is something I am missing. Any help is appreciated.
Here is a screenshot of the PJSIP trunk settings.
Asterisk SIP Settings: