Fix documentation to reflect how Url() really works

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-09-21 20:22:43 +00:00
parent c708dee67a
commit f0fdf0acf9

View File

@@ -53,20 +53,18 @@ static char *descrip =
"Result is returned in the SENDURLSTATUS channel variable:\n" "Result is returned in the SENDURLSTATUS channel variable:\n"
" SUCCESS URL successfully sent to client\n" " SUCCESS URL successfully sent to client\n"
" FAILURE Failed to send URL\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" " UNSUPPORTED Channel does not support URL transport\n"
"\n" "\n"
"If the option 'wait' is specified, execution will wait for an\n" "If the option 'wait' is specified, execution will wait for an\n"
"acknowledgement that the URL has been loaded before continuing\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" "\n"
"Old behaviour (deprecated): \n" "If jumping is specified as an option (the 'j' flag), the client does not\n"
" If the client does not support Asterisk \"html\" transport, \n" "support Asterisk \"html\" transport, and there exists a step with priority\n"
" and there exists a step with priority n + 101, then execution will\n" "n + 101, then execution will continue at that step.\n"
" continue at that step.\n" "\n"
" Otherwise, execution will continue at the next priority level.\n" "SendURL continues normally if the URL was sent correctly or if the channel\n"
" SendURL only returns 0 if the URL was sent correctly or if\n" "does not support HTML transport. Otherwise, the channel is hung up.\n";
" the channel does not support HTML transport, and -1 otherwise.\n";
static int sendurl_exec(struct ast_channel *chan, void *data) static int sendurl_exec(struct ast_channel *chan, void *data)