summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
committerJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
commitebe4050128fda79e5611e88c6dcd9621d38de599 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /pbx
parent8711a1dba761de5e72a32abb7aff656c423b5295 (diff)
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c4
-rw-r--r--pbx/pbx_config.c16
-rw-r--r--pbx/pbx_dundi.c30
3 files changed, 25 insertions, 25 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 20a0138b4..506c75184 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -1002,8 +1002,8 @@ static char *handle_cli_ael_reload(struct ast_cli_entry *e, int cmd, struct ast_
}
static struct ast_cli_entry cli_ael[] = {
- AST_CLI(handle_cli_ael_reload, "Reload AEL configuration"),
- AST_CLI(handle_cli_ael_debug_multiple, "Enable AEL debugging flags")
+ AST_CLI_DEFINE(handle_cli_ael_reload, "Reload AEL configuration"),
+ AST_CLI_DEFINE(handle_cli_ael_debug_multiple, "Enable AEL debugging flags")
};
static int unload_module(void)
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 80f64964f..9b112dc18 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1336,17 +1336,17 @@ static char *handle_cli_dialplan_reload(struct ast_cli_entry *e, int cmd, struct
* CLI entries for commands provided by this module
*/
static struct ast_cli_entry cli_pbx_config[] = {
- AST_CLI(handle_cli_dialplan_add_extension, "Add new extension into context"),
- AST_CLI(handle_cli_dialplan_remove_extension, "Remove a specified extension"),
- AST_CLI(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"),
- AST_CLI(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"),
- AST_CLI(handle_cli_dialplan_add_include, "Include context in other context"),
- AST_CLI(handle_cli_dialplan_remove_include, "Remove a specified include from context"),
- AST_CLI(handle_cli_dialplan_reload, "Reload extensions and *only* extensions")
+ AST_CLI_DEFINE(handle_cli_dialplan_add_extension, "Add new extension into context"),
+ AST_CLI_DEFINE(handle_cli_dialplan_remove_extension, "Remove a specified extension"),
+ AST_CLI_DEFINE(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"),
+ AST_CLI_DEFINE(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"),
+ AST_CLI_DEFINE(handle_cli_dialplan_add_include, "Include context in other context"),
+ AST_CLI_DEFINE(handle_cli_dialplan_remove_include, "Remove a specified include from context"),
+ AST_CLI_DEFINE(handle_cli_dialplan_reload, "Reload extensions and *only* extensions")
};
static struct ast_cli_entry cli_dialplan_save =
- AST_CLI(handle_cli_dialplan_save, "Save dialplan");
+ AST_CLI_DEFINE(handle_cli_dialplan_save, "Save dialplan");
/*!
* Standard module functions ...
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 989c07a92..afce62221 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -2866,21 +2866,21 @@ static char *dundi_show_precache(struct ast_cli_entry *e, int cmd, struct ast_cl
}
static struct ast_cli_entry cli_dundi[] = {
- AST_CLI(dundi_do_debug, "Enable DUNDi debugging"),
- AST_CLI(dundi_no_debug, "Disable DUNDi debugging"),
- AST_CLI(dundi_do_store_history, "Enable DUNDi historic records"),
- AST_CLI(dundi_no_store_history, "Disable DUNDi historic records"),
- AST_CLI(dundi_flush, "Flush DUNDi cache"),
- AST_CLI(dundi_show_peers, "Show defined DUNDi peers"),
- AST_CLI(dundi_show_trans, "Show active DUNDi transactions"),
- AST_CLI(dundi_show_entityid, "Display Global Entity ID"),
- AST_CLI(dundi_show_mappings, "Show DUNDi mappings"),
- AST_CLI(dundi_show_precache, "Show DUNDi precache"),
- AST_CLI(dundi_show_requests, "Show DUNDi requests"),
- AST_CLI(dundi_show_peer, "Show info on a specific DUNDi peer"),
- AST_CLI(dundi_do_precache, "Precache a number in DUNDi"),
- AST_CLI(dundi_do_lookup, "Lookup a number in DUNDi"),
- AST_CLI(dundi_do_query, "Query a DUNDi EID"),
+ AST_CLI_DEFINE(dundi_do_debug, "Enable DUNDi debugging"),
+ AST_CLI_DEFINE(dundi_no_debug, "Disable DUNDi debugging"),
+ AST_CLI_DEFINE(dundi_do_store_history, "Enable DUNDi historic records"),
+ AST_CLI_DEFINE(dundi_no_store_history, "Disable DUNDi historic records"),
+ AST_CLI_DEFINE(dundi_flush, "Flush DUNDi cache"),
+ AST_CLI_DEFINE(dundi_show_peers, "Show defined DUNDi peers"),
+ AST_CLI_DEFINE(dundi_show_trans, "Show active DUNDi transactions"),
+ AST_CLI_DEFINE(dundi_show_entityid, "Display Global Entity ID"),
+ AST_CLI_DEFINE(dundi_show_mappings, "Show DUNDi mappings"),
+ AST_CLI_DEFINE(dundi_show_precache, "Show DUNDi precache"),
+ AST_CLI_DEFINE(dundi_show_requests, "Show DUNDi requests"),
+ AST_CLI_DEFINE(dundi_show_peer, "Show info on a specific DUNDi peer"),
+ AST_CLI_DEFINE(dundi_do_precache, "Precache a number in DUNDi"),
+ AST_CLI_DEFINE(dundi_do_lookup, "Lookup a number in DUNDi"),
+ AST_CLI_DEFINE(dundi_do_query, "Query a DUNDi EID"),
};
static struct dundi_transaction *create_transaction(struct dundi_peer *p)