2 ; Music on Hold -- Sample Configuration
7 directory=/var/lib/asterisk/mohmp3
13 ; quietmp3nb -- quiet unbuffered
14 ; custom -- run a custom application
15 ; files -- read files from a directory in any Asterisk supported format
19 ; Note that with mode=custom, a directory is not required, such as when reading
21 ;directory=/var/lib/asterisk/mohmp3
22 ;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
26 ;application=/usr/bin/streamplayer 80.254.173.176 888
29 ; mpg123 on Solaris does not always exit properly; madplay may be a better choice
32 ;directory=/var/lib/asterisk/mohmp3
33 ;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
37 ; File-based (native) music on hold
39 ; This plays files directly from the specified directory, no external
40 ; processes are required. Files are played in normal sorting order
41 ; (same as a sorted directory listing), and no volume or other
42 ; sound adjustments are available. If the file is available in
43 ; the same format as the channel's codec, then it will be played
44 ; without transcoding (same as Playback would do in the dialplan).
45 ; Files can be present in as many formats as you wish, and the
46 ; 'best' format will be chosen at playback time.
49 ; If you are not using "autoload" in modules.conf, then you
50 ; must ensure that the format modules for any formats you wish
51 ; to use are loaded _before_ res_musiconhold. If you do not do
52 ; this, res_musiconhold will skip the files it is not able to
53 ; understand when it loads.
58 ;directory=/var/lib/asterisk/moh-native
62 ;directory=/var/lib/asterisk/moh-native
63 ;random=yes ; Play the files in a random order