summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-03-17 18:35:07 +0000
committerKevin Harwell <kharwell@digium.com>2015-03-17 18:35:07 +0000
commit803a916334363adcaf5b88bf16eb99d4c1d90dae (patch)
treea0b5e0c0aa6edc2890858fa39ac0668299929ca9 /include
parentaef7278af6ef0832b7b1a330d29a929b6c07c12d (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 ........ Merged revisions 433031 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_pjsip.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index a34c4b306..57c1a598d 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -793,8 +793,8 @@ void ast_sip_unregister_outbound_authenticator(struct ast_sip_outbound_authentic
* \retval 0 Success
* \retval -1 Failure
*/
-int ast_sip_register_endpoint_identifier_by_name(struct ast_sip_endpoint_identifier *identifier,
- const char *name);
+int ast_sip_register_endpoint_identifier_with_name(struct ast_sip_endpoint_identifier *identifier,
+ const char *name);
/*!
* \brief Register a SIP endpoint identifier
@@ -813,6 +813,10 @@ int ast_sip_register_endpoint_identifier_by_name(struct ast_sip_endpoint_identif
* be sure to load individual endpoint identifier modules in the order you wish
* for them to be run in modules.conf
*
+ * \note endpoint identifiers registered using this method (no name specified)
+ * are placed at the front of the endpoint identifiers list ahead of any
+ * named identifiers.
+ *
* \param identifier The SIP endpoint identifier to register
* \retval 0 Success
* \retval -1 Failure