summaryrefslogtreecommitdiff
path: root/res/res_pjsip_registrar.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2014-04-17 22:50:23 +0000
committerJoshua Colp <jcolp@digium.com>2014-04-17 22:50:23 +0000
commit1a9ff2fffbb8102751b20971a08df1453df60f98 (patch)
tree03c9baafa0a8c25e82cb3fc63dcee0106552a9d9 /res/res_pjsip_registrar.c
parentc76608f24b1561ae9faff484381433df06631713 (diff)
res_pjsip: Handle reloading when permanent contacts exist and qualify is configured.
This change fixes a problem where permanent contacts being qualified were not being updated. This was caused by the permanent contacts getting a uuid and not a known identifier, causing an inability to look them up when updating in the qualify code. A bug also existed where the new configuration may not be available immediately when updating qualifies. (closes issue ASTERISK-23514) Reported by: Richard Mudgett Review: https://reviewboard.asterisk.org/r/3448/ ........ Merged revisions 412551 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_registrar.c')
-rw-r--r--res/res_pjsip_registrar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_registrar.c b/res/res_pjsip_registrar.c
index 2eada0748..58f4b3214 100644
--- a/res/res_pjsip_registrar.c
+++ b/res/res_pjsip_registrar.c
@@ -159,7 +159,7 @@ static int registrar_prune_static(void *obj, void *arg, int flags)
return ast_tvzero(contact->expiration_time) ? CMP_MATCH : 0;
}
-/*! \brief Internal function used to delete all contacts from an AOR */
+/*! \brief Internal function used to delete a contact from an AOR */
static int registrar_delete_contact(void *obj, void *arg, int flags)
{
struct ast_sip_contact *contact = obj;