TEXT   12

musiconhold (4).conf

Guest on 14th May 2021 01:06:10 PM

  1. ;
  2. ; Music on Hold -- Sample Configuration
  3. ;
  4. [general]
  5. ;cachertclasses=yes ; use 1 instance of moh class for all users who are using it,
  6.                     ; decrease consumable cpu cycles and memory
  7.                     ; disabled by default
  8.  
  9.  
  10. ; valid mode options:
  11. ; files           -- read files from a directory in any Asterisk supported
  12. ;              media format
  13. ; quietmp3  -- default
  14. ; mp3             -- loud
  15. ; mp3nb           -- unbuffered
  16. ; quietmp3nb      -- quiet unbuffered
  17. ; custom    -- run a custom application (See examples below)
  18.  
  19. ; =========
  20. ; File-based (native) music on hold
  21. ; =========
  22. ;
  23. ; This plays files directly from the specified directory, no external
  24. ; processes are required. Files are played in normal sorting order
  25. ; (same as a sorted directory listing), and no volume or other
  26. ; sound adjustments are available. If the file is available in
  27. ; the same format as the channel's codec, then it will be played
  28. ; without transcoding (same as Playback would do in the dialplan).
  29. ; Files can be present in as many formats as you wish, and the
  30. ; 'best' format will be chosen at playback time.
  31. ;
  32. ; The path specified can be either an absolute path (starts with '/'),
  33. ; or a relative path; relative paths are interpreted as being relative
  34. ; to the 'astvarlibdir' in asterisk.conf, which defaults to
  35. ; /var/lib/asterisk.
  36. ;
  37. ; NOTE:
  38. ; If you are not using "autoload" in modules.conf, then you
  39. ; must ensure that the format modules for any formats you wish
  40. ; to use are loaded _before_ res_musiconhold. If you do not do
  41. ; this, res_musiconhold will skip the files it is not able to
  42. ; understand when it loads.
  43. ;
  44.  
  45. [default]
  46. ;mode=files
  47. ;directory=moh
  48. ;
  49. ;[native-random]
  50. ;mode=files
  51. ;directory=moh
  52. ;digit=#        ; If this option is set for a class, then when callers are
  53. ;               ; listening to music on hold, they can press this digit, and
  54. ;               ; they will switch to listening to this music class.
  55. ;sort=random    ; Sort the files in random order
  56.  
  57. ;[native-alphabetical]
  58. ;mode=files
  59. ;directory=moh
  60. ;sort=alpha     ; Sort the files in alphabetical order.  If this option is
  61. ;               ; not specified, the sort order is undefined.
  62.  
  63. ; =========
  64. ; Other (non-native) playback methods
  65. ; =========
  66.  
  67. ;[manual]
  68. ;mode=custom
  69. ; Note that with mode=custom, a directory is not required, such as when reading
  70. ; from a stream.
  71. ;directory=/var/lib/asterisk/mohmp3
  72. ;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
  73.  
  74. ;[ulawstream]
  75. ;mode=custom
  76. ;application=/usr/bin/streamplayer 192.168.100.52 888
  77. ;format=ulaw
  78.  
  79. ; mpg123 on Solaris does not always exit properly; madplay may be a better
  80. ; choice
  81. ;[solaris]
  82. mode=custom
  83. directory=/var/lib/asterisk/moh
  84. application=/usr/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
  85.  
  86. [musicledzeppelin]
  87. mode=custom
  88. directory=/var/lib/asterisk/moh/ledzeppelin
  89. application=/usr/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
  90. sort=alpha
  91.  
  92. [musicpinkfloyd]
  93. mode=custom
  94. directory=/var/lib/asterisk/moh/pinkfloyd
  95. application=/usr/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
  96. sort=alpha
  97.  
  98. [musicstormsales]
  99. mode=files
  100. directory=/var/lib/asterisk/moh/stormsales
  101. sort=random
  102.  
  103. [musicstormaccounts]
  104. mode=files
  105. directory=/var/lib/asterisk/moh/stormaccounts
  106. sort=random
  107.  
  108. [musicstormsupport]
  109. mode=files
  110. directory=/var/lib/asterisk/moh/stormsupport
  111. sort=random
  112.  
  113. [musiconholdbeep]
  114. mode=files
  115. directory=/var/lib/asterisk/moh/onholdbeep
  116. sort=random
  117.  
  118. [musicpurpleprop]
  119. mode=files
  120. directory=/var/lib/asterisk/moh/purpleprop
  121. sort=random
  122.  
  123. [musicsimring]
  124. mode=files
  125. directory=/var/lib/asterisk/moh/simring
  126. sort=random
  127.  
  128. [musicsenua]
  129. mode=files
  130. directory=/var/lib/asterisk/moh/satandcable
  131. sort=random
  132.  
  133. [musicexcelcurrencies]
  134. mode=files
  135. directory=/var/lib/asterisk/moh/satandcable
  136. sort=random
  137.  
  138. [musicracquetdepot]
  139. mode=files
  140. directory=/var/lib/asterisk/moh/racquetdepot
  141. sort=random
  142. random=yes
  143.  
  144. [musicsimring]
  145. mode=files
  146. directory=/var/lib/asterisk/moh/simring
  147. sort=random
  148.  
  149. [musicc21birmingham]
  150. mode=files
  151. directory=/var/lib/asterisk/moh/c21birmingham
  152. sort=random
  153.  
  154. [musicexcelcurrencies]
  155. mode=files
  156. directory=/var/lib/asterisk/moh/excelcurrencies
  157. sort=random
  158.  
  159. [musicllanisolar]
  160. mode=files
  161. directory=/var/lib/asterisk/moh/llanisolar
  162. sort=random
  163.  
  164. [musicresponsesec1]
  165. mode=files
  166. directory=/var/lib/asterisk/moh/responsesec1
  167. sort=random
  168.  
  169. [musicflowerstation]
  170. mode=files
  171. directory=/var/lib/asterisk/moh/flowerstation
  172. sort=random
  173.  
  174. [musicmoyses]
  175. mode=files
  176. directory=/var/lib/asterisk/moh/moysesstevens
  177. sort=random
  178.  
  179. [musicvenus]
  180. mode=files
  181. directory=/var/lib/asterisk/moh/venusvehicles
  182. sort=random
  183.  
  184. [musichsestates]
  185. mode=files
  186. directory=/var/lib/asterisk/moh/hsestates
  187. sort=random
  188.  
  189. [musictruckandplant]
  190. mode=files
  191. directory=/var/lib/asterisk/moh/truckandplant
  192.  
  193. [musicwarpedpb]
  194. mode=files
  195. directory=/var/lib/asterisk/moh/warpedpb
  196.  
  197. [musicracquetdepot]
  198. mode=files
  199. directory=/var/lib/asterisk/moh/racquetdepot
  200. sort=random
  201. random=yes
  202.  
  203. [music2wheeljunkie]
  204. mode=files
  205. directory=/var/lib/asterisk/moh/2wheeljunkie
  206. sort=random
  207.  
  208. [musicfalcon]
  209. mode=files
  210. directory=/var/lib/asterisk/moh/falconinsurance
  211. sort=random
  212.  
  213. [musicproswim]
  214. mode=files
  215. directory=/var/lib/asterisk/moh/proswimwear
  216. sort=random
  217.  
  218. [musictyremedic]
  219. mode=files
  220. directory=/var/lib/asterisk/moh/tyremedic
  221. sort=random
  222.  
  223. [musicjamesduggan]
  224. mode=files
  225. directory=/var/lib/asterisk/moh/jamesduggan
  226. sort=random

Raw Paste


Login or Register to edit or fork this paste. It's free.