mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user