[Freeswitch-svn] [commit] r9981 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Sat Oct 11 21:16:02 EDT 2008
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>
More information about the Freeswitch-svn
mailing list