freeswitch/conf/testing/dialplan/default/0019_conf.xml

125 lines
4.8 KiB
XML

<extension name="conf">
<condition field="destination_number" expression="^6070$">
<!--<action application="answer" data="is_conference"/> -->
<action application="push" data="conference_member_flags=moderator"/>
<action application="conference" data="6070@video-mcu-stereo"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6070-personal$">
<!--<action application="answer" data="is_conference"/> -->
<action application="push" data="conference_member_flags=moderator"/>
<action application="conference" data="6070@video-mcu-stereo-personal"/>
</condition>
</extension>
<extension name="cdquality_stereo_conferences">
<condition field="destination_number" expression="^(6070).*?-screen$">
<action application="answer"/>
<action application="send_display" data="FreeSWITCH Conference|$1"/>
<action application="set" data="conference_member_flags=join-vid-floor"/>
<action application="conference" data="$1@video-mcu-stereo"/>
</condition>
</extension>
<extension name="conference-canvases" continue="true">
<condition field="destination_number" expression="(.*?)-canvas-(\d+)">
<action application="push" data="conference_member_flags=second-screen"/>
<action application="set" data="video_initial_watching_canvas=$2"/>
<action application="transfer" data="$1"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6070-moderator$">
<action application="answer"/>
<action application="set" data="conference_member_flags=moderator"/>
<action application="conference" data="6070@video-mcu-stereo"/>
</condition>
</extension>
<!-- missing video mute image -->
<extension name="conf">
<condition field="destination_number" expression="^6071$">
<action application="answer"/>
<action application="set" data="conference_member_flags=moderator"/>
<action application="set" data="video_mute_png=/tmp/does_not_exist.png"/>
<action application="conference" data="6070@video-mcu-stereo"/>
</condition>
</extension>
<!-- missing font face -->
<extension name="conf">
<condition field="destination_number" expression="^6072$">
<action application="answer"/>
<action application="set" data="video_banner_text={font_face=/tmp/does_not_exist.ttf}${caller_id_name}(${caller_id_number})"/>
<action application="set" data="conference_member_flags=moderator"/>
<action application="conference" data="6070@video-mcu-stereo"/>
</condition>
</extension>
<!-- missing font face and missing video mute image -->
<extension name="conf">
<condition field="destination_number" expression="^6073$">
<action application="answer"/>
<action application="set" data="video_mute_png=/tmp/does_not_exist.png"/>
<action application="set" data="video_banner_text={font_face=/tmp/does_not_exist.ttf}${caller_id_name}(${caller_id_number})"/>
<action application="set" data="conference_member_flags=moderator"/>
<action application="conference" data="6070@video-mcu-stereo"/>
</condition>
</extension>
<!-- test video chime list via local_stream in conference -->
<extension name="conf">
<condition field="destination_number" expression="^6074$">
<action application="answer"/>
<action application="conference" data="6070@video-mcu-stereo-chime"/>
</condition>
</extension>
<!-- test video chime list via local_stream in conference -->
<extension name="conf">
<condition field="destination_number" expression="^6075$">
<action application="answer"/>
<action application="conference" data="6070@video-mcu-stereo-chime-record"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6076$">
<action application="answer"/>
<action application="conference" data="6070@video-mcu-stereo-passthrough"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6077$">
<action application="set" data="video_initial_canvas=1"/>
<action application="set" data="video_initial_watching_canvas=2"/>
<action application="answer"/>
<action application="conference" data="6070@video-mcu-stereo-multi-canvas"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6078$">
<action application="set" data="video_initial_canvas=2"/>
<action application="set" data="video_initial_watching_canvas=1"/>
<action application="answer"/>
<action application="conference" data="6070@video-mcu-stereo-multi-canvas"/>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^6079$">
<action application="conference" data="6079@test_res_id"/>
</condition>
</extension>