summaryrefslogtreecommitdiff
path: root/res/res_pjsip_endpoint_identifier_anonymous.c
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-03-17 18:20:01 +0000
committerKevin Harwell <kharwell@digium.com>2015-03-17 18:20:01 +0000
commit1f428f25f0ffdfbde3bb4f5bec4e0a219023e6f0 (patch)
tree93b517a5b917194bc31097990da4c249a47a39f4 /res/res_pjsip_endpoint_identifier_anonymous.c
parent522f0631863fb4ddf6337ecbdbf9b56c92eb757f (diff)
res_pjsip: Allow configuration of endpoint identifier query order
This patch fixes previously reverted code that caused binary incompatibility problems with some modules. And like the original patch it makes sure that no matter what order the endpoint identifier modules were loaded, priority is given based on the ones specified in the new global 'endpoint_identifier_order' option. ASTERISK-24840 Reported by: Mark Michelson Review: https://reviewboard.asterisk.org/r/4489/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_endpoint_identifier_anonymous.c')
-rw-r--r--res/res_pjsip_endpoint_identifier_anonymous.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_endpoint_identifier_anonymous.c b/res/res_pjsip_endpoint_identifier_anonymous.c
index a7956b589..f191d99cf 100644
--- a/res/res_pjsip_endpoint_identifier_anonymous.c
+++ b/res/res_pjsip_endpoint_identifier_anonymous.c
@@ -110,7 +110,7 @@ static int load_module(void)
{
CHECK_PJSIP_MODULE_LOADED();
- ast_sip_register_endpoint_identifier(&anonymous_identifier);
+ ast_sip_register_endpoint_identifier_by_name(&anonymous_identifier, "anonymous");
return AST_MODULE_LOAD_SUCCESS;
}