Receives a character of text on a channel, and discards any further characters after the first one waiting.
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 or hangup: 200 result=-1 (hangup)
timeout: 200 result=<char> (timeout)
success: 200 result=<char>
<char> is the character received, or 0 if the channel does not support text reception.
Go back to Asterisk AGI