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

2009-10-01 Thread covici
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.klavers...@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: 7ms  SCall: 01471  DCall: 4 [192.168.42.251:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 138954087
 
USERNAME: priv
 
  
 
 Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 4  DCall: 01471 [192.168.42.251:4569]
 
 Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass:
 AUTHREQ
 
Timestamp: 00010ms  SCall: 03923  DCall: 4 [192.168.42.251:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 182789945
 
USERNAME: priv
 
  
 
 Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 4  DCall: 03923 [192.168.42.251:4569]
 
 Tx-Frame Retry[000] -- OSeqno: 091 ISeqno: 076 Type: VOICE   Subclass:
 136
 
Timestamp: 1048584ms  SCall: 1  DCall: 2
 [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: 3ms  SCall: 00657  DCall: 2 [192.168.25.250:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 152361611
 
USERNAME: priv
 
  
 
 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 2  DCall: 00657 [192.168.25.250:4569]
 
 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass:
 HANGUP
 
Timestamp: 04012ms  SCall: 2  DCall: 0 [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
 cov...@ccs.covici.com

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


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

2009-10-01 Thread Klaverstyn, David C
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: 3 [192.168.25.250:4569]
   AUTHMETHODS : 3
   CHALLENGE   : 182763616
   USERNAME: priv

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

-Original Message-
From: cov...@ccs.covici.com [mailto:cov...@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.klavers...@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: 7ms  SCall: 01471  DCall: 4
[192.168.42.251:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 138954087
 
USERNAME: priv
 
  
 
 Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 4  DCall: 01471
[192.168.42.251:4569]
 
 Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass:
 AUTHREQ
 
Timestamp: 00010ms  SCall: 03923  DCall: 4
[192.168.42.251:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 182789945
 
USERNAME: priv
 
  
 
 Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 4  DCall: 03923
[192.168.42.251:4569]
 
 Tx-Frame Retry[000] -- OSeqno: 091 ISeqno: 076 Type: VOICE   Subclass:
 136
 
Timestamp: 1048584ms  SCall: 1  DCall: 2
 [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: 3ms  SCall: 00657  DCall: 2
[192.168.25.250:4569]
 
AUTHMETHODS : 3
 
CHALLENGE   : 152361611
 
USERNAME: priv
 
  
 
 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
 INVAL
 
Timestamp: 0ms  SCall: 2  DCall: 00657
[192.168.25.250:4569]
 
 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass:
 HANGUP
 
Timestamp: 04012ms  SCall: 2  DCall: 0
[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
 cov...@ccs.covici.com

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