summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-10-06 16:20:42 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-10-06 16:20:42 +0000
commitf94849ca2ac2371e0006d6b6c7a338d64e2f3583 (patch)
treec90fb8d53e135cf6bd4cfa0d60ccac231ea421b0 /configs
parenta96afe5d6d786f2140d1364156b66d82d351a999 (diff)
document the "contact" option a bit better.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample8
1 files changed, 8 insertions, 0 deletions
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