diff options
author | Kevin Harwell <kharwell@digium.com> | 2015-03-17 18:34:12 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2015-03-17 18:34:12 +0000 |
commit | 94fe4a91781e8f21936cb382c8ecedf1bead44c1 (patch) | |
tree | 946303852d6b9cc0f4884c3953cd522d825fd2a4 /res/res_pjsip_endpoint_identifier_ip.c | |
parent | 1f428f25f0ffdfbde3bb4f5bec4e0a219023e6f0 (diff) |
res_pjsip: Allow configuration of endpoint identifier query order
Updated some documentation stating that endpoint identifiers registered without
a name are place at the front of the lookup list. Also renamed register method
'ast_sip_register_endpoint_identifier_by_name' to
'ast_sip_register_endpoint_identifier_with_name'
ASTERISK-24840
Reported by: Mark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_endpoint_identifier_ip.c')
-rw-r--r-- | res/res_pjsip_endpoint_identifier_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_endpoint_identifier_ip.c b/res/res_pjsip_endpoint_identifier_ip.c index b97724e3f..5c6e2cc3e 100644 --- a/res/res_pjsip_endpoint_identifier_ip.c +++ b/res/res_pjsip_endpoint_identifier_ip.c @@ -491,7 +491,7 @@ static int load_module(void) ast_sorcery_object_field_register_custom(ast_sip_get_sorcery(), "identify", "match", "", ip_identify_match_handler, match_to_str, match_to_var_list, 0, 0); ast_sorcery_reload_object(ast_sip_get_sorcery(), "identify"); - ast_sip_register_endpoint_identifier_by_name(&ip_identifier, "ip"); + ast_sip_register_endpoint_identifier_with_name(&ip_identifier, "ip"); ast_sip_register_endpoint_formatter(&endpoint_identify_formatter); cli_formatter = ao2_alloc(sizeof(struct ast_sip_cli_formatter_entry), NULL); |