DIDWW SIP Trunks can be used with FreePBX for Inbound calls. The following guide will explain the steps necessary to configure the FreePBX.
This guide has been created with FreePBX Version 184.108.40.206.
What you need to get started:
Configuring Asterisk SIP Settings
Step 1. Click Settings on the top section, then select Asterisk SIP Settings from the dropdown menu.
Step 2. On the SIP Settings page, click on the SIP Settings [chan_pjsip] tab and enter the fields (Fig. 1):
Port to Listen On: your preferred port
Step 3. Complete configuration by clicking the Submit button on the bottom right side. Click on Apply Config located on the top right side.
Configuring the Inbound Trunk
Step 1. On the top menu of the Admin interface click Connectivity and select Trunks from the dropdown menu.
Step 2. In the Trunks window, click on Add Trunk, and select Add SIP (chan_pjsip) Trunk from the dropdown menu (Fig. 1).
Step 3. Enter your preferred Trunk name in Add Trunk window, under the General tab (Fig. 2).
Step 4. Navigate to pjsip Settings, General Tab, and fill out these fields (Fig. 3):
Authentication: None (Registration field will change to None accordingly)
SIP Server: all IP addresses separated by comma
SIP Server Port: your preferred port
Transport: 0.0.0.0-udp (instead of 0.0.0.0 FreePBX public IP can be displayed)
Optional authentication for SIP trunk can be enabled by selecting Inbound in Authentication and Receive in Registration fields, then entering trunk name as Auth user and Secret as Auth password in DIDWW SIP Inbound trunk configuration.
Step 5. Navigate to the Advanced tab of pjsip Settings and enter all IP addresses separated by a comma in Match (Permit) field (Fig. 4).
Step 6. Complete configuration by clicking the Submit button on the bottom right side.
Configuring the Inbound Route
Step 1. Navigate to the Connectivity section in the top menu. Select the Inbound Routes from the dropdown menu and a new page will pop up. Select Add Inbound Route (Fig. 1).
Step 2. On the Add Incoming Route page, enter your preferred Description, DID number (optional if you want to forward calls from a specific DID), and select Destination (Extension, Queues, Ring Groups, etc.) (Fig. 2).
To set Extension, Queue or Ring Group as Destination, firstly it needs to be configured in their designated pages, which can be located under the Applications section.
Step 3. Complete the configuration by clicking the Submit button on the bottom right side. Click on Apply Config located on the top right side.