[asterisk-bugs] [Asterisk 0018334]: Peer (type=peer) matching is wrong when several peers use one IP:port

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 6 13:58:17 CST 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18334 
====================================================================== 
Reported By:                boroda
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18334
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.14 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-19 04:55 CST
Last Modified:              2010-12-06 13:58 CST
====================================================================== 
Summary:                    Peer (type=peer) matching is wrong when several
peers use one IP:port
Description: 
I have D-Link DVG-2032 FXS SIP gateway. All ports are set to register as
separate users. For example, port 1 as user 100, 2 - 101, etc. D-Link uses
one udp port (5060) for all registrations.

If I set type=friend then asterisk matches correct peer.

I also tried to toggle match_auth_username - it makes no difference.
====================================================================== 

---------------------------------------------------------------------- 
 (0129353) lmadsen (administrator) - 2010-12-06 13:58
 https://issues.asterisk.org/view.php?id=18334#c129353 
---------------------------------------------------------------------- 
I believe this is the way matching is done when you set it to type=peer. As
you have found out I believe you need to use type=friend. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-06 13:58 lmadsen        Note Added: 0129353                          
2010-12-06 13:58 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list