[asterisk-bugs] [Asterisk 0011715]: Wrong matching of "type=friend" (but username mismatches!!)

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 9 10:12:57 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11715 
====================================================================== 
Reported By:                ibc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11715
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-09-2008 07:46 CST
Last Modified:              01-09-2008 10:12 CST
====================================================================== 
Summary:                    Wrong matching of "type=friend" (but username
mismatches!!)
Description: 
When there are both SIP "friend" and "peer" defined with same "host"
parameter the "friend" is matched in cases it shouldn't (incorrect From
username). It depends on the order "friend" and "peer" and defined in
"sip.conf".

This occurs as well using RealTime.
====================================================================== 

---------------------------------------------------------------------- 
 file - 01-09-08 10:12  
---------------------------------------------------------------------- 
It does make sense why this is happening the way it is. A friend entry
essentially creates both a user and peer entry, and in your case you are
making it create a peer entry that is almost (just different name) the same
as your own peer entry. When it goes to find an entry based on IP address
it grabs the peer listed last. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-09-08 10:12  file           Note Added: 0076557                          
======================================================================




More information about the asterisk-bugs mailing list