Page 485 - Asterisk™: The Future of Telephony
P. 485
SEND TEXT
SEND TEXT "text_to_send"
Sends the specified text on the current channel. Most channels do not support the
transmission of text. Text consisting of more than one word should be placed in quotes,
since the command accepts only a single argument.
Return values:
-1
Error or hangup
0
Text sent, or channel does not support sending text
SET AUTOHANGUP
SET AUTOHANGUP time
Causes the channel to automatically be hung up once time seconds have elapsed. Of
course, it can be hung up before then as well. Setting time to 0 will cause the auto
hangup feature to be disabled on this channel.
Return value:
0
Autohangup has been set
SET CALLERID
SET CALLERID number
Changes the Caller ID of the current channel.
Return value:
1
Caller ID has been set
SET CONTEXT
SET CONTEXT context
Sets the context for continuation upon exiting the AGI application.
Return value:
SEND TEXT | 457