[asterisk-bugs] [Asterisk 0016021]: [patch] sippeers loaded with realtime are treated as type=friends, no matter what type is in the db
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 24 16:47:05 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16021
======================================================================
Reported By: Guggemand
Assigned To: mmichelson
======================================================================
Project: Asterisk
Issue ID: 16021
Category: Channels/chan_sip/General
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-1353
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-10-05 12:28 CDT
Last Modified: 2010-05-24 16:47 CDT
======================================================================
Summary: [patch] sippeers loaded with realtime are treated as
type=friends, no matter what type is in the db
Description:
When using realtime sippeers the peers show up in both
sip show peer <name> load
sip show user <name> load
They are also matched by this code in chan_sip.c, even though they have
type=peer
/* First find devices based on username (avoid all type=peer's) */
peer = find_peer(of, NULL, TRUE, FINDUSERS, FALSE);
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0016320 [patch] Incorrect reloading of realtime...
======================================================================
----------------------------------------------------------------------
(0122340) svnbot (reporter) - 2010-05-24 16:47
https://issues.asterisk.org/view.php?id=16021#c122340
----------------------------------------------------------------------
Repository: asterisk
Revision: 265450
_U branches/1.6.2/
U branches/1.6.2/channels/chan_sip.c
------------------------------------------------------------------------
r265450 | mmichelson | 2010-05-24 16:47:04 -0500 (Mon, 24 May 2010) | 16
lines
Merged revisions 265449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r265449 | mmichelson | 2010-05-24 16:44:30 -0500 (Mon, 24 May 2010) | 11
lines
Allow type=user SIP endpoints to be loaded properly from realtime.
(closes issue https://issues.asterisk.org/view.php?id=16021)
Reported by: Guggemand
Patches:
realtime-type-fix.patch uploaded by Guggemand (license 897)
(altered by me slightly to avoid ref leaks)
Tested by: Guggemand
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=265450
Issue History
Date Modified Username Field Change
======================================================================
2010-05-24 16:47 svnbot Checkin
2010-05-24 16:47 svnbot Note Added: 0122340
======================================================================
More information about the asterisk-bugs
mailing list