]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7648 more tests
authorBrian West <brian@freeswitch.org>
Tue, 16 Jun 2015 15:58:04 +0000 (10:58 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 16 Jun 2015 15:58:04 +0000 (10:58 -0500)
conf/testing/dialplan/default/0009_condition_regex_all.xml
conf/testing/dialplan/default/0011_play_video_local_stream.xml [new file with mode: 0644]

index ba04f97c87dee8a86506a74132cc833d049fe4e0..47609d20be56fdc755693b972f9fe19fcb8f41f2 100644 (file)
@@ -3,7 +3,7 @@
   <condition regex="all"> <!-- ALL -->
     <!-- ALL CAN NOT MATCH EVER -->
     <regex time-of-day="08:00:00-12:00:00"/> <!-- CAN'T TIME TRAVEL -->
-    <regex time-of-day="23:00:00-24:00:00"/> <!-- CAN'T BE IN TWO TIMES AT ONCE -->
+    <regex time-of-day="22:00:00-23:00:00"/> 
     <regex wday="3"/>
     <action application="log" data="INFO At least one of the conditions matched!"/>
     <action application="playback" data="ivr/ivr-yes_we_have_no_bananas.wav"/>
diff --git a/conf/testing/dialplan/default/0011_play_video_local_stream.xml b/conf/testing/dialplan/default/0011_play_video_local_stream.xml
new file mode 100644 (file)
index 0000000..2fa1baf
--- /dev/null
@@ -0,0 +1,7 @@
+<extension name="play_video_local_stream">
+  <condition field="destination_number" expression="^6050$">
+    <action application="answer"/>  
+    <action application="playback" data="local_stream://video"/>
+  </condition>
+</extension>
+