FS-7198 test cases

This commit is contained in:
Brian West 2015-07-09 11:30:51 -05:00
parent 30644c4ba6
commit a85013e1f2
1 changed files with 16 additions and 0 deletions

View File

@ -10,3 +10,19 @@
<action application="log" data="INFO W00t it worked!"/>
</condition>
</extension>
<extension name="three">
<condition field="destination_number" value="^9001$"/>
<condition time-of-day="08:00-12:00,14:00-18:00">
<action application="log" data="INFO coma separated time-of-day matched (8-12am or 2-6pm)!"/>
<anti-action application="log" data="INFO coma separated time-of-day not matched (not 8-12am nor 2-6pm)!"/>
</condition>
</extension>
<extension name="four">
<condition field="destination_number" value="^9002$"/>
<condition time-of-day="2015-01-01 00:00:00~2015-02-31 23:59:59,2015-12-01 00:00:00~2015-12-31 23:59:59">
<action application="log" data="INFO coma separated date matched (jan+feb+dec 2015)!"/>
<anti-action application="log" data="INFO coma separated date not matched (not jan+feb+dec 2015)!"/>
</condition>
</extension>