aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanisavail.c
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 /apps/app_chanisavail.c
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 'apps/app_chanisavail.c')
-rw-r--r--apps/app_chanisavail.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/app_chanisavail.c b/apps/app_chanisavail.c
index 18c97e849..b5c273690 100644
--- a/apps/app_chanisavail.c
+++ b/apps/app_chanisavail.c
@@ -55,14 +55,15 @@ static char *synopsis = "Check channel availability";
static char *descrip =
" ChanIsAvail(Technology/resource[&Technology2/resource2...][,options]): \n"
"This application will check to see if any of the specified channels are\n"
-"available. The following variables will be set by this application:\n"
-" ${AVAILCHAN} - the name of the available channel, if one exists\n"
-" ${AVAILORIGCHAN} - the canonical channel name that was used to create the channel\n"
-" ${AVAILSTATUS} - the status code for the available channel\n"
+"available.\n"
" Options:\n"
-" s - Consider the channel unavailable if the channel is in use at all\n"
+" s - Consider the channel unavailable if the channel is in use at all.\n"
" t - Simply checks if specified channels exist in the channel list\n"
-" (implies option s) \n";
+" (implies option s).\n"
+"This application sets the following channel variable upon completion:\n"
+" AVAILCHAN - the name of the available channel, if one exists\n"
+" AVAILORIGCHAN - the canonical channel name that was used to create the channel\n"
+" AVAILSTATUS - the status code for the available channel\n";
static int chanavail_exec(struct ast_channel *chan, void *data)