aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_url.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 20:22:43 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 20:22:43 +0000
commit3812d38eb1938afda7e0ddbbba08175c092e3f65 (patch)
treec75c6c2ef77169cf87930bf46c55621bd3fc2e9b /apps/app_url.c
parent9f50b1447d85dd9ec5bfaba40d3da6f6fea41a58 (diff)
Fix documentation to reflect how Url() really works
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43445 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_url.c')
-rw-r--r--apps/app_url.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/apps/app_url.c b/apps/app_url.c
index 272c18928..a1f295a32 100644
--- a/apps/app_url.c
+++ b/apps/app_url.c
@@ -53,20 +53,18 @@ static char *descrip =
"Result is returned in the SENDURLSTATUS channel variable:\n"
" SUCCESS URL successfully sent to client\n"
" FAILURE Failed to send URL\n"
-" NOLOAD Clien failed to load URL (wait enabled)\n"
+" NOLOAD Client failed to load URL (wait enabled)\n"
" UNSUPPORTED Channel does not support URL transport\n"
"\n"
"If the option 'wait' is specified, execution will wait for an\n"
"acknowledgement that the URL has been loaded before continuing\n"
-"and will return -1 if the peer is unable to load the URL\n"
"\n"
-"Old behaviour (deprecated): \n"
-" If the client does not support Asterisk \"html\" transport, \n"
-" and there exists a step with priority n + 101, then execution will\n"
-" continue at that step.\n"
-" Otherwise, execution will continue at the next priority level.\n"
-" SendURL only returns 0 if the URL was sent correctly or if\n"
-" the channel does not support HTML transport, and -1 otherwise.\n";
+"If jumping is specified as an option (the 'j' flag), the client does not\n"
+"support Asterisk \"html\" transport, and there exists a step with priority\n"
+"n + 101, then execution will continue at that step.\n"
+"\n"
+"SendURL continues normally if the URL was sent correctly or if the channel\n"
+"does not support HTML transport. Otherwise, the channel is hung up.\n";
static int sendurl_exec(struct ast_channel *chan, void *data)