[Freeswitch-svn] [commit] r7205 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Sun Jan 13 18:00:43 EST 2008
Author: brian
Date: Sun Jan 13 18:00:43 2008
New Revision: 7205
Modified:
freeswitch/trunk/conf/dialplan/default.xml
Log:
time of day example set a var open=true
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Sun Jan 13 18:00:43 2008
@@ -10,6 +10,12 @@
</condition>
</extension>
+ <extension name="tod_example" continue="true">
+ <condition field="${strftime(%H%M)}" expression="^((09|1[0-7])[0-5][0-9]|1800)$">
+ <action application="set" data="open=true"/>
+ </condition>
+ </extension>
+
<extension name="intercept">
<condition field="destination_number" expression="^886$">
<action application="answer"/>
More information about the Freeswitch-svn
mailing list