I got my asterisk box up this week with a TDM400 card and a sipgate account and everythings worked fine.
I decided to sign up for FWD and experiment with IAX, but I’ve had very limited success. I’ve been able to get it working fine via SIP and to avoid confusion, I removed everything from the config except that shown below:
iax.conf
[general]
bandwidth=low
jitterbuffer=no
forcejitterbuffer=no
tos=lowdelay
autokill=yes
register => 123456:password@iax2.fwdnet.net
[iaxfwd]
type=user
auth=rsa
inkeys=freeworlddialup
disallow=all
allow=ulaw
context=fwd-incoming
[fwd-gw]
type=peer
auth=md5
secret=password
username=123456
qualify=yes
host=iax2.fwdnet.net
disallow=all
allow=ulaw
extensions.conf
[fwd-incoming]
exten => 123456,1,Dial(Zap/2)
[internal] ; contect for FXS ports on TDP400 card
exten => _7.,1,Dial(IAX2/123456@fwd-gw/${EXTEN:1})
I see the following symptoms:
When I fire up asterisk I see the following error:
Oct 22 20:13:35 NOTICE[7212]: chan_iax2.c:7712 iax2_poke_noanswer: Peer ‘fwd-gw’ is now UNREACHABLE! Time: 0
If I run the command ‘iax2 show peers’ I see:
*CLI> iax2 show peers
Name/Username Host Mask Port Status
fwd-gw/123456 65.39.205.121 (S) 255.255.255.255 4569 UNREACHABLE
1 iax2 peers [0 online, 1 offline, 0 unmonitored]
I’m running asterisk on a box with an adsl modem, and am allowing all outbound traffic from the box (I can see packets being accepted outbound).
If I initiate a call I see the following at the cli:
-- Starting simple switch on 'Zap/2-1'
-- Executing Dial("Zap/2-1", "IAX2/123456@fwd-gw/61") in new stack
-- Called 123456@fwd-gw/61
Oct 22 20:37:12 NOTICE[7404]: chan_iax2.c:2770 auto_congest: Auto-congesting call due to slow response
– IAX2/fwd-gw-9 is circuit-busy
– Hungup ‘IAX2/fwd-gw-9’
== Everyone is busy/congested at this time (1:0/1/0)
– Hungup ‘Zap/2-1’
In case it’s important, I installed using CVS last Sunday.
Any comments would be welcome.
Cheers,
Chris