Say a given date, returning early if any of the given DTMF digits are received on the channel.
<date> is number of seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC).
Note: This function does not recite the date in the same manner as SayUnixTime(date||ABdY). In particular, it says “December thirty one, one thousand nine hundred sixty nine” instead of “December thirty first, nineteen sixty nine.” Use SAY DATETIME <date> <escape digits> “ABdY” if you want this more natural reading.
Returns:
failure: 200 result=-1
success: 200 result=0
digit pressed: 200 result=<digit>
<digit> is the ascii code for the digit pressed.
Go back to Asterisk AGI