AGI script for Say Date Time

hello

i just want to know what is the parameter for "Say Date Time " function
some of the tutorial pointed me to voicemail.conf but still its hard to interpret being a newbie in asterisk programmmng.

please discuss me so i can hear the exact date and not “January 1, 1970” no matter what parameter i put in “Say Date Time” function.

thanks

Post your AGI code, as it is not clear how you are doing this and therefore what your problem is. The call is pretty straightforward:

voip-info.org/wiki/index.php … d+DateTime

ok i have a function wich execute the AGI commands and its working with
STREAM FILE, GET DATA, SAY NUMBER and even EXEC.

below, the SAY NUMBER will annouce “2000”.
however SAY DATETIME would annouce “January 1 1970” and the time.
now my question what would be the parameter in SAY DATETIME and what would be the configuration in voicemail.conf to annouce the correct date and time base from UTC?

What is the time on your server set to?

if you ask about my voicemail.conf

here it is

any idea for today?

i finally got it work

here my code
and now i can hear alison smith announcing the DAY, day in number, Month, Year and the Time…