musiconhold.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ;!
  2. ;! Automatically generated configuration file
  3. ;! Filename: musiconhold.conf (/etc/asterisk/musiconhold.conf)
  4. ;! Generator: Manager
  5. ;! Creation Date: Fri May 4 02:20:19 2012
  6. ;!
  7. ;
  8. ; Music on Hold -- Sample Configuration
  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. ; File-based (native) music on hold
  20. ; =========
  21. ;
  22. ; This plays files directly from the specified directory, no external
  23. ; processes are required. Files are played in normal sorting order
  24. ; (same as a sorted directory listing), and no volume or other
  25. ; sound adjustments are available. If the file is available in
  26. ; the same format as the channel's codec, then it will be played
  27. ; without transcoding (same as Playback would do in the dialplan).
  28. ; Files can be present in as many formats as you wish, and the
  29. ; 'best' format will be chosen at playback time.
  30. ;
  31. ; NOTE:
  32. ; If you are not using "autoload" in modules.conf, then you
  33. ; must ensure that the format modules for any formats you wish
  34. ; to use are loaded _before_ res_musiconhold. If you do not do
  35. ; this, res_musiconhold will skip the files it is not able to
  36. ; understand when it loads.
  37. ;
  38. [default]
  39. mode = files
  40. directory = /var/lib/asterisk/sounds/moh/moh1
  41. random = yes
  42. [ringback]
  43. mode = files
  44. directory = /var/lib/asterisk/sounds/moh/moh1
  45. random = yes
  46. [queuemusic]
  47. mode = files
  48. directory = /var/lib/asterisk/sounds/moh/moh1
  49. random = yes