SayUnixTime( )


SayUnixTime( ) Says the specified time in a custom format

 SayUnixTime([   unixtime   ][,[   timezone   ][,   format   ]]) 

Speaks the specified time according to the specified time zone and format. The arguments are:



unixtime

The time, in seconds, since January 1, 1970. May be negative. Defaults to now.



timezone

The time zone. See /usr/share/zoneinfo/ for a list. Defaults to the machine default.



format

The format in which the time is to be spoken. See voicemail.conf for a list of formats. Defaults to "ABdY 'digits/at' IMp" .

Returns , or -1 on hangup.

  exten => 123,1,SayUnixTime(,,IMp)  



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net