[Home]

Summary:ASTERISK-05607: Problem on routing a call between Asterisk-CVS-HEAD(from 18. Oct. 05) and Asterisk-1.2-rc2
Reporter:Hans-Peter Straub (hape)Labels:
Date Opened:2005-11-15 04:32:22.000-0600Date Closed:2005-12-12 19:53:21.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When do a call from the * 1.2-rc2 to the CVS-Version the call will be received propperly. Whe do a call from * CVS-Version to 1.2-rc2 then i get a message like "No authority found". I don't now what's wrong here. I've configured both sides with rsa-keys.

I add the iax2 debug message from the * 1.2-rc2 and the iax.conf's and the Dial-Extension to the Additional-Information.

****** ADDITIONAL INFORMATION ******

iax debug message:
-------------------------------
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
  Timestamp: 00009ms  SCall: 00002  DCall: 00000 [172.16.2.245:4569]
  VERSION         : 2
  CALLED NUMBER   : 100
  CODEC_PREFS     : (ulaw|alaw|gsm)
  CALLING NUMBER  : 58
  CALLING PRESNTN : 0
  CALLING TYPEOFN : 0
  CALLING TRANSIT : 0
  CALLING NAME    : 58
  LANGUAGE        : de
  CALLED CONTEXT  : local
  FORMAT          : 2
  CAPABILITY      : 63502
  ADSICPE         : 2
  DATE TIME       : 2005-11-15  11:08:10

Nov 15 11:08:10 NOTICE[21011]: chan_iax2.c:6772 socket_read: Rejected connect attempt from 172.16.2.245, who was trying to reach '100@local'
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT
  Timestamp: 00008ms  SCall: 00001  DCall: 00002 [172.16.2.245:4569]
  CAUSE           : No authority found
  CAUSE CODE      : 50

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
  Timestamp: 00008ms  SCall: 00002  DCall: 00001 [172.16.2.245:4569]


the iax.conf of * 1.2-rc2
-------------------------------
[general]
bindport=4569
bindaddr=172.16.2.2
disallow=all
allow=ulaw
allow=alaw
allow=gsm
mailboxdetail=yes
language=nl



[inetpartner]
type=friend
host=172.16.2.245
context=from-inetpartner
auth=rsa
inkey=voip-gate
outkey=hape




the iax.conf of * CVS-HEAD
-------------------------------
[general]
bindport = 4569
bindaddr = 172.16.2.245
disallow=all
allow=ulaw
allow=alaw
allow=gsm
mailboxdetail=yes
language=nl



[hape]
type=friend
host=172.16.2.2
context=from-hape
auth=rsa
inkey=hape
outkey=voip-gate


The Dial extension of * CVS-HEAD
-------------------------------
exten => _8XX,1,Dial(IAX2/hape/${EXTEN}@local)
exten => _8XX,2,Hangup
exten => _8XX,3,Congestion

Comments:By: Kevin P. Fleming (kpfleming) 2005-11-15 20:29:09.000-0600

Please re-run your test with 'set verbose 10' and 'set debug 10' in effect, along with 'iax2 debug', so we can see how the call is being handled. Thanks!

By: Mark Spencer (markster) 2005-11-16 13:36:52.000-0600

It is also important to specify the username you want to use to authenticate.

By: Kevin P. Fleming (kpfleming) 2005-12-12 19:53:02.000-0600

Closing due to lack of activity; if this still an issue for you with 1.2.1, please provide the requested traces so we can try to diagnose it.