Page 459 - Asterisk™: The Future of Telephony
P. 459
Sends text on a channel, if text transport is supported. Upon completion, a channel
variable named SENDTEXTSTATUS will be set to one of the following values:
SUCCESS
The transmission of the text was successful.
FAILURE
The transmission of the text failed.
NOSUPPORT
The underlying channel does not support the transmission of text.
If the options parameter is set to j and the channel does not support text transport,
and there exists a priority n+101 (where n is the current priority), execution will con-
tinue at that step.
exten => 123,1,SendText(Welcome to Asterisk)
See Also
SendImage(), SendURL()
SendURL() Sends the specified URL to the channel (if supported)
SendURL(URL[,options])
Requests that the client go to the specified URL. The application also sets a channel
variable named SENDURLSTATUS to one of the following values upon completion:
SUCCESS
The transmission of the URL was successful.
FAILURE
The transmission of the URL failed.
NOLOAD
The is web-enabled but failed to load the URL.
NOSUPPORT
The underlying channel does not support the transmission of the URL.
If the options parameter contains the wait option, execution will wait for an acknowl-
edgment that the URL has been loaded before continuing.
If the options parameter contains the j option and the client does not support HTML
transport, and there exists a priority n+101 (where n is the number of the current pri-
ority), execution will continue at that step.
exten => 123,1,SendURL(www.asterisk.org,wait)
See Also
SendImage(), SendText()
SendURL() | 431