From 7422f0ee37ee3853778349708e04160af8f7669e Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Fri, 29 Feb 2008 18:34:46 +0000 Subject: [PATCH] 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 --- configs/sip.conf.sample | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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