September 2005
Intermediate to advanced
408 pages
16h 20m
English
SendURL() — Sets a variable to the specified value
SendURL(URL[,option])
Requests that the client go to the specified URL. If the client
does not support HTML transport, and there exists a priority n+101 (where n is the number of the current priority),
execution will continue at that step. Otherwise, execution will
continue at the next priority level.
Returns 0 if the URL was sent
correctly or if the channel does not support HTML transport;
otherwise, returns -1.
If the option wait is
specified, execution will wait for an acknowledgment that the URL has
been loaded before continuing and will return -1 if the peer is unable to load the
URL.
exten => 123,1,SendURL(www.asterisk.org,wait)