Name

SAY DATE

Synopsis

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

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.