summaryrefslogtreecommitdiff
path: root/modules/account
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-28 17:38:04 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-28 17:38:04 +0100
commitdce37b83eaa6fd543664128bd75f680b418f0d41 (patch)
tree9223a421d42e7aba1ca21e1416e0f997444076dd /modules/account
parent9d0b0fec87691312ade86b4d330265b5ca59c997 (diff)
update account templates with new password syntax
Diffstat (limited to 'modules/account')
-rw-r--r--modules/account/account.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/account/account.c b/modules/account/account.c
index 25e4c40..74c047f 100644
--- a/modules/account/account.c
+++ b/modules/account/account.c
@@ -20,7 +20,7 @@
* Examples:
\verbatim
"User 1 with password prompt" <sip:user@domain.com>
- "User 2 with stored password" <sip:user:pass@domain.com>
+ "User 2 with stored password" <sip:user@domain.com>;auth_pass=pass
"User 2 with ICE" <sip:user@1.2.3.4;transport=tcp>;medianat=ice
"User 3 with IPv6" <sip:user@[2001:df8:0:16:216:6fff:fe91:614c]:5070>
\endverbatim
@@ -84,11 +84,13 @@ static int account_write_template(const char *file)
"#\n"
"# Examples:\n"
"#\n"
- "# <sip:user:secret@domain.com;transport=tcp>\n"
- "# <sip:user:secret@1.2.3.4;transport=tcp>\n"
- "# <sip:user:secret@"
+ "# <sip:user@domain.com;transport=tcp>"
+ ";auth_pass=secret\n"
+ "# <sip:user@1.2.3.4;transport=tcp>"
+ ";auth_pass=secret\n"
+ "# <sip:user@"
"[2001:df8:0:16:216:6fff:fe91:614c]:5070"
- ";transport=tcp>\n"
+ ";transport=tcp>;auth_pass=secret\n"
"#\n"
"#<sip:%s@%s>;auth_pass=%s\n", login, domain, pass);
if (r < 0)