[Asterisk-Users] talking clock

Brian West brian at bkw.org
Wed Feb 4 07:23:58 MST 2004


SayUnixTime will do that just give it the format you want.

SayUnixTime([unixtime][|[timezone][|format]])
  unixtime: time, in seconds since Jan 1, 1970.  May be negative.
              defaults to now.
  timezone: timezone, see /usr/share/zoneinfo for a list.
              defaults to machine default.
  format:   a format the time is to be said in.  See voicemail.conf.
              defaults to "ABdY 'digits/at' IMp"
  Returns 0 or -1 on hangup.


bkw

On Wed, 4 Feb 2004, Deepakumar JV wrote:

> Hello
>
> I am looking for a AGI application that can  say the current time with seconds, but i don't need the day/year.
>
> Has anyone got this already?
>
> Thanks in advance
> Deepak



More information about the asterisk-users mailing list