WAIT FOR DIGIT


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:



-1

Error or channel failure





Timeout



value

ASCII value of digit (if pressed), in decimal



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net