FreePBX (chan_pjsip) using SRV

Configuring Your PBX

So in order to receive calls, you need to either setup a bunch of SIP trunks for each of their IP addresses, or you use PJSIP as this was designed for multiple contacts.

Click Add Trunk and choose chan_pjsip
c5178c77-9e08-4a54-a24f-c0d2a33cbefa-image.png

Fill out the general info appropriately
2787a22c-bcc9-44fe-ad29-66f7e2ddf3ca-image.png

Move to the pjsip Settings tab.
Select none for both authenticaiton and registration.
Set the SIP server to term.skyetel.com
The port is 5060
The context is from-pstn-e164-us to strip the +1 from inbound NANPA CID. International CID still show correctly.
8be74e8c-0176-4b15-ab52-09fdff220f63-image.png

Hit the Advanced tab and scroll down to Match Permit
Enter this list of IP addresses: 52.41.52.34/32,52.8.201.128/32,52.60.138.31/32,50.17.48.216/32,35.156.192.164/32
69065cd4-f0d9-448d-9503-a060723e0640-image.png

Also on the Advanced tab, you need to change Trust RPID/PAI form No to Yes. As well as change Send RPID/Pai form No to Both.
679e7d43-fda1-4f7e-9f90-7b15fd1ebe1f-image.png

Finally hit the Codecs tab and select the codecs you want to use.
Skyetel supports g722, so it is good to enable for high quality audio.
7c7ddee7-533c-4e12-8b04-9ab7016d7ebe-image.png

Now log into your @Skyetel account, select your phone number(s), and click edit.

Right on the General tab you will see SIP Format.

47ca3cf1-432c-48f3-9ada-e155ea15453a-image.png

Click on the drop down and change it to +1NXXNXXXXXX and click save.

6372dc17-9170-4a80-b56c-78fedcf67f9b-image.png

Thanks Jared

The above guide was generously written by Jared B. We are very grateful for him writing this. You can see the source of this guide here.

 

Was this article helpful?
0 out of 0 found this helpful
Return to top