[asterisk-users] SAY TIME + PHPAGI + Timezone

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Jan 18 16:42:00 CST 2008


On Friday 18 January 2008 14:13:55 Nitesh Divecha wrote:
> Is there any way to change the timezone on the fly? I have this little
> time clock program running on Asterisk system developed using PHPAGI.
> Currently, whenever user logs in, Asterisk will prompt the current
> system time using "$agi->say_time();" which executes "SAY TIME". Now the
> current timezone set on the system is "PST", and I have a request to
> prompt multiple timezones based on the users location.

Don't use SAY TIME.  Use EXEC with the SayUnixTime application and the
appropriate arguments.

-- 
Tilghman



More information about the asterisk-users mailing list