Enter your credentials.
Select the "Connectivity" tab, then click on "Trunks" from the drop-down menu.
Click on the "+ Add Trunk" drop-down menu, then choose the "+ Add SIP (chan_pjsip) Trunk" option.
Switch over to the "Dialed Number Manipulation Rules" tab.
Add the rules below:
North American dialing rule w/ prepend:
North American dialing rule:
911 rule:
922 rule (Test dial of 911):
988 rule:
International dialing rule:
Switch over to the "pjsip Settings" tab.
Enter the following:
Switch over to the "Codecs" sub-section.
Set the following codecs in this order:
Click on "Submit" when you are finished.
After that, select "Apply Config" to reload FreePBX and finalize your changes.