aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanisavail.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 22:01:22 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-07 22:01:22 +0000
commite61f71745fd8e4682e77917b4db4aeff62072e2c (patch)
treec9f258c1b931ee2e10d3e288b17ec6961440eaf1 /apps/app_chanisavail.c
parent25be1f3bc599f4752aab163844ebe75d9a471a42 (diff)
application doc update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanisavail.c')
-rwxr-xr-xapps/app_chanisavail.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/apps/app_chanisavail.c b/apps/app_chanisavail.c
index 957f4125a..10a377f01 100755
--- a/apps/app_chanisavail.c
+++ b/apps/app_chanisavail.c
@@ -52,16 +52,18 @@ static char *synopsis = "Check if channel is available";
static char *descrip =
" ChanIsAvail(Technology/resource[&Technology2/resource2...][|option]): \n"
-"Checks is any of the requested channels are available. \n"
-"If any of the requested channels are available, the next priority will be n+1,\n"
-"the channel variable ${AVAILCHAN} will be set to the name of the available channel\n"
-"and the ChanIsAvail app will return 0.\n"
-"${AVAILORIGCHAN} is the canonical channel name that was used to create the channel.\n"
-"${AVAILSTATUS} is the status code for the channel.\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 the option 'j' is specified (jump), the application will jump to n+101 \n"
-"(unless such a priority does not exist, in which case ChanIsAvail will return -1)\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";
STANDARD_LOCAL_USER;