34,251 FWD users online

Help

Knowledgebase

Search Knowledgebase

What changes do I need to make to my asterisk system?

You need to edit iax.conf and extensions.conf.

iax.conf

In the "[general]" section, please include register => FWDNUMBER:PASSWORD@iax2.fwdnet.net and make sure you set allow=ulaw

where
FWDNUMBER is replaced by your FWD number and PASSWORD is replaced by your FWD password

Also, add a section to allow iax2 calls from FWD

[iaxfwd]
type=user
context=fromiaxfwd
auth=rsa
inkeys=freeworlddialup

extensions.conf

Add some defintions to the [globals] section

;set IAX2 vars for FWD ; REPLACE THESE WITH YOUR SETTINGS
FWDNUMBER=MYFWDNUMBER ; your calling number
FWDCIDNAME="MyName"; your caller id
FWDPASSWORD=MYFWDPASSWORD ; your password
FWDRINGS=sip/office ; the phone to ring
FWDVMBOX=1000 ; the VM box for this user

and in the appropriate context add

exten => _393.,1,SetCallerId,${FWDCIDNAME}
exten => _393.,2,Dial(IAX2/${FWDNUMBER}
:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
exten => _393.,3,Congestion

(you can replace the 393 ['fwd'] with '8' or whatever prefix youd like to reach FWD.)

and define a context in which calls from fwd terminate:

[fromiaxfwd]
exten => ${FWDNUMBER},1,Dial(${FWDRINGS},20,r)
exten => ${FWDNUMBER},2,Voicemail,u${FWDVMBOX}
exten => ${FWDNUMBER},102,Voicemail,b${FWDVMBOX}

Don't forget to remove FWD's sip register command in sip.conf.

You will also need the freeworlddialup.pub key in your /var/lib/asterisk/keys/ directory. (If you installed from cvs after June 3, you probably have this file already.) If not, you can get it from this link.

Was this answer helpful?  Yes   No  


More Asterisk Topics