[Asterisk-Users] RE: IAX2 calls failing one way

Gene Willingham gwillingham at comcast.net
Thu Dec 23 12:29:33 MST 2004


I received this before, and it is because you are using the wrong context in
the iax.conf.

For example:

The context must match the username in the register statement.

Iax.conf...

register => username:secret at iax.host.net

[username]
type=friend
context=iax-in
user=username
secret=secret
auth=plaintext
host=iax.hust.net



----------------------------------------------------------------

Message: 1
Date: Thu, 23 Dec 2004 17:55:29 +0000
From: Mike Dent <mcdent at gmail.com>
Subject: [Asterisk-Users] IAX2 calls failing one way.
To: Asterisk Users Mailing List - Non-Commercial Discussion
	<asterisk-users at lists.digium.com>
Message-ID: <9e769e4e041223095564d9e749 at mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

Hi,
I'm having trouble getting IAX calls through in one direction. On the
receiving end I see:-

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
   Timestamp: 00014ms  SCall: 00001  DCall: 00000 [1.142.164.215:4569]
   VERSION         : 2
   CALLED NUMBER   : 2003
   CALLING NUMBER  : dave
   CALLING NAME    : Dave Smith
   LANGUAGE        : en
   CALLED CONTEXT  : from-dave
   USERNAME        : g6crv
   FORMAT          : 2
   CAPABILITY      : 65283
   ADSICPE         : 2
   DATE TIME       : 160927376

Dec 23 17:52:34 NOTICE[98310]: chan_iax2.c:5390 socket_read: Rejected
connect attempt from 1.142.164.215
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00003ms  SCall: 00001  DCall: 00001 [1.142.164.215:4569]
   CAUSE           : No authority found

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00003ms  SCall: 00001  DCall: 00001 [1.142.164.215:4569]

I have a context in extensions.conf called [from-dave]

Any clues as to why this is failing?
thanks
Mike






More information about the asterisk-users mailing list