[asterisk-bugs] [Asterisk 0017164]: [patch] ALL VERSIONS ! between two asterisks and peers authenticate as coincidental name invite

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 19 15:13:59 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17164 
====================================================================== 
Reported By:                tecnoxarxa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17164
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.2.7-rc1 
JIRA:                       SWP-1283 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-11 09:39 CDT
Last Modified:              2010-04-19 15:13 CDT
====================================================================== 
Summary:                    [patch] ALL VERSIONS ! between two asterisks and
peers authenticate as coincidental name invite
Description: 
If you use the same table for peers and friends, and valid for two asterisk
ip with a peer, when one calls another asterisk, should match the ID "name"
of a client friend, Asterisk does not allow the call.

.. if you look at the role realtime_peer (chan_sip.c) you can see a stupid
comment. That comment is not mine I swear!

Solution, looking for peer with ip and port first.

For comment: delete it.
====================================================================== 

---------------------------------------------------------------------- 
 (0120607) oej (manager) - 2010-04-19 15:13
 https://issues.asterisk.org/view.php?id=17164#c120607 
---------------------------------------------------------------------- 
This is why we have clearly documented that peers should have unique names
that doesn't collide with possible extensions or caller ID names - like mac
addresses. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-19 15:13 oej            Note Added: 0120607                          
======================================================================




More information about the asterisk-bugs mailing list