[Home]

Summary:ASTERISK-01171: IAX.CONF parse error
Reporter:zoa (zoa)Labels:
Date Opened:2004-03-08 06:57:49.000-0600Date Closed:2011-06-07 14:04:44
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:in some circumstances, when trying to authenticate with a username xxx using iax2, the server doesnt check the pass for user xxx, but trys to check the pass for the last user in iax.conf (here blabla)

if i remove the last user in iax.conf it takes the new last users.

i'm running  Asterisk CVS-03/27/04-14:49:08 (stable branch)


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

  VERSION         : 2
  CALLED NUMBER   : 00359889811777
  CALLING NUMBER  : 35986820700
  CALLING NAME    : ATA186-1
  LANGUAGE        : en
  FORMAT          : 1024
  CAPABILITY      : 1024
  ADSICPE         : 2
  DATE TIME       : 141061385

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: AUTHREQ
  Timestamp: 00001ms  SCall: 00013  DCall: 00002 [xxx.xxx.xxx.xxx:4569]
  AUTHMETHODS     : 2
  CHALLENGE       : 145496312
  USERNAME        : blabla

Rx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: AUTHREP
  Timestamp: 00272ms  SCall: 00002  DCall: 00013 [xxx.xxx.xxx.xxx:4569]
  MD5 RESULT      : cfde491cedcbe17bf07ffa84d05494d1

Apr  5 12:37:23 NOTICE[147466]: chan_iax2.c:4689 socket_read: Host xxx.xxx.xxx.xxx failed to authenticate as blabla
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: REJECT
  Timestamp: 00276ms  SCall: 00013  DCall: 00002 [xxx.xxx.xxx.xxx:4569]
  CAUSE           : No authority found

Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: REJECT
  Timestamp: 00276ms  SCall: 00013  DCall: 00002 [xxx.xxx.xxx.xxx:4569]
  CAUSE           : No authority found
Comments:By: zoa (zoa) 2004-03-08 07:25:52.000-0600

It looks related to this... but its not as i have no dynamic hosts configured after that xxx host.
http://bugs.digium.com/bug_view_page.php?bug_id=0000484

By: Mark Spencer (markster) 2004-03-08 14:21:27.000-0600

In your trace, the username hasn't been specified.  It's up to the Asterisk server at the other end to select a user that it thinks you might want to authenticate as.

By: zoa (zoa) 2004-03-08 18:56:55.000-0600

just to be sure, the trace i showed was from the receiving server.
So you think the other party (asterisk i didnt control) did not send a username ?

Will try to check that out and reopen if that is not the case.
thnx.