Author: brian Date: Sat Oct 11 21:16:02 2008 New Revision: 9981 Modified: freeswitch/trunk/conf/dialplan/default.xml Log: %u does not exist on strftime on windows but %w accomplishes the same thing Modified: freeswitch/trunk/conf/dialplan/default.xml ============================================================================== --- freeswitch/trunk/conf/dialplan/default.xml (original) +++ freeswitch/trunk/conf/dialplan/default.xml Sat Oct 11 21:16:02 2008 @@ -38,7 +38,7 @@ <!-- Example of doing things based on time of day. --> <extension name="tod_example" continue="true"> <!-- man strftime - M-F, 9AM to 6PM --> - <condition field="${strftime(%u)}" expression="^([1-5])$"/> + <condition field="${strftime(%w)}" expression="^([1-5])$"/> <condition field="${strftime(%H%M)}" expression="^((09|1[0-7])[0-5][0-9]|1800)$"> <action application="set" data="open=true"/> </condition>