2
0

conference.conf.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <!-- http://wiki.freeswitch.org/wiki/Mod_conference -->
  2. <!-- None of these paths are real if you want any of these options you need to really set them up -->
  3. <configuration name="conference.conf" description="Audio Conference">
  4. <!-- Advertise certain presence on startup . -->
  5. <advertise>
  6. <room name="3001@$${domain}" status="FreeSWITCH"/>
  7. </advertise>
  8. <!-- These are the default keys that map when you do not specify a caller control group -->
  9. <!-- Note: none and default are reserved names for group names. Disabled if dist-dtmf member flag is set. -->
  10. <caller-controls>
  11. <group name="default">
  12. <control action="mute" digits="0"/>
  13. <control action="deaf mute" digits="*"/>
  14. <control action="energy up" digits="9"/>
  15. <control action="energy equ" digits="8"/>
  16. <control action="energy dn" digits="7"/>
  17. <control action="vol talk up" digits="3"/>
  18. <control action="vol talk zero" digits="2"/>
  19. <control action="vol talk dn" digits="1"/>
  20. <control action="vol listen up" digits="6"/>
  21. <control action="vol listen zero" digits="5"/>
  22. <control action="vol listen dn" digits="4"/>
  23. <control action="hangup" digits="#"/>
  24. </group>
  25. </caller-controls>
  26. <!-- Profiles are collections of settings you can reference by name. -->
  27. <profiles>
  28. <!--If no profile is specified it will default to "default"-->
  29. <profile name="default">
  30. <!-- Directory to drop CDR's
  31. 'auto' means $PREFIX/logs/conference_cdr/<confernece_uuid>.cdr.xml
  32. a non-absolute path means $PREFIX/logs/<value>/<confernece_uuid>.cdr.xml
  33. absolute path means <value>/<confernece_uuid>.cdr.xml
  34. -->
  35. <!-- <param name="cdr-log-dir" value="auto"/> -->
  36. <!-- Domain (for presence) -->
  37. <param name="domain" value="$${domain}"/>
  38. <!-- Sample Rate-->
  39. <param name="rate" value="8000"/>
  40. <!-- Number of milliseconds per frame -->
  41. <param name="interval" value="20"/>
  42. <!-- Energy level required for audio to be sent to the other users -->
  43. <param name="energy-level" value="100"/>
  44. <!--Can be | delim of waste|mute|deaf|dist-dtmf waste will always transmit data to each channel
  45. even during silence. dist-dtmf propagates dtmfs to all other members, but channel controls
  46. via dtmf will be disabled. -->
  47. <!-- <param name="member-flags" value="waste"/> -->
  48. <!-- Name of the caller control group to use for this profile -->
  49. <!-- <param name="caller-controls" value="some name"/> -->
  50. <!-- Name of the caller control group to use for the moderator in this profile -->
  51. <!-- <param name="moderator-controls" value="some name"/> -->
  52. <!-- TTS Engine to use -->
  53. <!-- <param name="tts-engine" value="cepstral"/> -->
  54. <!-- TTS Voice to use -->
  55. <!-- <param name="tts-voice" value="david"/> -->
  56. <!-- If TTS is enabled all audio-file params beginning with -->
  57. <!-- 'say:' will be considered text to say with TTS -->
  58. <!-- Override the default path here, after which you use relative paths in the other sound params -->
  59. <!-- Note: The default path is the conference's first caller's sound_prefix -->
  60. <!-- <param name="sound-prefix" value="$${sound_prefix}"/> -->
  61. <!-- File to play to acknowledge succees -->
  62. <!-- <param name="ack-sound" value="beep.wav"/> -->
  63. <!-- File to play to acknowledge failure -->
  64. <!-- <param name="nack-sound" value="beeperr.wav"/> -->
  65. <!-- File to play to acknowledge muted -->
  66. <param name="muted-sound" value="conference/conf-muted.wav"/>
  67. <!-- File to play to acknowledge unmuted -->
  68. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  69. <!-- File to play if you are alone in the conference -->
  70. <param name="alone-sound" value="conference/conf-alone.wav"/>
  71. <!-- File to play endlessly (nobody will ever be able to talk) -->
  72. <!-- <param name="perpetual-sound" value="perpetual.wav"/> -->
  73. <!-- File to play when you're alone (music on hold)-->
  74. <param name="moh-sound" value="$${hold_music}"/>
  75. <!-- File to play when you join the conference -->
  76. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  77. <!-- File to play when you leave the conference -->
  78. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  79. <!-- File to play when you are ejected from the conference -->
  80. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  81. <!-- File to play when the conference is locked -->
  82. <param name="locked-sound" value="conference/conf-locked.wav"/>
  83. <!-- File to play when the conference is locked during the call-->
  84. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  85. <!-- File to play when the conference is unlocked during the call-->
  86. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  87. <!-- File to play to prompt for a pin -->
  88. <param name="pin-sound" value="conference/conf-pin.wav"/>
  89. <!-- File to play to when the pin is invalid -->
  90. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  91. <!-- Conference pin -->
  92. <!-- <param name="pin" value="12345"/> -->
  93. <!-- <param name="moderator-pin" value="54321"/> -->
  94. <!-- Max number of times the user can be prompted for PIN -->
  95. <!-- <param name="pin-retries" value="3"/> -->
  96. <!-- Default Caller ID Name for outbound calls -->
  97. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  98. <!-- Default Caller ID Number for outbound calls -->
  99. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  100. <!-- Suppress start and stop talking events -->
  101. <!-- <param name="suppress-events" value="start-talking,stop-talking"/> -->
  102. <!-- enable comfort noise generation -->
  103. <param name="comfort-noise" value="true"/>
  104. <!-- Uncomment auto-record to toggle recording every conference call. -->
  105. <!-- Another valid value is shout://user:pass@server.com/live.mp3 -->
  106. <!--
  107. <param name="auto-record" value="$${recordings_dir}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
  108. -->
  109. <!-- IVR digit machine timeouts -->
  110. <!-- How much to wait between DTMF digits to match caller-controls -->
  111. <!-- <param name="ivr-dtmf-timeout" value="500"/> -->
  112. <!-- How much to wait for the first DTMF, 0 forever -->
  113. <!-- <param name="ivr-input-timeout" value="0" /> -->
  114. <!-- Delay before a conference is asked to be terminated -->
  115. <!-- <param name="endconf-grace-time" value="120" /> -->
  116. <!-- Can be | delim of wait-mod|audio-always|video-bridge|video-floor-only
  117. wait_mod will wait until the moderator in,
  118. audio-always will always mix audio from all members regardless they are talking or not -->
  119. <!-- <param name="conference-flags" value="audio-always"/> -->
  120. <!-- Allow live array sync for Verto -->
  121. <!-- <param name="conference-flags" value="livearray-sync"/> -->
  122. </profile>
  123. <profile name="wideband">
  124. <param name="domain" value="$${domain}"/>
  125. <param name="rate" value="16000"/>
  126. <param name="interval" value="20"/>
  127. <param name="energy-level" value="100"/>
  128. <!-- <param name="sound-prefix" value="$${sound_prefix}"/> -->
  129. <param name="muted-sound" value="conference/conf-muted.wav"/>
  130. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  131. <param name="alone-sound" value="conference/conf-alone.wav"/>
  132. <param name="moh-sound" value="$${hold_music}"/>
  133. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  134. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  135. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  136. <param name="locked-sound" value="conference/conf-locked.wav"/>
  137. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  138. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  139. <param name="pin-sound" value="conference/conf-pin.wav"/>
  140. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  141. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  142. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  143. <param name="comfort-noise" value="true"/>
  144. <!-- <param name="tts-engine" value="flite"/> -->
  145. <!-- <param name="tts-voice" value="kal16"/> -->
  146. </profile>
  147. <profile name="ultrawideband">
  148. <param name="domain" value="$${domain}"/>
  149. <param name="rate" value="32000"/>
  150. <param name="interval" value="20"/>
  151. <param name="energy-level" value="100"/>
  152. <!-- <param name="sound-prefix" value="$${sound_prefix}"/> -->
  153. <param name="muted-sound" value="conference/conf-muted.wav"/>
  154. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  155. <param name="alone-sound" value="conference/conf-alone.wav"/>
  156. <param name="moh-sound" value="$${hold_music}"/>
  157. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  158. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  159. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  160. <param name="locked-sound" value="conference/conf-locked.wav"/>
  161. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  162. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  163. <param name="pin-sound" value="conference/conf-pin.wav"/>
  164. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  165. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  166. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  167. <param name="comfort-noise" value="true"/>
  168. <!-- <param name="conference-flags" value="video-floor-only|rfc-4579|livearray-sync|auto-3d-position|transcode-video|minimize-video-encoding"/> -->
  169. <!-- <param name="video-mode" value="mux"/> -->
  170. <!-- <param name="video-layout-name" value="3x3"/> -->
  171. <!-- <param name="video-layout-name" value="group:grid"/> -->
  172. <!-- <param name="video-canvas-size" value="1280x720"/> -->
  173. <!-- <param name="video-canvas-bgcolor" value="#333333"/> -->
  174. <!-- <param name="video-layout-bgcolor" value="#000000"/> -->
  175. <!-- <param name="video-codec-bandwidth" value="2mb"/> -->
  176. <!-- <param name="video-fps" value="15"/> -->
  177. <!-- <param name="video-auto-floor-msec" value="100"/> -->
  178. <!-- <param name="tts-engine" value="flite"/> -->
  179. <!-- <param name="tts-voice" value="kal16"/> -->
  180. </profile>
  181. <profile name="cdquality">
  182. <param name="domain" value="$${domain}"/>
  183. <param name="rate" value="48000"/>
  184. <param name="interval" value="20"/>
  185. <param name="energy-level" value="100"/>
  186. <!-- <param name="sound-prefix" value="$${sound_prefix}"/> -->
  187. <param name="muted-sound" value="conference/conf-muted.wav"/>
  188. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  189. <param name="alone-sound" value="conference/conf-alone.wav"/>
  190. <param name="moh-sound" value="$${hold_music}"/>
  191. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  192. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  193. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  194. <param name="locked-sound" value="conference/conf-locked.wav"/>
  195. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  196. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  197. <param name="pin-sound" value="conference/conf-pin.wav"/>
  198. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  199. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  200. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  201. <param name="comfort-noise" value="true"/>
  202. <!-- <param name="conference-flags" value="video-floor-only|rfc-4579|livearray-sync|auto-3d-position|minimize-video-encoding"/> -->
  203. <!-- <param name="video-mode" value="mux"/> -->
  204. <!-- <param name="video-layout-name" value="3x3"/> -->
  205. <!-- <param name="video-layout-name" value="group:grid"/> -->
  206. <!-- <param name="video-canvas-size" value="1920x1080"/> -->
  207. <!-- <param name="video-canvas-bgcolor" value="#333333"/> -->
  208. <!-- <param name="video-layout-bgcolor" value="#000000"/> -->
  209. <!-- <param name="video-codec-bandwidth" value="2mb"/> -->
  210. <!-- <param name="video-fps" value="15"/> -->
  211. </profile>
  212. <profile name="video-mcu-stereo">
  213. <param name="domain" value="$${domain}"/>
  214. <param name="rate" value="48000"/>
  215. <param name="channels" value="2"/>
  216. <param name="interval" value="20"/>
  217. <param name="energy-level" value="200"/>
  218. <!-- <param name="tts-engine" value="flite"/> -->
  219. <!-- <param name="tts-voice" value="kal16"/> -->
  220. <param name="muted-sound" value="conference/conf-muted.wav"/>
  221. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  222. <param name="alone-sound" value="conference/conf-alone.wav"/>
  223. <param name="moh-sound" value="$${hold_music}"/>
  224. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  225. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  226. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  227. <param name="locked-sound" value="conference/conf-locked.wav"/>
  228. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  229. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  230. <param name="pin-sound" value="conference/conf-pin.wav"/>
  231. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  232. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  233. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  234. <param name="comfort-noise" value="false"/>
  235. <param name="conference-flags" value="livearray-json-status|json-events|video-floor-only|rfc-4579|livearray-sync|minimize-video-encoding|manage-inbound-video-bitrate|video-required-for-canvas|video-mute-exit-canvas|mute-detect"/>
  236. <param name="video-auto-floor-msec" value="1000"/>
  237. <param name="video-mode" value="mux"/>
  238. <param name="video-layout-name" value="3x3"/>
  239. <param name="video-layout-name" value="group:grid"/>
  240. <param name="video-canvas-size" value="1920x1080"/>
  241. <param name="video-canvas-bgcolor" value="#333333"/>
  242. <param name="video-layout-bgcolor" value="#000000"/>
  243. <param name="video-codec-bandwidth" value="3mb"/>
  244. <param name="video-fps" value="30"/>
  245. <!-- <param name="video-codec-config-profile-name" value="conference"/> -->
  246. </profile>
  247. <profile name="video-mcu-stereo-720">
  248. <param name="domain" value="$${domain}"/>
  249. <param name="rate" value="48000"/>
  250. <param name="channels" value="2"/>
  251. <param name="interval" value="20"/>
  252. <param name="energy-level" value="200"/>
  253. <!-- <param name="tts-engine" value="flite"/> -->
  254. <!-- <param name="tts-voice" value="kal16"/> -->
  255. <param name="muted-sound" value="conference/conf-muted.wav"/>
  256. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  257. <param name="alone-sound" value="conference/conf-alone.wav"/>
  258. <param name="moh-sound" value="$${hold_music}"/>
  259. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  260. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  261. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  262. <param name="locked-sound" value="conference/conf-locked.wav"/>
  263. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  264. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  265. <param name="pin-sound" value="conference/conf-pin.wav"/>
  266. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  267. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  268. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  269. <param name="comfort-noise" value="false"/>
  270. <param name="conference-flags" value="livearray-json-status|json-events|video-floor-only|rfc-4579|livearray-sync|minimize-video-encoding|manage-inbound-video-bitrate|video-required-for-canvas|video-mute-exit-canvas|mute-detect"/>
  271. <param name="video-auto-floor-msec" value="1000"/>
  272. <param name="video-mode" value="mux"/>
  273. <param name="video-layout-name" value="3x3"/>
  274. <param name="video-layout-name" value="group:grid"/>
  275. <param name="video-canvas-size" value="1280x720"/>
  276. <param name="video-canvas-bgcolor" value="#333333"/>
  277. <param name="video-layout-bgcolor" value="#000000"/>
  278. <param name="video-codec-bandwidth" value="3mb"/>
  279. <param name="video-fps" value="30"/>
  280. </profile>
  281. <profile name="video-mcu-stereo-480">
  282. <param name="domain" value="$${domain}"/>
  283. <param name="rate" value="48000"/>
  284. <param name="channels" value="2"/>
  285. <param name="interval" value="20"/>
  286. <param name="energy-level" value="200"/>
  287. <!-- <param name="tts-engine" value="flite"/> -->
  288. <!-- <param name="tts-voice" value="kal16"/> -->
  289. <param name="muted-sound" value="conference/conf-muted.wav"/>
  290. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  291. <param name="alone-sound" value="conference/conf-alone.wav"/>
  292. <param name="moh-sound" value="$${hold_music}"/>
  293. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  294. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  295. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  296. <param name="locked-sound" value="conference/conf-locked.wav"/>
  297. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  298. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  299. <param name="pin-sound" value="conference/conf-pin.wav"/>
  300. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  301. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  302. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  303. <param name="comfort-noise" value="false"/>
  304. <param name="conference-flags" value="livearray-json-status|json-events|video-floor-only|rfc-4579|livearray-sync|minimize-video-encoding|manage-inbound-video-bitrate|video-required-for-canvas|video-mute-exit-canvas|mute-detect"/>
  305. <param name="video-auto-floor-msec" value="1000"/>
  306. <param name="video-mode" value="mux"/>
  307. <param name="video-layout-name" value="3x3"/>
  308. <param name="video-layout-name" value="group:grid"/>
  309. <param name="video-canvas-size" value="640x480"/>
  310. <param name="video-canvas-bgcolor" value="#333333"/>
  311. <param name="video-layout-bgcolor" value="#000000"/>
  312. <param name="video-codec-bandwidth" value="3mb"/>
  313. <param name="video-fps" value="30"/>
  314. </profile>
  315. <profile name="video-mcu-stereo-320">
  316. <param name="domain" value="$${domain}"/>
  317. <param name="rate" value="48000"/>
  318. <param name="channels" value="2"/>
  319. <param name="interval" value="20"/>
  320. <param name="energy-level" value="200"/>
  321. <!-- <param name="tts-engine" value="flite"/> -->
  322. <!-- <param name="tts-voice" value="kal16"/> -->
  323. <param name="muted-sound" value="conference/conf-muted.wav"/>
  324. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  325. <param name="alone-sound" value="conference/conf-alone.wav"/>
  326. <param name="moh-sound" value="$${hold_music}"/>
  327. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  328. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  329. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  330. <param name="locked-sound" value="conference/conf-locked.wav"/>
  331. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  332. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  333. <param name="pin-sound" value="conference/conf-pin.wav"/>
  334. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  335. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  336. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  337. <param name="comfort-noise" value="false"/>
  338. <param name="conference-flags" value="livearray-json-status|json-events|video-floor-only|rfc-4579|livearray-sync|minimize-video-encoding|manage-inbound-video-bitrate|video-required-for-canvas|video-mute-exit-canvas|mute-detect"/>
  339. <param name="video-auto-floor-msec" value="1000"/>
  340. <param name="video-mode" value="mux"/>
  341. <param name="video-layout-name" value="3x3"/>
  342. <param name="video-layout-name" value="group:grid"/>
  343. <param name="video-canvas-size" value="480x320"/>
  344. <param name="video-canvas-bgcolor" value="#333333"/>
  345. <param name="video-layout-bgcolor" value="#000000"/>
  346. <param name="video-codec-bandwidth" value="3mb"/>
  347. <param name="video-fps" value="30"/>
  348. </profile>
  349. <profile name="sla">
  350. <param name="domain" value="$${domain}"/>
  351. <param name="rate" value="16000"/>
  352. <param name="interval" value="20"/>
  353. <param name="caller-controls" value="none"/>
  354. <param name="energy-level" value="200"/>
  355. <param name="moh-sound" value="silence"/>
  356. <param name="comfort-noise" value="true"/>
  357. </profile>
  358. </profiles>
  359. </configuration>