Page 482 - Asterisk™: The Future of Telephony
P. 482

0
                   Successful recording


               SAY ALPHA

               SAY ALPHA number escape_digits

               Says a given character string, returning early if any of the given DTMF digits are received
               on the channel.
               Return values:

               -1
                   Error or hangup
               0
                   Playback completed without being interrupted by an escape digit
               value
                   ASCII value of digit (if pressed), in decimal


               SAY DATE
               SAY DATE date escape_digits

               Says a given date, returning early if any of the given DTMF digits are received on the
               channel. The date is the number of seconds elapsed since 00:00:00 on January 1, 1970,
               Coordinated Universal Time (UTC).
               Return values:

               -1
                   Error or hangup
               0
                   Playback completed without being interrupted by an escape digit
               value
                   ASCII value of digit (if pressed), in decimal


               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 descrip-
               tion of the format options.) format defaults to "ABdY 'digits/at' IMp"  Acceptable


               454 | Appendix C: AGI Reference
   477   478   479   480   481   482   483   484   485   486   487