[asterisk-bugs] [Asterisk 0019194]: sip.conf.sample incorrectly describes types (peer/user/friend)
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jun 3 07:19:35 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19194
======================================================================
Reported By: obeliks
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19194
Category: Documentation
Reproducibility: always
Severity: text
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-04-27 14:03 CDT
Last Modified: 2011-06-03 07:19 CDT
======================================================================
Summary: sip.conf.sample incorrectly describes types
(peer/user/friend)
Description:
Could we update sip.conf.sample with proper description of what exactly the
difference between user and peer is? The current version also incorrectly
suggests using type=friend for "local SIP phones". This results in
confusion among users and software developers. E.g FreePBX uses type=friend
for extensions for "historical reasons". To make things worse using
friend/user allows extension enumeration w/INVITE packets. It would we nice
if we could hear an updated story from the horse's mouth which would clear
any perplexion that have been building over the years.
======================================================================
----------------------------------------------------------------------
(0135675) lmadsen (administrator) - 2011-06-03 07:19
https://issues.asterisk.org/view.php?id=19194#c135675
----------------------------------------------------------------------
I don't understand what you want, and it seems like the reporter has a
clearer understanding of what is "wrong".
type=user performs matching on the From head.
type=peer performs matching on the IP address.
type=friends is a combination of trying to match as a 'user' first, then
as a 'peer' second.
Suggesting that the use of type=friend is incorrect, is wrong.
Issue History
Date Modified Username Field Change
======================================================================
2011-06-03 07:19 lmadsen Note Added: 0135675
======================================================================
More information about the asterisk-bugs
mailing list