[Asterisk-Users] FWD and IAX2

Chamberland-Larose, Guillaume guillaume at ea.com
Tue Feb 1 11:25:06 MST 2005


Hi,
 
Just so others find it if they google. I got it to work, using the same
config I had before (similar to the one below), by going to the FWD web
page and removing my IAX2 account and creating it again. (By unchecking
the use IAX2 box, saving, checking it again and saving again)
 
Also, it seems it doesn't like me if I don't use trunk mode, or maybe I
just wasn't lucky when I tried. Everything works fine with trunk mode
now.
 
Thanks guys,
Guills



________________________________

	From: Gonzalo Gasca [mailto:xomeboy at yahoo.com] 
	Sent: Friday, January 28, 2005 10:10 PM
	To: Asterisk Users Mailing List - Non-Commercial Discussion
	Subject: Re: [Asterisk-Users] FWD and IAX2
	
	
	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'
<http://us.rd.yahoo.com/evt=30648/*http://movies.yahoo.com/movies/featur
e/jibjabinaugural.html> 





More information about the asterisk-users mailing list