Klaverstyn, David C
2009-Oct-02 00:14 UTC
[asterisk-users] IAX2 Call rejected, CallToken Support required
Hi All, I am using Asterisk 1.4.26.2 and I am getting the following problem making connections to this server. My other servers are Version 1.2.x which have no problems and this 1.4.26.2 server can call the other 1.2.x servers. The error is: chan_iax2.c:4251 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 192.168.25.250 in the calltokenignore list or setting user priv requirecalltoken=no I have seen posts that suggest using: calltokenoptional = 0.0.0.0/0.0.0.0 or calltokenignore=xxx.xxx.xxx.xxx Using the above cause asterisk not to display the error but nothing occurs in the CLI. If I enable debug I see the following with the option calltokenoptional = 0.0.0.0/0.0.0.0 in iax2.conf in the general section. On the sending Server Asterisk 1.2.x Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ Timestamp: 00007ms SCall: 01471 DCall: 00004 [192.168.42.251:4569] AUTHMETHODS : 3 CHALLENGE : 138954087 USERNAME : priv Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 00004 DCall: 01471 [192.168.42.251:4569] Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ Timestamp: 00010ms SCall: 03923 DCall: 00004 [192.168.42.251:4569] AUTHMETHODS : 3 CHALLENGE : 182789945 USERNAME : priv Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 00004 DCall: 03923 [192.168.42.251:4569] Tx-Frame Retry[000] -- OSeqno: 091 ISeqno: 076 Type: VOICE Subclass: 136 Timestamp: 1048584ms SCall: 00001 DCall: 00002 [192.168.22.251:4569] Oct 2 10:05:41 NOTICE[32273]: chan_iax2.c:2880 auto_congest: Auto-congesting call due to slow response -- IAX2/192.168.42.250:4569-4 is circuit-busy Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: HANGUP On the receiving Server Asteirsk 1.4.x Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ Timestamp: 00003ms SCall: 00657 DCall: 00002 [192.168.25.250:4569] AUTHMETHODS : 3 CHALLENGE : 152361611 USERNAME : priv Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 00002 DCall: 00657 [192.168.25.250:4569] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: HANGUP Timestamp: 04012ms SCall: 00002 DCall: 00000 [192.168.25.250:4569] CAUSE CODE : 0 I would really appreciate it if someone was able to give me an answer to this problem or at least point me in the right direction. Regards David. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091002/b10e3bdd/attachment.htm
covici at ccs.covici.com
2009-Oct-02 02:09 UTC
[asterisk-users] IAX2 Call rejected, CallToken Support required
I had a problem between my 1.6.0 server and a 1.4 server trying to call through iax and I just put requirecalltoken=no in the stanza and that fixed the problem. Klaverstyn, David C <David.Klaverstyn at intergraph.com> wrote:> Hi All, > > > > I am using Asterisk 1.4.26.2 and I am getting the following problem > making connections to this server. My other servers are Version 1.2.x > which have no problems and this 1.4.26.2 server can call the other 1.2.x > servers. > > > > The error is: > > chan_iax2.c:4251 handle_call_token: Call rejected, CallToken Support > required. If unexpected, resolve by placing address 192.168.25.250 in > the calltokenignore list or setting user priv requirecalltoken=no > > > > I have seen posts that suggest using: > > calltokenoptional = 0.0.0.0/0.0.0.0 > > or > > calltokenignore=xxx.xxx.xxx.xxx > > > > Using the above cause asterisk not to display the error but nothing > occurs in the CLI. If I enable debug I see the following with the > option calltokenoptional = 0.0.0.0/0.0.0.0 in iax2.conf in the general > section. > > > > > > On the sending Server Asterisk 1.2.x > > Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: > AUTHREQ > > Timestamp: 00007ms SCall: 01471 DCall: 00004 [192.168.42.251:4569] > > AUTHMETHODS : 3 > > CHALLENGE : 138954087 > > USERNAME : priv > > > > Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: > INVAL > > Timestamp: 00000ms SCall: 00004 DCall: 01471 [192.168.42.251:4569] > > Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: > AUTHREQ > > Timestamp: 00010ms SCall: 03923 DCall: 00004 [192.168.42.251:4569] > > AUTHMETHODS : 3 > > CHALLENGE : 182789945 > > USERNAME : priv > > > > Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: > INVAL > > Timestamp: 00000ms SCall: 00004 DCall: 03923 [192.168.42.251:4569] > > Tx-Frame Retry[000] -- OSeqno: 091 ISeqno: 076 Type: VOICE Subclass: > 136 > > Timestamp: 1048584ms SCall: 00001 DCall: 00002 > [192.168.22.251:4569] > > Oct 2 10:05:41 NOTICE[32273]: chan_iax2.c:2880 auto_congest: > Auto-congesting call due to slow response > > -- IAX2/192.168.42.250:4569-4 is circuit-busy > > Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: > HANGUP > > > > > > > > > > On the receiving Server Asteirsk 1.4.x > > Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: > AUTHREQ > > Timestamp: 00003ms SCall: 00657 DCall: 00002 [192.168.25.250:4569] > > AUTHMETHODS : 3 > > CHALLENGE : 152361611 > > USERNAME : priv > > > > Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: > INVAL > > Timestamp: 00000ms SCall: 00002 DCall: 00657 [192.168.25.250:4569] > > Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: > HANGUP > > Timestamp: 04012ms SCall: 00002 DCall: 00000 [192.168.25.250:4569] > > CAUSE CODE : 0 > > > > > > I would really appreciate it if someone was able to give me an answer to > this problem or at least point me in the right direction. > > > > Regards > > David. > > > > > ---------------------------------------------------- > Alternatives: > > ---------------------------------------------------- > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com