Synopsis:
Send a URL
Description:
SendURL(URL[|option])
Requests client go to URL. If the client does not support html transport, and there exists a step with
priority n + 101, then execution will continue at that step. Otherwise, execution will continue at the next priority level.
If the option ‘wait’ is specified, execution will wait for an acknowledgement that the URL has been loaded before continuing and will return -1 if the peer is unable to load the URL
Return codes
SendURL only returns 0 if the URL was sent correctly or if the channel does not support HTML transport, and -1 otherwise.
Examples
Some IAX clients are known to support SendURL(), e.g. the softphone DIAX. or GnoPhone
See also
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ | Tips & Tricks