August 2007
Intermediate to advanced
608 pages
20h 33m
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