FWD with IAX


#1

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


#2

I thought I’d try re-adding the demo entry from the sample extensions.conf:

exten => 5000,1,Dial(IAX2/guest@misery.digium.com/s@default)

This IAX connection worked fine, it makes it look like FWD???

Chris


#3

I am having the exact same problem? Maybe somthing wrong with fwd?


#4

Yeah, FWD has been down more than up for a while, but I have only been registering on Iax. I would just try to use fwd w/ sip. Some people say that fwd on sip isn’t down as much. I’ve gotten so used to it being down I have it as a last resort for toll free calls only.

Phil A.


#5

Sorry for the delay in responding; they confirmed they rebooted their IAX server last week and it seemed to be OK after then. Prior to the reboot, when I ran ‘iax2 show peers’ I normally saw latency of ~1s; however when the rebooted it it went right down to around ~30ms.

Based on the comments here and elsewhere, I’ve now switched to SIP also!

Cheers,
Chris