time of day example set a var open=true

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7205 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-01-13 23:00:43 +00:00
parent b1504c87b5
commit 54b9910b1b

View File

@ -10,6 +10,12 @@
</condition> </condition>
</extension> </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"> <extension name="intercept">
<condition field="destination_number" expression="^886$"> <condition field="destination_number" expression="^886$">
<action application="answer"/> <action application="answer"/>