Summary:ASTERISK-05395: wording defining peer/user in sip.conf.sample could be improved.
Reporter:Tommy McNeely (tommythekid)Labels:
Date Opened:2005-10-29 15:27:56Date Closed:2008-01-15 15:52:47.000-0600
Versions:Frequency of
Description:I got help from "file" on irc, but I think the wording should be updated.

...talking about whether a SIP gateway that is using * as a "backup pstn gateway"

[13:31:26] file[laptop] TommyTheKid: user is used when username/password authentication occurs, most companies don't do that
[13:31:43] file[laptop] TommyTheKid: peer is used when matching based on IP address, that's what most companies use


Here is a basic idea, should probably be improved upon.. I dont think a disclaimer is necessary for a "documentation rewording" :)

Fudge:~/CVS/asterisk/configs tommy$ cvs diff -u sip.conf.sample
Index: sip.conf.sample
RCS file: /usr/cvsroot/asterisk/configs/sip.conf.sample,v
retrieving revision 1.77
diff -u -r1.77 sip.conf.sample
--- sip.conf.sample     28 Oct 2005 16:00:09 -0000      1.77
+++ sip.conf.sample     29 Oct 2005 15:18:51 -0000
@@ -318,8 +318,8 @@
; Definitions of locally connected SIP phones
-; type = user  a device that calls us
-; type = peer  a device we place calls to
+; type = user  a device authenticates to us to place calls
+; type = peer  a device we place calls to or that calls us and we match by host
; type = friend two configurations (peer+user) in one
; For local phones, type=friend works most of the time
Comments:By: Darren Wiebe (darren) 2005-10-29 15:34:22

This would be nice as it explains it a little clearer.

By: Digium Subversion (svnbot) 2008-01-15 15:52:47.000-0600

Repository: asterisk
Revision: 6893

U   trunk/configs/sip.conf.sample

r6893 | markster | 2008-01-15 15:52:46 -0600 (Tue, 15 Jan 2008) | 2 lines

Cleanup language in sip.conf (bug ASTERISK-5395)