diff options
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/pbx.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 87a594c59..b4bec238e 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -588,7 +588,9 @@ int ast_context_remove_switch2(struct ast_context *con, const char *sw, * * \param context context to remove extension from * \param extension which extension to remove - * \param priority priority of extension to remove + * \param priority priority of extension to remove (0 to remove all) + * \param callerid NULL to remove all; non-NULL to match a single record per priority + * \param matchcid non-zero to match callerid element (if non-NULL); 0 to match default case * \param registrar registrar of the extension * * This function removes an extension from a given context. @@ -602,6 +604,13 @@ int ast_context_remove_extension(const char *context, const char *extension, int int ast_context_remove_extension2(struct ast_context *con, const char *extension, int priority, const char *registrar, int already_locked); +int ast_context_remove_extension_callerid(const char *context, const char *extension, + int priority, const char *callerid, int matchcid, const char *registrar); + +int ast_context_remove_extension_callerid2(struct ast_context *con, const char *extension, + int priority, const char *callerid, int matchcid, const char *registrar, + int already_locked); + /*! * \brief Add an ignorepat * |