Page 515 - Asterisk™: The Future of Telephony
P. 515
gument specifies how times should be announced by the voicemail system. The
time_format argument is made up of the following elements:
' filename '
The filename of a sound file to play (single quotes around the filename are required)
${VAR}
Variable substitution
A or a
The day of the week (Saturday, Sunday, etc.)
B or b or h
The name of the month (January, February, etc.)
d or e
The numeric day of the month (first, second... thirty-first)
Y
The year
I or l
The hour, in 12-hour format
H
The hour, in 24-hour format—single-digit hours are preceded by “oh”
k
The hour, in 24-hour format—single-digit hours are not preceded by “oh”
M
The minute
P or p
A.M. or .P.M.
Q
“today”, “yesterday,” or ABdY (note: not standard strftime value)
q
“” (for today), “yesterday”, weekday, or ABdY (note: not standard strftime value)
R
24-hour time, including minutes
For example, the following example sets up two different voicemail zones, one for the
Central time zone in 12-hour format, and a second in the Mountain time zone, in 24-
hour format:
[zonemessages]
central=America/Chicago|'vm-received' Q 'digits/at' IMp
mountain24=America/Denver|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
voicemail.conf | 487