Skip to main content


Created by Ryan Harris, last modified on 2018.02.10


string Sets the timezone for this particular call. Can be used, e.g., to set the timezone for a caller who is checking his/her voicemail. The value is expressed in Linux timezone format (ex. America/New_York -- see /usr/share/zoneinfo/ for the standard list of Linux timezones).

(warning) this variable must actually be set before the comparison, so either set it inline, transfer, or set it in the user directory.

See also: Time of Day and Holiday Routing.


You can set the time zone globally for Freeswitch in /conf/vars.xml

<X-PRE-PROCESS cmd="set" data="timezone=America/Toronto"/>

Specify the timezone in the dialplan:

<action application="set" data="timezone=Asia/Seoul"/>
<action application="set" data="timezone=GMT0"/>
<action application="set" data="timezone=America/New_York"/>

In the directory:

<param name="timezone" value="America/New_York"/>


In order to get the timezone directory variable in a call, I had to set it as a variable in the directory (not as a param), which makes sense (see: Routing with directory parameters). Not sure if this example is a typo or maybe for a different use case.I did this in my directory to test against the variable in the dialplan: <variable name="timezone" value="America/New_York"/> Posted by byoungdale at Sep 21, 2018 16:33