Asterisk: The Future of Telephony: The Future of Telephony

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

Категории