RECEIVE CHAR
RECEIVE CHAR Timeout
RECEIVE CHAR
ein einzelnes Zeichen empfangen werden.
Timeout
gibt die Wartezeit für den Empfang in
Millisekunden an (0 für unendlich).-1 | Fehler oder Hangup |
Wert (timeout) | Das empfangene Zeichen bei Timeout |
Wert | Das empfangene Zeichen |
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
Usage: RECEIVE CHAR <timeout>
Receives a character of 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. Returns the decimal value of the character
if one is received, or 0 if the channel does not support text reception. Returns
-1 only on error/hangup.
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,3 +4,4 @@
do not support the reception of text. Returns the decimal value of the character
if one is received, or 0 if the channel does not support text reception. Returns
-1 only on error/hangup.
+ Runs Dead : No