summaryrefslogtreecommitdiffstats
path: root/musiconhold.conf
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2009-10-12 22:54:13 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2009-10-12 22:54:13 -0500
commit7ec6acb6cb3ab5b3740d02a66146a8cf1925bd8a (patch)
treeddc37bcc1237bbe67dd88c26b192349349d5b5ed /musiconhold.conf
downloadftalk-asterisk-configs-7ec6acb6cb3ab5b3740d02a66146a8cf1925bd8a.tar.gz
ftalk-asterisk-configs-7ec6acb6cb3ab5b3740d02a66146a8cf1925bd8a.tar.xz
ftalk-asterisk-configs-7ec6acb6cb3ab5b3740d02a66146a8cf1925bd8a.zip
Sanitized configs from Fedora TalkHEADmaster
Diffstat (limited to 'musiconhold.conf')
-rw-r--r--musiconhold.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/musiconhold.conf b/musiconhold.conf
new file mode 100644
index 0000000..e485552
--- /dev/null
+++ b/musiconhold.conf
@@ -0,0 +1,66 @@
+;
+; Music on Hold -- Sample Configuration
+;
+
+; valid mode options:
+; files -- read files from a directory in any Asterisk supported
+; media format
+; quietmp3 -- default
+; mp3 -- loud
+; mp3nb -- unbuffered
+; quietmp3nb -- quiet unbuffered
+; custom -- run a custom application (See examples below)
+
+; =========
+; File-based (native) music on hold
+; =========
+;
+; This plays files directly from the specified directory, no external
+; processes are required. Files are played in normal sorting order
+; (same as a sorted directory listing), and no volume or other
+; sound adjustments are available. If the file is available in
+; the same format as the channel's codec, then it will be played
+; without transcoding (same as Playback would do in the dialplan).
+; Files can be present in as many formats as you wish, and the
+; 'best' format will be chosen at playback time.
+;
+; NOTE:
+; If you are not using "autoload" in modules.conf, then you
+; must ensure that the format modules for any formats you wish
+; to use are loaded _before_ res_musiconhold. If you do not do
+; this, res_musiconhold will skip the files it is not able to
+; understand when it loads.
+;
+
+[default]
+mode=files
+directory=/var/lib/asterisk/moh
+;
+;[native-random]
+;mode=files
+;directory=/var/lib/asterisk/moh
+;random=yes ; Play the files in a random order
+
+
+; =========
+; Other (non-native) playback methods
+; =========
+
+;[manual]
+;mode=custom
+; Note that with mode=custom, a directory is not required, such as when reading
+; from a stream.
+;directory=/var/lib/asterisk/mohmp3
+;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
+
+;[ulawstream]
+;mode=custom
+;application=/usr/bin/streamplayer 192.168.100.52 888
+;format=ulaw
+
+; mpg123 on Solaris does not always exit properly; madplay may be a better
+; choice
+;[solaris]
+;mode=custom
+;directory=/var/lib/asterisk/mohmp3
+;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12