O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required