SAY DATETIME


SAY DATETIME

 SAY DATETIME   datetime escape_digits   [   format   ] [   timezone   ] 

Says the given datetime , returning early if any of the given DTMF digits are received on the channel. The datetime is the number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC). The optional format argument is the format in which the time should be spoken. (See voicemail.conf for a complete description of the format options.) format defaults to "ABdY 'digits/at' IMp" . Acceptable values for timezone can be found in /usr/share/zoneinfo/ . timezone defaults to the default time zone of the Asterisk server.

Return values:



-1

Error or hangup





Playback completed without being interrupted by an escape digit



value

ASCII value of digit (if pressed), in decimal



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