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

Klaverstyn, David C David.Klaverstyn at intergraph.com
Thu Oct 1 22:02:04 CDT 2009


I tried your recommendation.  I don't get an error with that but the
call is cancelled with a debug of:

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
AUTHREQ
   Timestamp: 00011ms  SCall: 00269  DCall: 00003 [192.168.25.250:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 182763616
   USERNAME        : priv

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL
   Timestamp: 00000ms  SCall: 00003  DCall: 00269 [192.168.25.250:4569]
Rx-Frame Retry[Yes] -- OSeqno: 001 ISeqno: 000 Type: IAX     Subclass:
HANGUP
   Timestamp: 04011ms  SCall: 00003  DCall: 00000 [192.168.25.250:4569]
   CAUSE CODE      : 0

-----Original Message-----
From: covici at ccs.covici.com [mailto:covici at ccs.covici.com] 
Sent: Friday, 2 October 2009 12:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; Klaverstyn,
David C
Subject: Re: [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



More information about the asterisk-users mailing list