Iax.conf

I need help setting up the outbound iax gateway. If someone with more experiences please could take a look at the message from asterisk and my config files.

asteriskCLI>
– Executing Dial(“SIP/202-8a15”, “IAX2/fwd-gw/555999”) in new stack
– Called fwd-gw/555999
– Call accepted by 192.246.69.186 (format ulaw)
– Format for call is ulaw
– IAX2/fwd-gw-3 is busy
– Hungup ‘IAX2/fwd-gw-3’
== Everyone is busy/congested at this time (1:1/0/0)
== Auto fallthrough, channel ‘SIP/202-8a15’ status is 'BUSY’
asterisk
CLI>

iax.conf
[fwd-gw]
type=peer
auth=md5
secret=secret
username=555555
qualify=yes
host=iax2.fwdnet.net
callerid=“The Flintstones Inc”<555555>

extention.conf
[globals]
FWDUSERID=555555
FWDUSERNAME=ksecret
FWDGW=IAX2/555555@fwd-gw

[incoming]
exten => 555555,1,Dial(SIP/200)

[internal]
exten => 200,1,Dial(SIP/200)
exten => 201,1,Dial(SIP/201)
exten => 202,1,Dial(SIP/202)
include => fwd-users

[fwd-users]
exten => _9.,1,Dial(IAX2/fwd-gw/${EXTEN:1})

i kind of gave up with FWD a while ago, it just never seemed to be working.

your config looks ok, i just tried a call to 613 (Echo Test) and got the same result as you effectively. on the fwd forums the most popular question seems to be “is FWD still broken ?”

Thank you for you answer.

To do furthermore testing I added extensions as follows, the 613 echo test do work. The other does not work, still busy.

As you I will therefore give up setting up the iax connection to fwd, I guess sip connection will work. Anyway I must ask the question.

Is there anyone that has a working outbound iax connection to fwd?

exten => _1XXX,1,Dial(IAX2/fwd-gw/${EXTEN:1})
exten => _2XXXXXX,1,Dial(IAX2/fwd-gw/${EXTEN:1})


asteriskCLI> iax2 show registry
Host Username Perceived Refresh State
192.246.69.186:4569 555555 83.108.132.253:4569 60 Registered
asterisk
CLI>

asterisk*CLI> iax2 show peers
Name/Username Host Mask Port Status
fwd-gw/555555 192.246.69.186 (S) 255.255.255.255 4569 OK (125 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]


asterisk*CLI>
– Executing Dial(“SIP/202-965b”, “IAX2/fwd-gw/613”) in new stack
– Called fwd-gw/613
– Call accepted by 192.246.69.186 (format ulaw)
– Format for call is ulaw
– IAX2/fwd-gw-1 is ringing
– IAX2/fwd-gw-1 answered SIP/202-965b
– Hungup ‘IAX2/fwd-gw-1’
== Spawn extension (internal, 1613, 1) exited non-zero on ‘SIP/202-965b’

asteriskCLI>
– Executing Dial(“SIP/202-a692”, “IAX2/fwd-gw/555999”) in new stack
– Called fwd-gw/555999
– Call accepted by 192.246.69.186 (format ulaw)
– Format for call is ulaw
– IAX2/fwd-gw-3 is busy
– Hungup ‘IAX2/fwd-gw-3’
== Everyone is busy/congested at this time (1:1/0/0)
== Auto fallthrough, channel ‘SIP/202-a692’ status is 'BUSY’
asterisk
CLI>