0019_conf.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <extension name="conf">
  2. <condition field="destination_number" expression="^6070$">
  3. <!--<action application="answer" data="is_conference"/> -->
  4. <action application="push" data="conference_member_flags=moderator"/>
  5. <action application="conference" data="6070@video-mcu-stereo"/>
  6. </condition>
  7. </extension>
  8. <extension name="conf">
  9. <condition field="destination_number" expression="^6070-personal$">
  10. <!--<action application="answer" data="is_conference"/> -->
  11. <action application="push" data="conference_member_flags=moderator"/>
  12. <action application="conference" data="6070@video-mcu-stereo-personal"/>
  13. </condition>
  14. </extension>
  15. <extension name="cdquality_stereo_conferences">
  16. <condition field="destination_number" expression="^(6070).*?-screen$">
  17. <action application="answer"/>
  18. <action application="send_display" data="FreeSWITCH Conference|$1"/>
  19. <action application="set" data="conference_member_flags=join-vid-floor"/>
  20. <action application="conference" data="$1@video-mcu-stereo"/>
  21. </condition>
  22. </extension>
  23. <extension name="conference-canvases" continue="true">
  24. <condition field="destination_number" expression="(.*?)-canvas-(\d+)">
  25. <action application="push" data="conference_member_flags=second-screen"/>
  26. <action application="set" data="video_initial_watching_canvas=$2"/>
  27. <action application="transfer" data="$1"/>
  28. </condition>
  29. </extension>
  30. <extension name="conf">
  31. <condition field="destination_number" expression="^6070-moderator$">
  32. <action application="answer"/>
  33. <action application="set" data="conference_member_flags=moderator"/>
  34. <action application="conference" data="6070@video-mcu-stereo"/>
  35. </condition>
  36. </extension>
  37. <!-- missing video mute image -->
  38. <extension name="conf">
  39. <condition field="destination_number" expression="^6071$">
  40. <action application="answer"/>
  41. <action application="set" data="conference_member_flags=moderator"/>
  42. <action application="set" data="video_mute_png=/tmp/does_not_exist.png"/>
  43. <action application="conference" data="6070@video-mcu-stereo"/>
  44. </condition>
  45. </extension>
  46. <!-- missing font face -->
  47. <extension name="conf">
  48. <condition field="destination_number" expression="^6072$">
  49. <action application="answer"/>
  50. <action application="set" data="video_banner_text={font_face=/tmp/does_not_exist.ttf}${caller_id_name}(${caller_id_number})"/>
  51. <action application="set" data="conference_member_flags=moderator"/>
  52. <action application="conference" data="6070@video-mcu-stereo"/>
  53. </condition>
  54. </extension>
  55. <!-- missing font face and missing video mute image -->
  56. <extension name="conf">
  57. <condition field="destination_number" expression="^6073$">
  58. <action application="answer"/>
  59. <action application="set" data="video_mute_png=/tmp/does_not_exist.png"/>
  60. <action application="set" data="video_banner_text={font_face=/tmp/does_not_exist.ttf}${caller_id_name}(${caller_id_number})"/>
  61. <action application="set" data="conference_member_flags=moderator"/>
  62. <action application="conference" data="6070@video-mcu-stereo"/>
  63. </condition>
  64. </extension>
  65. <!-- test video chime list via local_stream in conference -->
  66. <extension name="conf">
  67. <condition field="destination_number" expression="^6074$">
  68. <action application="answer"/>
  69. <action application="conference" data="6070@video-mcu-stereo-chime"/>
  70. </condition>
  71. </extension>
  72. <!-- test video chime list via local_stream in conference -->
  73. <extension name="conf">
  74. <condition field="destination_number" expression="^6075$">
  75. <action application="answer"/>
  76. <action application="conference" data="6070@video-mcu-stereo-chime-record"/>
  77. </condition>
  78. </extension>
  79. <extension name="conf">
  80. <condition field="destination_number" expression="^6076$">
  81. <action application="answer"/>
  82. <action application="conference" data="6070@video-mcu-stereo-passthrough"/>
  83. </condition>
  84. </extension>
  85. <extension name="conf">
  86. <condition field="destination_number" expression="^6077$">
  87. <action application="set" data="video_initial_canvas=1"/>
  88. <action application="set" data="video_initial_watching_canvas=2"/>
  89. <action application="answer"/>
  90. <action application="conference" data="6070@video-mcu-stereo-multi-canvas"/>
  91. </condition>
  92. </extension>
  93. <extension name="conf">
  94. <condition field="destination_number" expression="^6078$">
  95. <action application="set" data="video_initial_canvas=2"/>
  96. <action application="set" data="video_initial_watching_canvas=1"/>
  97. <action application="answer"/>
  98. <action application="conference" data="6070@video-mcu-stereo-multi-canvas"/>
  99. </condition>
  100. </extension>
  101. <extension name="conf">
  102. <condition field="destination_number" expression="^6079$">
  103. <action application="conference" data="6079@test_res_id"/>
  104. </condition>
  105. </extension>