Follow

SIP Trunk Configuration - Asterisk

We recommend you create two trunk configurations for each SIP.US trunk to register to each of our servers at gw1.sip.us and gw2.sip.us. (gw1.sip.us is primary and gw2.sip.us is secondary)

 

Create the trunk name xxxxxxxxxxGWX where xxxxxxxxxx is your SIP.US trunk number and X is 1 for GW1 and 2 for GW2

Add the Peer Details(insert the number 1 or 2 for X in the host line and fromdomain line, insert the trunk number xxxxxxxxxx in the username line, insert the trunk password yyyyyyyyyyyy in the secret line):

type=peer
insecure=port,invite
host=gwX.sip.us
port=5060
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw
qualify=yes
qualifyfreq=30
nat=yes
trustrpid=yes
fromdomain=gwX.sip.us
username=xxxxxxxxxx
secret=yyyyyyyyyyyy
context=from-trunk
rfc2833compensate=yes
session-timers=refuse

 

Add the Register String (xxxxxxxxxx is your SIP.U trunk number, yyyyyyyyyyyy is the trunk password, and X is 1 for GW1 and 2 for GW2)

xxxxxxxxxx:yyyyyyyyyyyy@gwX.sip.us

Was this article helpful?
11 out of 27 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk