say date

SAY DATE <date> <escape digits>

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

<date> is number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC).

Note: This function does not recite the date in the same manner as SayUnixTime(date||ABdY). In particular, it says "December thirty one, one thousand nine hundred sixty nine" instead of "December thirty first, nineteen sixty nine." Use SAY DATETIME <date> <escape digits> "ABdY" if you want this more natural reading.

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: Thu 13 of Oct, 2005 (15:38 UTC)
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+