From: Joshua Colp Date: Fri, 29 Feb 2008 18:34:46 +0000 (+0000) Subject: Add documentation for setting username/password in SIP dial string. X-Git-Tag: 1.6.0-beta7~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7422f0ee37ee3853778349708e04160af8f7669e;p=thirdparty%2Fasterisk.git Add documentation for setting username/password in SIP dial string. (closes issue #11587) Reported by: sobomax Patches: dialstring_doc.diff uploaded by sobomax (license 359) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105378 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index df7f1a27d9..df18aea122 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -7,7 +7,7 @@ ; syntaxes for dialing SIP devices. ; SIP/devicename ; SIP/username@domain (SIP uri) -; SIP/username@host:port +; SIP/username[:password[:md5secret[:authname]]]@host[:port] ; SIP/devicename/extension ; ; @@ -24,6 +24,15 @@ ; where the proxyhostname is defined in a section below ; This syntax also works with ATA's with FXO ports ; +; SIP/username[:password[:md5secret[:authname]]]@host[:port] +; This form allows you to specify password or md5secret and authname +; without altering any authentication data in config. +; Examples: +; +; SIP/*98@mysipproxy +; SIP/sales:topsecret::account02@domain.com:5062 +; SIP/12345678::bc53f0ba8ceb1ded2b70e05c3f91de4f:myname@192.168.0.1 +; ; All of these dial strings specify the SIP request URI. ; In addition, you can specify a specific To: header by adding an ; exclamation mark after the dial string, like