aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_indications.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 19:12:00 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 19:12:00 +0000
commit68c59a2d46a2d28d5f0280274e3d1b162623b0c7 (patch)
treeaf7db7da35762fa1e1ab215de1cc4580c048e9f1 /res/res_indications.c
parent116a391b62a9a0a46199033a5be2b4cbdf806630 (diff)
update help text (bug #3298)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4764 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_indications.c')
-rwxr-xr-xres/res_indications.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/res/res_indications.c b/res/res_indications.c
index b36906c2c..e998be582 100755
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -53,6 +53,14 @@ static char help_show_indications[] =
" Show either a condensed for of all country/indications, or the\n"
" indications for the specified countries.\n";
+char *playtones_desc=
+"PlayTone(arg): Plays a tone list. Execution will continue with the next step immediately,\n"
+"while the tones continue to play.\n"
+"Arg is either the tone name defined in the indications.conf configuration file, or a directly\n"
+"specified list of frequencies and durations.\n"
+"See indications.conf for a description of the specification of a tonelist.\n\n"
+"Use the StopPlaytones application to stop the tones playing. \n";
+
/*
* Implementation of functions provided by this module
*/
@@ -372,6 +380,7 @@ int unload_module(void)
return 0;
}
+
int load_module(void)
{
if (ind_load_module()) return -1;
@@ -379,7 +388,7 @@ int load_module(void)
ast_cli_register(&add_indication_cli);
ast_cli_register(&remove_indication_cli);
ast_cli_register(&show_indications_cli);
- ast_register_application("Playtones", handle_playtones, "Play a tone list","Play a tone list, either registered (through indications.conf) or a direct list of tones and durations.");
+ ast_register_application("Playtones", handle_playtones, "Play a tone list", playtones_desc);
ast_register_application("StopPlaytones", handle_stopplaytones, "Stop playing a tone list","Stop playing a tone list");
return 0;