[Freeswitch-users] mod_say or strftime problems?

boris at tagnet.ru boris at tagnet.ru
Wed Apr 21 07:30:18 PDT 2010


Hello!

I have an extension for the current date/time:
    <extension name="SayTime">
        <condition field="destination_number" expression="^9000$">
            <action application="answer"/>
            <action application="say" data="ru current_date_time
pronounced $strftime(%s)"/>
            <action application="sleep" data="1000"/>
            <action application="hangup"/>
        </condition>
    </extension>

The extension works fine, but time is +1 hour of current time. For example
current time is 16:00, the extension says 17:00. I use FreeSwitch 1.0.6
(from release tarball), CentOS 5.4, ntp synched, timezone YEKT (summer
time in effect now, so tz=YEKST). So, my question is - something wrong
with my extension configuration or this is bug in mod_say_ru or may be
strfmt?

With respect,
Boris





More information about the FreeSWITCH-users mailing list