Hi, I had a FWD account set up with asterisk (using SIP) and it was working fine both ways. I switched to IAX2 and now I can't get incoming calls from FWD. People who call my FWD number get a "480 - user is not online" message without any traffic reaching my box. I can call FWD numbers fine over IAX2. It seems fwd isn't trying to place the call over IAX2 because it thinks I'm not online. *CLI> iax2 show registry Host Username Perceived Refresh State 65.39.205.121:4569 xxxxxxx xxx.xxx.xxx.xxx:4569 60 Registered It looks like I'm registered though, and I can even call my own number fine. Other can't. :s Any suggestions? Anyone got something similar to work? Thanks, Guills
Guillaume
Check this good link:
http://www.freeworlddialup.com/advanced/iax
Here is my config that works:
************************************************************************************************************
iax.conf
register => 421058:password@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@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
<<Any suggestions? Anyone got something similar to work?>> Mondial Software Limited 020 7043 2795 www.mondialsoftware.com Click here to view our presentation of Cash Controller showing its forecasting and automated bank reconciliation features -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Chamberland-Larose, Guillaume Sent: January 28, 2005 7:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] FWD and IAX2 Hi, I had a FWD account set up with asterisk (using SIP) and it was working fine both ways. I switched to IAX2 and now I can't get incoming calls from FWD. People who call my FWD number get a "480 - user is not online" message without any traffic reaching my box. I can call FWD numbers fine over IAX2. It seems fwd isn't trying to place the call over IAX2 because it thinks I'm not online. *CLI> iax2 show registry Host Username Perceived Refresh State 65.39.205.121:4569 xxxxxxx xxx.xxx.xxx.xxx:4569 60 Registered It looks like I'm registered though, and I can even call my own number fine. Other can't. :s Any suggestions? Anyone got something similar to work? Thanks, Guills _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
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@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@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@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>