[asterisk-bugs] [Asterisk 0015240]: IAX2 realtime username confusion
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Apr 29 10:20:51 CDT 2010
A NOTE has been added to this issue.
======================================================================
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-29 10: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.
======================================================================
----------------------------------------------------------------------
(0121156) timking (reporter) - 2010-04-29 10:20
https://issues.asterisk.org/view.php?id=15240#c121156
----------------------------------------------------------------------
Sorry this is old and it was a confusion on my part of what had to be in
the realtime database. Close it.
Issue History
Date Modified Username Field Change
======================================================================
2010-04-29 10:20 timking Note Added: 0121156
======================================================================
More information about the asterisk-bugs
mailing list