[asterisk-bugs] [Asterisk 0016021]: 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 Oct 5 12:28:01 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16021 
====================================================================== 
Reported By:                Guggemand
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16021
Category:                   Resources/res_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.6 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-05 12:28 CDT
Last Modified:              2009-10-05 12:28 CDT
====================================================================== 
Summary:                    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);

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-05 12:28 Guggemand      New Issue                                    
2009-10-05 12:28 Guggemand      Asterisk Version          => 1.6.1.6         
2009-10-05 12:28 Guggemand      Regression                => No              
2009-10-05 12:28 Guggemand      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list