September 2005
Intermediate to advanced
408 pages
16h 20m
English
WAIT FOR DIGIT
WAIT FOR DIGIT timeoutWaits up to timeout milliseconds for
the channel to receive a DTMF digit. Use -1 for the
timeout value if you want the call to block
indefinitely.
Return values:
-1Error or channel failure
0Timeout
valueASCII value of digit (if pressed), in decimal
Read now
Unlock full access