1.1 --- a/asterisk/musiconhold.conf Sun Mar 20 19:27:35 2011 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,66 +0,0 @@ 1.4 -; 1.5 -; Music on Hold -- Sample Configuration 1.6 -; 1.7 - 1.8 -; valid mode options: 1.9 -; files -- read files from a directory in any Asterisk supported 1.10 -; media format 1.11 -; quietmp3 -- default 1.12 -; mp3 -- loud 1.13 -; mp3nb -- unbuffered 1.14 -; quietmp3nb -- quiet unbuffered 1.15 -; custom -- run a custom application (See examples below) 1.16 - 1.17 -; ========= 1.18 -; File-based (native) music on hold 1.19 -; ========= 1.20 -; 1.21 -; This plays files directly from the specified directory, no external 1.22 -; processes are required. Files are played in normal sorting order 1.23 -; (same as a sorted directory listing), and no volume or other 1.24 -; sound adjustments are available. If the file is available in 1.25 -; the same format as the channel's codec, then it will be played 1.26 -; without transcoding (same as Playback would do in the dialplan). 1.27 -; Files can be present in as many formats as you wish, and the 1.28 -; 'best' format will be chosen at playback time. 1.29 -; 1.30 -; NOTE: 1.31 -; If you are not using "autoload" in modules.conf, then you 1.32 -; must ensure that the format modules for any formats you wish 1.33 -; to use are loaded _before_ res_musiconhold. If you do not do 1.34 -; this, res_musiconhold will skip the files it is not able to 1.35 -; understand when it loads. 1.36 -; 1.37 - 1.38 -;[default] 1.39 -;mode=files 1.40 -;directory=/var/lib/asterisk/moh 1.41 -; 1.42 -;[native-random] 1.43 -;mode=files 1.44 -;directory=/var/lib/asterisk/moh 1.45 -;random=yes ; Play the files in a random order 1.46 - 1.47 - 1.48 -; ========= 1.49 -; Other (non-native) playback methods 1.50 -; ========= 1.51 - 1.52 -;[manual] 1.53 -;mode=custom 1.54 -; Note that with mode=custom, a directory is not required, such as when reading 1.55 -; from a stream. 1.56 -;directory=/var/lib/asterisk/mohmp3 1.57 -;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s 1.58 - 1.59 -;[ulawstream] 1.60 -;mode=custom 1.61 -;application=/usr/bin/streamplayer 192.168.100.52 888 1.62 -;format=ulaw 1.63 - 1.64 -; mpg123 on Solaris does not always exit properly; madplay may be a better 1.65 -; choice 1.66 -;[solaris] 1.67 -;mode=custom 1.68 -;directory=/var/lib/asterisk/mohmp3 1.69 -;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12