RECEIVE CHAR


RECEIVE CHAR

 RECEIVE CHAR   timeout   

Receives a character of text on a channel. Specify a timeout in milliseconds as the maximum amount of time to wait for input, or set to to wait infinitely. Note that most channels do not support the reception of text.

Return values:



-1 (hangup)

Failure or hangup



char (timeout)

Timeout



value

ASCII value of character, in decimal



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net