aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanisavail.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-10 20:56:45 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-10 20:56:45 +0000
commit44abf0bbac9c9e29b548bf5850e39153f3647f9d (patch)
tree9ed66235ab8f2ed345f1023143544e1598d0b5d8 /apps/app_chanisavail.c
parent4221e76950af188abee8336dfc3cd5a2006b252a (diff)
clean up some application descriptions to use more gooder English
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7047 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanisavail.c')
-rwxr-xr-xapps/app_chanisavail.c26
1 files changed, 11 insertions, 15 deletions
diff --git a/apps/app_chanisavail.c b/apps/app_chanisavail.c
index acdc4d9f8..a2b1dbe0b 100755
--- a/apps/app_chanisavail.c
+++ b/apps/app_chanisavail.c
@@ -44,26 +44,22 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/devicestate.h"
#include "asterisk/options.h"
-static char *tdesc = "Check if channel is available";
+static char *tdesc = "Check channel availability";
static char *app = "ChanIsAvail";
-static char *synopsis = "Check if channel is available";
+static char *synopsis = "Check channel availability;
static char *descrip =
-" ChanIsAvail(Technology/resource[&Technology2/resource2...][|option]): \n"
-"Checks if any of the requested channels are available. \n"
-"If any of the requested channels are available, the dialplan will continue and:\n"
-" ${AVAILCHAN} will be set to the name of the available channel\n"
-" ${AVAILORIGCHAN} is the canonical channel name that was used to create the channel\n"
-" ${AVAILSTATUS} is the status code for the channel\n"
-"If the option 's' is specified (state), will consider channel unavailable\n"
-"when the channel is in use at all, even if it can take another call.\n"
-"If none of the requested channels are available, then:\n"
-" if the option 'j' is specified (jump), the application will jump to n+101\n"
-" if it exists, otherwise the call will terminate\n"
-" if the option 'j' is not specified the dialplan will continue and\n"
-" ${AVAILCHAN} will be empty\n";
+" 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"
+" Options:\n"
+" s - Consider the channel unavailable if the channel is in use at all\n"
+" j - Support jumping to priority n+101 if no channel is available\n";
STANDARD_LOCAL_USER;