summaryrefslogtreecommitdiff
path: root/src/account.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-12-30 23:28:38 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-12-30 23:28:38 +0100
commit63bb32c8eaf92ca816ed91e638acb714fb155d6a (patch)
tree4f313e863441fdec8e43b65ddd85ce4142a48ddc /src/account.c
parenta1e912235a55232327dd1b708aca25195a73a1f7 (diff)
account: password in SIP uri is now deprecated
<sip:user:password@domain.com> ^^^^^^^^ deprecated please use the "auth_pass" parameter instead: <sip:user@domain.com>;auth_pass=xxx
Diffstat (limited to 'src/account.c')
-rw-r--r--src/account.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/account.c b/src/account.c
index 2a99e58..d7ab9c0 100644
--- a/src/account.c
+++ b/src/account.c
@@ -388,6 +388,9 @@ int account_alloc(struct account **accp, const char *sipaddr)
/* optional password prompt */
if (pl_isset(&acc->laddr.uri.password)) {
+ warning("account: username:password is now deprecated"
+ " please use ;auth_pass=xxx instead\n");
+
err = re_sdprintf(&acc->auth_pass, "%H",
uri_password_unescape,
&acc->laddr.uri.password);