WAIT FOR DIGIT |
WAIT FOR DIGIT timeout
Waits 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:
Error or channel failure
Timeout
ASCII value of digit (if pressed), in decimal