Skip to end of metadata
Go to start of metadata

WaitDigit()

Synopsis

Waits for a digit to be entered.

Description

This application waits for the user to press one of the accepted digits for a specified number of seconds.

  • WAITDIGITSTATUS - This is the final status of the command
    • ERROR - Parameters are invalid.
    • DTMF - An accepted digit was received.
    • TIMEOUT - The timeout passed before any acceptable digits were received.
    • CANCEL - The channel has hungup or was redirected.
  • WAITDIGITRESULT - The digit that was received, only set if WAITDIGITSTATUS is DTMF.

Syntax

WaitDigit([seconds,[digits]])
Arguments
  • seconds - Can be passed with fractions of a second. For example, 1.5 will ask the application to wait for 1.5 seconds.
  • digits - Digits to accept, all others are ignored.

See Also

Import Version

This documentation was imported from Asterisk Version GIT-20-f8000daff5

  • No labels