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

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jan 10 06:29:30 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-10-2008 06:29 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.
====================================================================== 

---------------------------------------------------------------------- 
 ibc - 01-10-08 06:29  
---------------------------------------------------------------------- 
> In your case because you are using insecure the peer entry can be
matched
> by the IP address.

In fact, in other scenario it occurs the same to me (with RealTime users)
I don't use "insecure" for peers but use an empty "secret". Maybe because
that the peer can be matched by IP ignoring the username? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-10-08 06:29  ibc            Note Added: 0076633                          
======================================================================




More information about the asterisk-bugs mailing list