Voicemail -> Email - Timezone support

Status
Not open for further replies.

gflow

Active Member
Aug 25, 2019
261
28
28
Is there a way to set the timezone for voicemail -> email on a per user basis? ie. If the system timezone is set for one location but users are in multiple cities around the world how can we set the TZ in each user email within the same domain so the email reads: Message received on ....<correct local date>?
 

JamesBorne

Active Member
Jan 24, 2019
294
56
28
Australia
Yes. This is how I did it:

1. Copy the vmain_user dialplan entry.
2. Add a condition to catch these extensions however you want. (You can also do 201|203|304|431 to list individual extensions.)
3. Add an action to set the TZ
4. Change the "Order" to have a lower number than the default vm_main so it is parsed first

All calls to retrieve a users own voicemail will now say the right date/time.

1571952212016.png

The list of available and valid time zones can be sourced from here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
 
  • Like
Reactions: gflow
Status
Not open for further replies.