Asterisk Project : AGICommand_WAIT FOR DIGIT This page last changed on Mar 30, 2011 by wikibot. # WAIT FOR DIGIT ### Synopsis Waits for a digit to be pressed. ### Description Waits up to timeout milliseconds for channel to receive a DTMF digit. Returns `-1` on channel failure, `0` if no digit is received in the timeout, or the numerical value of the ascii of the digit if one is received. Use `-1` for the timeout value if you desire the call to block indefinitely. ### Syntax
    WAIT FOR DIGIT TIMEOUT
##### Arguments `TIMEOUT` ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42