diff options
author | Daniel Journo <dan@keshercommunications.com> | 2016-01-10 22:22:12 +0000 |
---|---|---|
committer | Daniel Journo <dan@keshercommunications.com> | 2016-01-13 11:42:20 -0600 |
commit | 8182146e850515084056acc9f3d7b0b6534af44e (patch) | |
tree | 7734e9484e70291de87eb191cf3c9d8958c7971d /include/asterisk/res_pjsip.h | |
parent | ef57080b27cee39991a2bf501d6fadfe8bc61146 (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 0c8273283..1ff361f54 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -2029,6 +2029,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. |