[Asterisk-Users] FWD and IAX2

Gonzalo Gasca xomeboy at yahoo.com
Fri Jan 28 23:10:14 MST 2005


Guillaume


Check this good link:

http://www.freeworlddialup.com/advanced/iax

Here is my config that works:

************************************************************************************************************

iax.conf

register => 421058:password at iax2.fwdnet.net  ;FWD Number 421058

[iaxfwd] ; inbound connections from FWD ;it has to be 'iaxfwd' or it won't work
type=user
auth=rsa
inkeys=freeworlddialup
disallow=all
allow=ulaw ; FWD only support ulaw
context=fwd-incoming

[fwd-gw] ; outbound connections to FWD
type=peer
auth=md5
secret=pantera
username=421058
qualify=yes
host=iax2.fwdnet.net
disallow=all
allow=ulaw
callerid="Gonzalo Gasca"<421058>


************************************************************************************************************

extensions.conf

;Free World Dialup
FWDUSERID=421058
FWDUSERNAME=Gonzalo Gasca
FWDGW=IAX2/421058 at fwd-gw


;***************************************************************************************************************************
;To Free World Dialup
;***************************************************************************************************************************
[fwd-users]
exten => _7.,1,SetCIDNum(${FWDUSERID})          ; To dial FWD I enter 7 first...
exten => _7.,2,SetCIDName(${FWDUSERNAME})
exten => _7.,3,Dial(${FWDGW}/${EXTEN:1},60,r)
exten => _7.,4,Hangup

;***************************************************************************************************************************
;From FWD
;***************************************************************************************************************************
[fwd-incoming]
;Incoming calls from FWD to ring SIP Extension 100
exten => _421058,1,Dial(SIP/100,20)
exten => _421058,2,Voicemail(u100)
exten => _421058,102,Voicemail(b100)
exten => _421058,103,Hangup


 

 

bye




		
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050129/876c0407/attachment.htm


More information about the asterisk-users mailing list