say datetime

SAY DATETIME <time> <escape digits> [format] [timezone]

Say a given date and time, returning early if any of the given DTMF digits are received on the channel.

<time> is number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC).
[format] is the format the time should be said in. See voicemail.conf (defaults to "ABdY 'digits/at' IMp").
Acceptable values for [timezone] can be found in /usr/share/zoneinfo. Defaults to machine default.

Date Format Syntax:
A: Day of the week
B: Month (Full Text)
m: Month (Numeric)
d: Day of the month
Y: Year
I: Hour (12-hour format)
H: Hour (24-hour format)
M: Minutes
Q: Shorthand for Today, Yesterday or ABdY
R: Shorthand for HM
S: Seconds
T: Timezone

failure: 200 result=-1
success: 200 result=0
digit pressed: 200 result=<digit>

<digit> is the ascii code for the digit pressed.

Go back to Asterisk AGI
Created by: Coda, Last modification: Mon 29 of Dec, 2008 (19:21 UTC) by jp_loh
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+