Notes here are for correctly installing and configuring FreePBX

 

Settings > Asterisk SIP Settings

Nat Settings

You need to configure depending upon your setup. For most customers that are using FreePBX behind a NAT (router) you should set Nat=yes and IP Configuration to Static IP

Enter your External IP and add your Local Networks For example

NAT?
   
IP Configuration?
  
External IP?
Local Networks?  / 
 
Audio Codecs

Codec should be set to alaw only.

Notification & MWI should be both set to No

Registration Settings (defaultexpiry) needs to be set to 3600

Allow Anonymous Inbound SIP Calls? Yes

SRV Lookup = Yes

Submit Changes

Under Connectivity > Trunks > Add SIP Trunk

Outgoing Settings

Trunk Name: NehosOut

PEER Details

host=sip.nehos.com.au
fromdomain=sip.nehos.com.au
username=XXXXXXXX
secret=xxxxxxxxx
type=peer

Incoming Settings

USER Context: NehosIn

secret=xxxxxxxxxx
type=user
context=from-trunk

Register String :

This sends a registration request to Nehos so we know what your public IP address is.

The format for the registration string is SIP_account_username:SIP_account_password@sip.nehos.com.au

For example

0731071900:pass12346djea32@sip.nehos.com.au

FreePBX current version v2.11
Asterisk least v10.12.2