From f94849ca2ac2371e0006d6b6c7a338d64e2f3583 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Fri, 6 Oct 2006 16:20:42 +0000 Subject: document the "contact" option a bit better. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/sip.conf.sample | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configs') diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 319d53e1a..7f706dbb3 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -187,6 +187,14 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; host is either a host name defined in DNS or the name of a section defined ; below. ; +; A similar effect can be achieved by adding a "contact" option in a peer section. +; this is equivalent to having the following line in the general section: +; +; register => username:secret@host/contact +; +; and more readable because you don't have to write the parameters in two places +; (note that the "port" is ignored - this is a bug that should be fixed). +; ; Examples: ; ;register => 1234:password@mysipprovider.com -- cgit v1.2.3