AMP / Trixbox Setup

 
Setup an IAX2 trunk as follows (AMP)

 Outbound CallerID:  <your choice>
 Max Channels:  <leave blank>
 Dial Rules: 1+NXXNXXXXXX
 
 Trunk Name: <your choice>
 PEER Details:
 allow=ilbc              *** SEE NOTE ABOUT G729 BELOW ***
 disallow=all
 host=gw-iax2-01.delartecom.com
 notransfer=yes
 secret=<yoursecret>
 trunk=yes
 type=peer
 username=<youraccountcode>
 
 USER Context: from-dac  *** MANDATORY ***
 USER Details:
 allow=ilbc              *** SEE NOTE ABOUT G729 BELOW ***
 context=from-pstn
 disallow=all
 notransfer=yes
 trunk=yes
 type=user
 
 Registration
 Register String: <youraccountcode>:<yoursecret>@gw-iax2-01.delartecom.com
----------------------------------------------------------------------------

Note: Most SIP phones natively support the g729 codec.  You can avoid transcoding if you have g729 licenses installed on your asterisk box.  Change the 'allow' line in both sections to

allow=g729&ilbc

home

 

Links: voip-info.org  drmagu.com