[asterisk-bugs] [Asterisk 0015240]: IAX2 realtime username confusion

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 28 15:20:08 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15240 
====================================================================== 
Reported By:                timking
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15240
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.5 
JIRA:                       SWP-277 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-01 07:05 CDT
Last Modified:              2010-04-28 15:20 CDT
====================================================================== 
Summary:                    IAX2 realtime username confusion
Description: 
With the realtime support in IAX there's confusion about what's in the
underlying database.
There's code to get at the peer name (which is sometimes described as the
username) in realtime_peer
var = ast_load_realtime("iaxpeers", "name", peername, "host", "dynamic",
SENTINEL);
but then in realtime_user we have
var = ast_load_realtime("iaxusers", "name", username, "host", "dynamic",
SENTINEL);

The effect is that when calling from a realtime * to another realtime, I
see lookups for the incoming call of the form select .. where name="Tim
King" while I think you mean select ... where name="123" as the fieldname
for the real name is username. I'm not sure whether its wrong on the caller
or on the callee.
====================================================================== 

---------------------------------------------------------------------- 
 (0121092) pabelanger (manager) - 2010-04-28 15:20
 https://issues.asterisk.org/view.php?id=15240#c121092 
---------------------------------------------------------------------- 
timking: Are you able to provide more information about this?  Which
document are you referring too? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-28 15:20 pabelanger     Note Added: 0121092                          
2010-04-28 15:20 pabelanger     Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list