summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-06-20 23:26:07 +0000
committerSteve Murphy <murf@digium.com>2007-06-20 23:26:07 +0000
commit2462d5ab4f33278cd547c2142370090b70905578 (patch)
treecd8307c6ac2e57979dbecae087964e8b36697df8 /apps/app_dial.c
parent21c8795c1db585ad31136807367566d5a6ccf949 (diff)
Cleaning up a small disaster I created earlier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 7d92d6d8c..7ecf8eef1 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -224,10 +224,6 @@ static char *rdescrip =
" The 'dialargs' are specified in the same format that arguments are provided\n"
"to the Dial application.\n";
-static char *kapp = "KeepAlive";
-static char *ksynopsis = "DO NOT USE";
-static char *kdescrip = "";
-
enum {
OPT_ANNOUNCE = (1 << 0),
OPT_RESETCDR = (1 << 1),
@@ -1934,11 +1930,6 @@ static int retrydial_exec(struct ast_channel *chan, void *data)
return res;
}
-static int keepalive_exec(struct ast_channel *chan, void *data)
-{
- return AST_PBX_KEEPALIVE;
-}
-
static int unload_module(void)
{
int res;
@@ -1946,7 +1937,6 @@ static int unload_module(void)
res = ast_unregister_application(app);
res |= ast_unregister_application(rapp);
- res |= ast_unregister_application(kapp);
ast_module_user_hangup_all();
@@ -1972,7 +1962,6 @@ static int load_module(void)
res = ast_register_application(app, dial_exec, synopsis, descrip);
res |= ast_register_application(rapp, retrydial_exec, rsynopsis, rdescrip);
- res |= ast_register_application(kapp, keepalive_exec, ksynopsis, kdescrip);
return res;
}