]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
eavesdrop test case
authorBrian West <brian@freeswitch.org>
Wed, 1 Jul 2015 20:14:10 +0000 (15:14 -0500)
committerBrian West <brian@freeswitch.org>
Thu, 2 Jul 2015 14:46:04 +0000 (09:46 -0500)
conf/testing/dialplan/default/0023_video_eavesdrop.xml [new file with mode: 0644]

diff --git a/conf/testing/dialplan/default/0023_video_eavesdrop.xml b/conf/testing/dialplan/default/0023_video_eavesdrop.xml
new file mode 100644 (file)
index 0000000..18dad1f
--- /dev/null
@@ -0,0 +1,9 @@
+<extension name="eavesdrop">
+  <condition field="destination_number" expression="^7000$">
+    <action application="answer"/>
+    <action application="set" data="eavesdrop_indicate_failed=tone_stream://%(500, 0, 320)"/>
+    <action application="set" data="eavesdrop_indicate_new=tone_stream://%(500, 0, 620)"/>
+    <action application="set" data="eavesdrop_indicate_idle=tone_stream://%(250, 0, 920)"/>
+    <action application="eavesdrop" data="all"/>
+  </condition>
+</extension>