wait for digit
Waits up to <timeout> milliseconds for channel to receive a DTMF digit.
Use -1 for the <timeout> value if you desire the call to block indefinitely.
Returns:
failure: 200 result=-1
timeout: 200 result=0
success: 200 result=<digit>
<digit> is the ascii code for the digit received.
New in Asterisk 1.4.39:
Added extra functionality to AGI command WAIT FOR DIGIT. Add the ability to play a sound file, listen for more than just one digit, specify escape characters. Backwards compatible (to work with only timeout specified). (closes issue #15531)Go back to Asterisk AGI
Created by: pinhole, Last modification: Sat 15 of Jan, 2011 (21:54 UTC) by JustRumours
Featured -
Search:

Page Changes















