[Freeswitch-svn] [commit] r9808 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Fri Oct 3 11:01:36 EDT 2008
Author: brian
Date: Fri Oct 3 11:01:36 2008
New Revision: 9808
Modified:
freeswitch/trunk/conf/dialplan/default.xml
Log:
make this example etter
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Fri Oct 3 11:01:36 2008
@@ -37,6 +37,8 @@
<!-- 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(%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