[Asterisk-Users] Failed IAX Connection

chawki hammoud cyhammoud at yahoo.com
Mon Aug 8 12:31:41 MST 2005


Hi:

I unseccessfuly tried to place a call from one IAX
behind a nat through another IAX with a real IP. I got
the following error message on Asterisk Console:

 Executing Dial("OSS/dsp", "IAX2/wassim/01)") in new
stack
    -- Called wassim/01)
Call rejected by 195.112.214.98: No such
context/extensionad:
    -- IAX2/wassim-1 is circuit-busy
Aug  8 10:13:38 NOTICE[21759]: chan_iax2.c:1556
iax2_destroy: Avoiding IAX destroy deadlock

Th context in IAX.conf behind the NAT is:

[wassim]
type=peer
host=xxx.xxx.xxx.xxx
context=default
username=chawki
secret=secret

And the extension context is:

exten => 01,1,Dial,IAX2/wassim/${EXTEN})


The IAX server with the real IP has the following
context in the IAX.conf file

[riad]
type=user
username=chawki
secret=secret
context=tele

And in the extensions.conf file, it has

[tele]
exten => 01,1,Answer
exten => 01,n,DeadAGI(astcc.agi)
exten => 01,n,Hangup

I don't know why the call is rejected and the
interpretation for the error: 

No such context/extensionad:

Regards;
Chawki


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



More information about the asterisk-users mailing list