login | register
Sun 07 of Sep, 2008 [20:31 UTC]

voip-info.org

Discuss [0] History

Asterisk cmd SendURL

Created by: oej,Last modification on Fri 12 of Oct, 2007 [06:22 UTC] by chandave

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


Comments