diff options
author | Daniel Journo <dan@keshercommunications.com> | 2016-01-10 22:22:12 +0000 |
---|---|---|
committer | Daniel Journo <dan@keshercommunications.com> | 2016-01-11 22:42:57 +0000 |
commit | 22801a06ee26993db9ad26b39b83315de29410cb (patch) | |
tree | bd83aa831a51c31f3ca6cbb4e57d3be138fe849b /include/asterisk/res_pjsip.h | |
parent | 4b10fc917340bbbfe6222fa7c6131f004912879a (diff) |
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
Diffstat (limited to 'include/asterisk/res_pjsip.h')
-rw-r--r-- | include/asterisk/res_pjsip.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index 6ca56bdcf..1c33a5d46 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -2042,6 +2042,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. * * Specifies the order by which endpoint identifiers should be regarded. |