2
0

conference.conf.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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="300"/>
  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 success -->
  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 ae 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. </profile>
  121. <profile name="wideband">
  122. <param name="domain" value="$${domain}"/>
  123. <param name="rate" value="16000"/>
  124. <param name="interval" value="20"/>
  125. <param name="energy-level" value="300"/>
  126. <!--<param name="sound-prefix" value="$${sound_prefix}"/>-->
  127. <param name="muted-sound" value="conference/conf-muted.wav"/>
  128. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  129. <param name="alone-sound" value="conference/conf-alone.wav"/>
  130. <param name="moh-sound" value="$${hold_music}"/>
  131. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  132. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  133. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  134. <param name="locked-sound" value="conference/conf-locked.wav"/>
  135. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  136. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  137. <param name="pin-sound" value="conference/conf-pin.wav"/>
  138. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  139. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  140. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  141. <param name="comfort-noise" value="true"/>
  142. <!--<param name="tts-engine" value="flite"/>-->
  143. <!--<param name="tts-voice" value="kal16"/>-->
  144. </profile>
  145. <profile name="ultrawideband">
  146. <param name="domain" value="$${domain}"/>
  147. <param name="rate" value="32000"/>
  148. <param name="interval" value="20"/>
  149. <param name="energy-level" value="300"/>
  150. <!--<param name="sound-prefix" value="$${sound_prefix}"/>-->
  151. <param name="muted-sound" value="conference/conf-muted.wav"/>
  152. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  153. <param name="alone-sound" value="conference/conf-alone.wav"/>
  154. <param name="moh-sound" value="$${hold_music}"/>
  155. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  156. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  157. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  158. <param name="locked-sound" value="conference/conf-locked.wav"/>
  159. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  160. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  161. <param name="pin-sound" value="conference/conf-pin.wav"/>
  162. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  163. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  164. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  165. <param name="comfort-noise" value="true"/>
  166. <!--<param name="tts-engine" value="flite"/>-->
  167. <!--<param name="tts-voice" value="kal16"/>-->
  168. </profile>
  169. <profile name="cdquality">
  170. <param name="domain" value="$${domain}"/>
  171. <param name="rate" value="48000"/>
  172. <param name="interval" value="10"/>
  173. <param name="energy-level" value="300"/>
  174. <!--<param name="sound-prefix" value="$${sound_prefix}"/>-->
  175. <param name="muted-sound" value="conference/conf-muted.wav"/>
  176. <param name="unmuted-sound" value="conference/conf-unmuted.wav"/>
  177. <param name="alone-sound" value="conference/conf-alone.wav"/>
  178. <param name="moh-sound" value="$${hold_music}"/>
  179. <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/>
  180. <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/>
  181. <param name="kicked-sound" value="conference/conf-kicked.wav"/>
  182. <param name="locked-sound" value="conference/conf-locked.wav"/>
  183. <param name="is-locked-sound" value="conference/conf-is-locked.wav"/>
  184. <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/>
  185. <param name="pin-sound" value="conference/conf-pin.wav"/>
  186. <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/>
  187. <param name="caller-id-name" value="$${outbound_caller_name}"/>
  188. <param name="caller-id-number" value="$${outbound_caller_id}"/>
  189. <param name="comfort-noise" value="true"/>
  190. </profile>
  191. <profile name="sla">
  192. <param name="domain" value="$${domain}"/>
  193. <param name="rate" value="16000"/>
  194. <param name="interval" value="20"/>
  195. <param name="caller-controls" value="none"/>
  196. <param name="energy-level" value="200"/>
  197. <param name="moh-sound" value="silence"/>
  198. <param name="comfort-noise" value="true"/>
  199. <param name="min-required-recording-participants" value="1"/>
  200. </profile>
  201. </profiles>
  202. </configuration>