mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
make this example etter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9808 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
37ee1ce2ff
commit
667fd78821
@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
<!-- Example of doing things based on time of day. -->
|
<!-- Example of doing things based on time of day. -->
|
||||||
<extension name="tod_example" continue="true">
|
<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)$">
|
<condition field="${strftime(%H%M)}" expression="^((09|1[0-7])[0-5][0-9]|1800)$">
|
||||||
<action application="set" data="open=true"/>
|
<action application="set" data="open=true"/>
|
||||||
</condition>
|
</condition>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user