Overview - FreePBX/Asterisk SIP Trunk Setup

Before adding the SIP Trunk to FreePBX, please make sure you have created an Extension and added it to your Phone.
Before you start you will need 2 things. Your SIP Trunk username and your password.

Setting Up the SIP Trunk

1. Login to your FreePBX Installation.  In the top menu go ConnectivityTrunks

2. Click on the Add Trunk button and select Add SIP (chan_sip) Trunk.

3. On the General tab give the trunk a name.

4. Click on the sip Settings tab and add the below details into the PEER Details text box. Make sure to update the username and password to the ones you got from the VoIP portal under SIP Trunks

Username= USERNAME
fromuser= USERNAME
secret= PASSWORD
host= voice.teltel.com.au
fromdomain= voice.teltel.com.au
type= friend
context= from-trunk
insecure= port,invite
trustrpid= yes
sendrpid= yes
qualify= no
dtmfmode= rfc2833
disallow= all
allow= alaw&ulaw

5. Click on the Incoming tab and enter the details below into the Register String. Make sure to update the username and password to the ones you got from the VoIPPortal.

USERNAME:SECRETPASSWORD@voice.teltel.com.au

6. Click the Apply Config button.