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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 29 11:01:50 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-01 07:05 CDT
Last Modified:              2010-04-29 11:01 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0121172) pabelanger (manager) - 2010-04-29 11:01
 https://issues.asterisk.org/view.php?id=15240#c121172 
---------------------------------------------------------------------- 
Closing, was support related issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-29 11:01 pabelanger     Note Added: 0121172                          
2010-04-29 11:01 pabelanger     Status                   feedback => closed  
2010-04-29 11:01 pabelanger     Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list