[Freeswitch-users] mod_say_ru says time +1 hour of current time

Boris Kovalenko boris at tagnet.ru
Tue Apr 27 20:17:42 PDT 2010


Hello!

     After looking to MODAPP-421 Michael Jerris wrote to me: "set 
timezone channel var" and closed the issue. So I changed my extension to:
<extension name="SayTime">
<condition field="destination_number" expression="^9000$">
<action application="answer"/>
<action application="set" data="timezone=Asia/Yekaterinburg"/>
<action application="set" data="ct=${strftime_tz(Asia/Yekaterinburg %s)}"/>
<action application="log" data="INFO TZ: ${timezone}"/>
<action application="log" data="INFO CT: ${ct}"/>
<action application="say" data="ru current_date_time pronounced ${ct}"/>
<action application="sleep" data="1000"/>
<action application="hangup"/>
</condition>
</extension>

But pronounced time is still +1 hour (but ${ct} shows right time). 
What's wrong with my extension? Have I misunderstood Michael and need to 
set channel var in another place?

-- 
Respect,
Boris





More information about the FreeSWITCH-users mailing list