summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-09-04 15:02:46 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-09-04 15:02:46 +0200
commit411f5dbf811c1b2c4fedc3070af828bcfbe3ec9a (patch)
treeffbeb0f0767513c0b6ace4c4ce42be0b2c009bab /modules
parent8abcfeb1486a093a07360c63ea65958e3daaa57d (diff)
remove ua_prm(), use ua_account() instead
Diffstat (limited to 'modules')
-rw-r--r--modules/mwi/mwi.c2
-rw-r--r--modules/presence/notifier.c2
-rw-r--r--modules/presence/subscriber.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/mwi/mwi.c b/modules/mwi/mwi.c
index 2b94131..4ce4a19 100644
--- a/modules/mwi/mwi.c
+++ b/modules/mwi/mwi.c
@@ -109,7 +109,7 @@ static int mwi_subscribe(struct ua *ua)
NULL, ua_aor(ua), "message-summary", NULL,
600, ua_cuser(ua),
routev, routev[0] ? 1 : 0,
- auth_handler, ua_prm(ua), true, NULL,
+ auth_handler, ua_account(ua), true, NULL,
notify_handler, close_handler, mwi,
"Accept:"
" application/simple-message-summary\r\n");
diff --git a/modules/presence/notifier.c b/modules/presence/notifier.c
index 387a9bc..7fc0a67 100644
--- a/modules/presence/notifier.c
+++ b/modules/presence/notifier.c
@@ -130,7 +130,7 @@ static int notifier_alloc(struct notifier **notp,
msg, NULL, se, 200, "OK",
600, 600, 600,
ua_cuser(not->ua), "application/pidf+xml",
- auth_handler, ua_prm(not->ua), true,
+ auth_handler, ua_account(not->ua), true,
sipnot_close_handler, not, NULL);
if (err) {
warning("presence: sipevent_accept failed: %m\n", err);
diff --git a/modules/presence/subscriber.c b/modules/presence/subscriber.c
index c3dfc28..596e592 100644
--- a/modules/presence/subscriber.c
+++ b/modules/presence/subscriber.c
@@ -239,7 +239,7 @@ static int subscribe(struct presence *pres)
err = sipevent_subscribe(&pres->sub, uag_sipevent_sock(), uri, NULL,
ua_aor(ua), "presence", NULL, 600,
ua_cuser(ua), routev, routev[0] ? 1 : 0,
- auth_handler, ua_prm(ua), true, NULL,
+ auth_handler, ua_account(ua), true, NULL,
notify_handler, close_handler, pres,
"%H", ua_print_supported, ua);
if (err) {