Free SIP Trunk with IP Comms and Asterisk
First, install asterisk on your server
apt-get install asterisk
Edit sip.conf in /etc/asterisk directory to add a sip trunk.
Edit extensions.conf in /etc/asterisk directory to add a phone extension.
IP Comms Configuration
username= *Username*
secret= *secret*
type=friend
insecure=port,invite
host=2way.ipcomms.net
allow=ulaw
dtmfmode=rfc2833
directmedia=no
trustpid=yes
register => username:[email protected]/username
“What do I do if my asterisk server has a private IP Address in sip_nat.conf or Asterisk SIP Settings in freePBX”
externip=Your external IP
localnet = your local network/ subnet mask (Example: 192.168.1.0/255.255.255.0)
nat=yes