[Asterisk-Users] VoicePulse changes
Kevin Walsh
kevin at cursor.biz
Thu Jul 15 16:12:20 MST 2004
Ken Wiesner [Ken.Wiesner at logicalonline.com] 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
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the asterisk-users
mailing list