Receives a string text on a channel.
Specify <timeout> to be the maximum time to wait for input in milliseconds, or 0 for infinite.
Most channels do not support the reception of text. See Asterisk text for details.
Returns:
failure, hangup, or timeout: 200 result=-1
success: 200 result=<text>
<text> is the text received on the channel.
See also
- Asterisk cmd SendText includes an example for “receive text”
- Asterisk cmd Sms
Go back to Asterisk AGI