Get Data

Since 0.4.0 AGI Commands Found this useful? Upvote it. ×

Prompts for DTMF on a channel

Last reviewed 2026-04-14

get data file timeout maxdigits
Description

Stream the given file, and receive DTMF data.

Returns the digits received from the channel at the other end.

Arguments
  • file required
  • timeout
  • maxdigits

User Notes

No notes yet. Be the first to contribute a tip or example.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.