say datetime time escape_digits format timezone
Say a given time, returning early if any of the given DTMFDual-Tone Multi-Frequency, the touch-tone signals phones send for digit input during a call, used by IVRs and feature codes. digits are received on the channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on.. Returns 0 if playback completes without a digit being pressed, or the ASCII numerical value of the digit if one was pressed or -1 on error/hangup.
timerequired - Is number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)escape_digitsrequiredformat- Is the format the time should be said in. Seevoicemail.conf(defaults toABdY 'digits/at' IMp).timezone- Acceptable values can be found in/usr/share/zoneinfoDefaults to machine default.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
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.