Skip to content

SendDTMF()

Synopsis

Sends arbitrary DTMF digits

Description

It will send all digits or terminate if it encounters an error.

Syntax

SendDTMF(digits,[timeout_ms,[duration_ms,[channel,[options]]]])
Arguments
  • digits - List of digits 0-9,*#,a-d,A-D to send also w for a half second pause, W for a one second pause, and f or F for a flash-hook if the channel supports flash-hook.

  • timeout_ms - Amount of time to wait in ms between tones. (defaults to .25s)

  • duration_ms - Duration of each digit

  • channel - Channel where digits will be played

  • options

    • a - Answer the channel specified by the 'channel' parameter if it is not already up. If no 'channel' parameter is provided, the current channel will be answered.

See Also

Generated Version

This documentation was generated from Asterisk branch certified/20.7 using version GIT