Name
WAIT FOR DIGIT
Synopsis
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
0
Timeout
value
ASCII value of digit (if pressed), in decimal
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.