Asterisk / Manual Setup

 
Add the following to your /etc/asterisk/iax.conf file
** somewhere near the top add the register statement **

 register=<youraccountcode>:<yoursecret>@gw-iax2-01.delartecom.com

** Then further down add the following section
 [from-dac]
 type=friend
 host=gw-iax2-01.delartecom.com
 username=<youraccountcode>     ;; as provided by delarte
 secret=<yoursecret>            ;; as provided by delarte
 context=<your desired context> ;; context for incoming calls
 trunk=yes
 notransfer=yes
 disallow=all
 allow=g729       *** SEE NOTE ABOUT G729 BELOW ***
 allow=ilbc
** In your dial plan you place calls as in the example below **
 exten => _1NXXNXXXXXX,1,Dial(IAX2/from-dac/${EXTEN:1}) 

 exten => _NXXNXXXXXX,1,Dial(IAX2/from-dac/${EXTEN})

** If international service is activated **

 exten => _011X.,1,Dial(IAX2/from-dac/${EXTEN})
----------------------------------------------------------------------------

Note: Most SIP phones natively support the g729 codec.  This avoids transcoding if you have g729 licenses installed on your asterisk box.  If you do NOT HAVE g729 licenses, please DELETE the

allow=g729

line or your setup will not work.

home

 

Links: voip-info.org  drmagu.com