...
Each of these is configured using the Admin Web tool provided by FreePBX.
For more information about the configuration of FreePBX, please see the FreePBX wiki.
Trunks, chan_pjsip
First, you need to create a FreePBX Trunk for your Digium SIP Trunking account.
On the Connectivity -> Trunks page, select Add SIP (chan_pjsip) Trunk
To configure a Digium SIP Trunking account, make modifications to the following options:
...
Once the Trunk has been configured with these settings, click the Submit Changes button at the bottom of the screen and then, when it displays at the top of the screen, the red Apply Changes button.
Trunks, chan_sip
If you are not using chan_pjsip, you may instead create a FreePBX Trunk using chan_sip.
On the Connectivity -> Trunks page, select Add SIP (chan_sip) Trunk
...
Once the Trunk has been configured with these settings, click the Submit Changes button at the bottom of the screen and then, when it displays at the top of the screen, the red Apply Changes button.
Inbound Routes
Once a Trunk has been created, you should next create an Inbound Route in order to handle calls coming from Digium's SIP Trunking service to your FreePBX system.
To make these configuration changes, visit the Connectivity -> Inbound Routes page.
To configure a Digium SIP Trunking account, make modifications to the following options:
...
Once the Inbound Route has been configured with these settings, click the Submit Changes button at the bottom of the screen and then, when it displays at the top of the screen, the red Apply Changes button.
Outbound Routes
Once an Inbound Route has been created, you should next create an Outbound Route in order to send calls from internal extensions out to Digium's SIP Trunking service.
To make these configuration changes, visit the Connectivity -> Outbound Routes page.
To configure a Digium SIP Trunking account, make modifications to the following options:
...