[asterisk-users] IAX2 - DualServer Problem

Mustafa Sakalsiz sakalsiz at gmail.com
Sat Aug 4 04:41:31 CDT 2007


Hi,

I have two asterisk servers and I want to make these servers call each
other as they were internal. I have succeeded in one way. Server B can
call Server A without problem, but Server A cannot call Server B.

Here's the iax configuration of servers

Server A:
==================
[ipek]
auth=rsa
context=from-internal
host=XXX.XXX.XXX.XXX
inkeys=ipek
outkey=odtu
peercontext=from-internal
type=friend
username=odtu

Server B:
==================
[odtu]
auth=rsa
context=from-internal
host=YYY.YYY.YYY.YYY
inkeys=odtu
outkey=ipek
peercontext=from-internal
type=friend
username=ipek

When I try to call from A to B, I hear a message saying "All circuits
are busy now, Please try again later", and also here's the iax2 debug
of Server A. I also tried to get debug output of Server B, when A is
calling, but failed. Server B doesn't create any debug output, when A
calls B.

Another issues is, both servers are behind nat, but the UDP 4569 port
is forwarded in each servers. I can connect to the servers with netcat
from outside. Ports are forwarded perfectly.

I am trying to overcome the issue for days, I am in a desperate
situation. Please help me.

Saki

Server A (IAX2 Debug)
================================================================
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
   Timestamp: 00013ms  SCall: 00003  DCall: 00000 [XXX.XXX.XXX.XXX:4569]
   VERSION         : 2
   CALLED NUMBER   : 214
   CODEC_PREFS     : (ulaw|alaw)
   CALLING NUMBER  : 105
   CALLING PRESNTN : 0
   CALLING TYPEOFN : 0
   CALLING TRANSIT : 0
   CALLING NAME    : 105
   LANGUAGE        : en
   CALLED CONTEXT  : from-internal
   USERNAME        : odtu
   FORMAT          : 4
   CAPABILITY      : 63500
   ADSICPE         : 2
   DATE TIME       : 2007-08-03  01:58:56

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
   Timestamp: 00013ms  SCall: 00003  DCall: 00000 [10.10.10.73:4569]
   VERSION         : 2
   CALLED NUMBER   : 214
   CODEC_PREFS     : (ulaw|alaw)
   CALLING NUMBER  : 105
   CALLING PRESNTN : 0
   CALLING TYPEOFN : 0
   CALLING TRANSIT : 0
   CALLING NAME    : 105
   LANGUAGE        : en
   CALLED CONTEXT  : from-internal
   USERNAME        : odtu
   FORMAT          : 4
   CAPABILITY      : 63500
   ADSICPE         : 2
   DATE TIME       : 2007-08-03  01:58:56

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT
   Timestamp: 00001ms  SCall: 00004  DCall: 00003 [10.10.10.73:4569]
   CAUSE           : No authority found
   CAUSE CODE      : 50

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT
   Timestamp: 00001ms  SCall: 00004  DCall: 00003 [88.248.2.48:4569]
   CAUSE           : No authority found
   CAUSE CODE      : 50

Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00001ms  SCall: 00003  DCall: 00004 [88.248.2.48:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00001ms  SCall: 00003  DCall: 00004 [10.10.10.73:4569]



More information about the asterisk-users mailing list