aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 19:04:45 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 19:04:45 +0000
commit92ac6820ee5bc6595e8e0b6f7e14fd6983146acc (patch)
tree7700cf1ff2f8a29dd724b11a624ddc8f57a199b5 /res
parent15d67c4bef332035bc5daf53e7669680428804c1 (diff)
"show application <foo>" changes for clarity.
(closes issue #11171, reported and patched by blitzrage) Many thanks! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89044 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c16
-rw-r--r--res/res_indications.c4
-rw-r--r--res/res_monitor.c14
-rw-r--r--res/res_musiconhold.c10
4 files changed, 22 insertions, 22 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 3e47f2e57..6aeb2b1ba 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -134,7 +134,7 @@ static char *registrar = "res_features"; /*!< Registrar for operations */
/* module and CLI command definitions */
static char *synopsis = "Answer a parked call";
-static char *descrip = "ParkedCall(exten):"
+static char *descrip = "ParkedCall(exten): "
"Used to connect to a parked call. This application is always\n"
"registered internally and does not need to be explicitly added\n"
"into the dialplan, although you should include the 'parkedcalls'\n"
@@ -144,14 +144,14 @@ static char *parkcall = "Park";
static char *synopsis2 = "Park yourself";
-static char *descrip2 = "Park():"
+static char *descrip2 = "Park(): "
"Used to park yourself (typically in combination with a supervised\n"
"transfer to know the parking space). This application is always\n"
"registered internally and does not need to be explicitly added\n"
"into the dialplan, although you should include the 'parkedcalls'\n"
"context (or the context specified in features.conf).\n\n"
"If you set the PARKINGEXTEN variable to an extension in your\n"
-"parking context, park() will park the call on that extension, unless\n"
+"parking context, Park() will park the call on that extension, unless\n"
"it already exists. In that case, execution will continue at next\n"
"priority.\n" ;
@@ -3107,12 +3107,14 @@ static int load_config(void)
static char *app_bridge = "Bridge";
static char *bridge_synopsis = "Bridge two channels";
static char *bridge_descrip =
-"Usage: Bridge(channel[|options])\n"
+"Usage: Bridge(channel[,options])\n"
" Allows the ability to bridge two channels via the dialplan.\n"
"The current channel is bridged to the specified 'channel'.\n"
-"The following options are supported:\n"
-" p - Play a courtesy tone to 'channel'.\n"
-"BRIDGERESULT dial plan variable will contain SUCCESS, FAILURE, LOOP, NONEXISTENT or INCOMPATIBLE.\n";
+" Options:\n"
+" p - Play a courtesy tone to 'channel'.\n"
+"This application sets the following channel variable upon completion:\n"
+" BRIDGERESULT The result of the bridge attempt as a text string, one of\n"
+" SUCCESS | FAILURE | LOOP | NONEXISTENT | INCOMPATIBLE\n";
enum {
BRIDGE_OPT_PLAYTONE = (1 << 0),
diff --git a/res/res_indications.c b/res/res_indications.c
index 237424502..ce6227dfc 100644
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -53,7 +53,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static const char config[] = "indications.conf";
char *playtones_desc=
-"PlayTones(arg): Plays a tone list. Execution will continue with the next step immediately,\n"
+" PlayTones(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"
@@ -408,7 +408,7 @@ static int load_module(void)
return AST_MODULE_LOAD_DECLINE;
ast_cli_register_multiple(cli_indications, sizeof(cli_indications) / sizeof(struct ast_cli_entry));
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");
+ ast_register_application("StopPlayTones", handle_stopplaytones, "Stop playing a tone list"," StopPlayTones(): Stop playing a tone list");
return AST_MODULE_LOAD_SUCCESS;
}
diff --git a/res/res_monitor.c b/res/res_monitor.c
index 048bcf156..ec770ea61 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -65,7 +65,7 @@ static unsigned long seq = 0;
static char *monitor_synopsis = "Monitor a channel";
-static char *monitor_descrip = "Monitor([file_format[:urlbase],[fname_base],[options]]):\n"
+static char *monitor_descrip = " Monitor([file_format[:urlbase],[fname_base],[options]]):\n"
"Used to start monitoring a channel. The channel's input and output\n"
"voice packets are logged to files until the channel hangs up or\n"
"monitoring is stopped by the StopMonitor application.\n"
@@ -85,9 +85,7 @@ static char *monitor_descrip = "Monitor([file_format[:urlbase],[fname_base],[opt
" administrator interface\n"
"\n"
" b - Don't begin recording unless a call is bridged to another channel\n"
-"\n"
" i - Skip recording of input stream (disables m option)\n"
-"\n"
" o - Skip recording of output stream (disables m option)\n"
"\nReturns -1 if monitor files can't be opened or if the channel is already\n"
"monitored, otherwise 0.\n"
@@ -95,23 +93,23 @@ static char *monitor_descrip = "Monitor([file_format[:urlbase],[fname_base],[opt
static char *stopmonitor_synopsis = "Stop monitoring a channel";
-static char *stopmonitor_descrip = "StopMonitor\n"
+static char *stopmonitor_descrip = " StopMonitor():\n"
"Stops monitoring a channel. Has no effect if the channel is not monitored\n";
static char *changemonitor_synopsis = "Change monitoring filename of a channel";
-static char *changemonitor_descrip = "ChangeMonitor(filename_base)\n"
- "Changes monitoring filename of a channel. Has no effect if the channel is not monitored\n"
+static char *changemonitor_descrip = " ChangeMonitor(filename_base):\n"
+ "Changes monitoring filename of a channel. Has no effect if the channel is not monitored.\n"
"The argument is the new filename base to use for monitoring this channel.\n";
static char *pausemonitor_synopsis = "Pause monitoring of a channel";
-static char *pausemonitor_descrip = "PauseMonitor\n"
+static char *pausemonitor_descrip = " PauseMonitor():\n"
"Pauses monitoring of a channel until it is re-enabled by a call to UnpauseMonitor.\n";
static char *unpausemonitor_synopsis = "Unpause monitoring of a channel";
-static char *unpausemonitor_descrip = "UnpauseMonitor\n"
+static char *unpausemonitor_descrip = " UnpauseMonitor():\n"
"Unpauses monitoring of a channel on which monitoring had\n"
"previously been paused with PauseMonitor.\n";
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 920c57c80..4e2df23ab 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -85,29 +85,29 @@ static char *set_moh_syn = "Set default Music On Hold class";
static char *start_moh_syn = "Play Music On Hold";
static char *stop_moh_syn = "Stop Playing Music On Hold";
-static char *play_moh_desc = "MusicOnHold(class): "
+static char *play_moh_desc = " MusicOnHold(class):\n"
"Plays hold music specified by class. If omitted, the default\n"
"music source for the channel will be used. Set the default \n"
"class with the SetMusicOnHold() application.\n"
"Returns -1 on hangup.\n"
"Never returns otherwise.\n";
-static char *wait_moh_desc = "WaitMusicOnHold(delay): "
+static char *wait_moh_desc = " WaitMusicOnHold(delay):\n"
"Plays hold music specified number of seconds. Returns 0 when\n"
"done, or -1 on hangup. If no hold music is available, the delay will\n"
"still occur with no sound.\n";
-static char *set_moh_desc = "SetMusicOnHold(class): "
+static char *set_moh_desc = " SetMusicOnHold(class):\n"
"Sets the default class for music on hold for a given channel. When\n"
"music on hold is activated, this class will be used to select which\n"
"music is played.\n";
-static char *start_moh_desc = "StartMusicOnHold(class): "
+static char *start_moh_desc = " StartMusicOnHold(class):\n"
"Starts playing music on hold, uses default music class for channel.\n"
"Starts playing music specified by class. If omitted, the default\n"
"music source for the channel will be used. Always returns 0.\n";
-static char *stop_moh_desc = "StopMusicOnHold: "
+static char *stop_moh_desc = " StopMusicOnHold(): "
"Stops playing music on hold.\n";
static int respawn_time = 20;