FREEPBX SIP TRUNK CONFIGURATION
For creating a sip trunk between didforsale and your FreePBX system, first create a sip account from your didforsale account. For creating the sip account, log in to your didforsale dashboard, go to Interconnection > Manage SIP Accounts and then click Add New SIP Account button. Fill the details and click add. This will create a sip account in your didforsale account and send you an email to activate. You can use this sip account to create the sip trunk between didforsale and your FreePBX system.
For adding the SIP account to your FreePBX system, log in to your FreePBX, go to Connectivity, click trunks, then click Add SIP Trunks
Inside the Outgoing Settings, add the below parameters in the PEER Details box
secret=sip account password*
Also, add the register string as shown below
Save and Apply Config
For making outgoing calls using this trunk, go to Outbound Routes and create a new route. Select the trunk for this route as the newly created sip trunk
* Note – Please use the username, password and domain received via email after creating SIP account.