I have seen this "No Authority Found" many times. Not sure what the
fix
was, I just kept playing with it until I got it working. I suggest
getting rid of the inkeys, auth=rsa, and adding a secret. Make the
username and passwords the same on both sides as well.
If that works, then you know something is wrong with your more advance
authentication mechanisms.
Thanks,
Steve Totaro
Mustafa Sakalsiz wrote:> 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]
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>