Ken Wiesner [EMAIL PROTECTED] wrote:
> May want to think about adding this to your dial plan somewhere :-)
>
> exten => s,1,SayUnixTime(,,ABdYIMp)
>
Instead of "ABdYIMp", I use "IMp AdBY". This is so that it will give
me the time first, and then the day/month/year. Mostly it's the time
I'm interested in, rather than the date, so I get it to read that part
out first.
[globals]
TIME_ZONE = Europe/London
TIME_FORMAT = IMp AdBY
[local-time]
exten => 9123,1,Answer
exten => 9123,2,Wait(1)
exten => 9123,3,SayUnixTime(now,${TIME_ZONE},${TIME_FORMAT})
exten => 9123,4,Hangup
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ [EMAIL PROTECTED]
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users