SIP-based
Configure FreePBX PJSIP Trunking with SIP based interconnection with DIDForSale. This configuration has been tested on FreePBX Version 14.0.5.2 'VoIP Server'
STEP 1: Login to your freepbx admin interface. Go to connectivity>Trunks> click on +Add Trunk option. Under that select ADD SIP(chan_pjsip) Trunk.
STEP 2: A new window will appear. Enter the Trunk Name as the Username given in the SIP account. Here, in the example we have call this trunk as “1002014358”. Refer the image below:
STEP 3: In the same window click on “pjsip Settings” tab and enter the parameters under the "General" as shown in example given below:
Username: 1002014358* Secret: 1(IPncKnZKC$9iX* Sip Server: sip.la5.didforsale.com*
* Note – Please use the username, password and domain received via email after creating SIP account.
Step 4:Go to "Advanced" and enter the "From Domain". Here in the example we use sip.la2.didforsale.com*
Step 5: Now go to Codecs section and check if the codecs are selected as shown in the figure below:
Routing Inbound Routes
Step 6:For routing your inbound calls coming on your DID number, click on inbound routes and configure the DID with prefix 1. Toll free numbers needs to be configured without 1. Say your DID is 949 885 9944 then you will configure the DID with 19498859944 in the inbound routes.. Here is the image for inbound setups:
Routing Outbound Routes
STEP 7: For routing your outbound calls. Go to connectivity> Outbound Routes. Click on Add Outbound Route button (as shown below).
STEP 8:You should be viewing the Route Setting tab. Under that, give the Route Name. Here, in the example we have call this route as “Outbound”. Enter the Route CID as shown in image below:
STEP 9: Click the Dial Patterns tab. Click Dial patterns wizards. In prefix enter “1” and for match pattern enter “NXXNXXXXXX”. For better understanding refer the following image:
Click on Submit button. Also press “APPLY CONFIG” button (on the top right corner).
Last updated