[asterisk-bugs] [Asterisk 0013091]: IAX2 username is case-insensitive in registration, but case sensitive in dialing

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 16 09:06:36 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13091 
====================================================================== 
Reported By:                maniax
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13091
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-16-2008 09:06 CDT
Last Modified:              07-16-2008 09:06 CDT
====================================================================== 
Summary:                    IAX2 username is case-insensitive in registration,
but case sensitive in dialing
Description: 
If you have a username like 'tesT' in iax.conf, you will be able to
register it with 'Test', 'test', 'TEST', etc., but on the first call you'll
get:

[Jul 16 18:12:42] NOTICE[7465]: chan_iax2.c:7367 socket_process: Rejected
connect attempt from 10.0.2.231, who was trying to reach '102@'

In 'iax set debug' the username sent is plainly visible to be the right
one (when doing the registration and call attempt):

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
REGREQ
   Timestamp: 00005ms  SCall: 00009  DCall: 00008 [10.0.2.231:4569]
   USERNAME        : Test
   MD5 RESULT      : a38988ba83a9c28590f555b7c32ebf29

The iax.conf entry is this:

[tesT]
type=friend
secret=test
callerid="test"
disallow=all
allow=gsm
context=sipin
auth=md5
qualify=no
host=dynamic
transfer=no

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-08 09:06  maniax         Asterisk Version          => 1.4.19          
07-16-08 09:06  maniax         SVN Branch (only for SVN checkou => N/A          
  
======================================================================




More information about the asterisk-bugs mailing list