[asterisk-users] IAX2 Call rejected, CallToken Support required

Klaverstyn, David C
Fri, 02 Oct 2009 00:14:33 -0000

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...