summaryrefslogtreecommitdiff
path: root/configs/sip.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'configs/sip.conf.sample')
-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