pjsip: Add option global/regcontext

Added new global option (regcontext) to pjsip. When set, Asterisk will
dynamically create and destroy a NoOp priority 1 extension
for a given endpoint who registers or unregisters with us.

ASTERISK-25670 #close
Reported-by: Daniel Journo

Change-Id: Ib1530c5b45340625805c057f8ff1fb240a43ea62
This commit is contained in:
Daniel Journo
2016-01-10 22:22:12 +00:00
parent ef57080b27
commit 8182146e85
7 changed files with 91 additions and 0 deletions

View File

@@ -2028,6 +2028,17 @@ void ast_sip_unregister_supplement(struct ast_sip_supplement *supplement);
*/
char *ast_sip_get_debug(void);
/*!
* \brief Retrieve the global regcontext setting.
*
* \since 13.8.0
*
* \note returned string needs to be de-allocated by caller.
*
* \retval the global regcontext setting
*/
char *ast_sip_get_regcontext(void);
/*!
* \brief Retrieve the global endpoint_identifier_order setting.
*