Name
SendURL() — Sets a variable to the specified value
Synopsis
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)
See Also
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.