freeswitch/conf/testing/dialplan/default/0008_eavesdrop.xml

36 lines
1.3 KiB
XML
Raw Normal View History

2015-06-12 16:50:35 +00:00
<extension name="eavesdrop1">
<condition field="destination_number" expression="^6020$">
2015-06-12 16:29:15 +00:00
<action application="answer"/>
<action application="eavesdrop" data="all"/>
</condition>
2015-06-12 16:50:35 +00:00
</extension>
<extension name="eavesdrop2">
<condition field="destination_number" expression="^6021$">
2015-06-12 16:47:13 +00:00
<action application="set" data="absolute_codec_string=PCMU"/> <!-- MONO -->
<action application="answer"/>
<action application="eavesdrop" data="all"/>
</condition>
2015-06-12 16:50:35 +00:00
</extension>
<extension name="eavesdrop3">
<condition field="destination_number" expression="^6022$">
2015-06-12 16:47:13 +00:00
<action application="set" data="absolute_codec_string=OPUS"/> <!-- STEREO -->
<action application="answer"/>
<action application="eavesdrop" data="all"/>
</condition>
2015-06-12 16:50:35 +00:00
</extension>
<extension name="eavesdrop4">
<condition field="destination_number" expression="^6023$">
2015-06-12 16:47:13 +00:00
<action application="set" data="absolute_codec_string=OPUS,VP8"/> <!-- STEREO, VIDEO -->
<action application="answer"/>
<action application="eavesdrop" data="all"/>
</condition>
2015-06-12 16:50:35 +00:00
</extension>
<extension name="eavesdrop5">
<condition field="destination_number" expression="^6024$">
2015-06-12 16:47:13 +00:00
<action application="set" data="absolute_codec_string=PCMU,VP8"/> <!-- MONO, VIDEO -->
<action application="answer"/>
<action application="eavesdrop" data="all"/>
</condition>
2015-06-12 16:50:35 +00:00
</extension>