aboutsummaryrefslogtreecommitdiffstats
path: root/configs/musiconhold.conf.sample
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-04 20:55:43 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-04 20:55:43 +0000
commit126fc0bc61bf06883a98c7cbd060a16662065c22 (patch)
tree2dbe3852f83cb3899a7cf4f57065af031f5a35b1 /configs/musiconhold.conf.sample
parentf5b9f5da8c865c6eb4002635940e216018275f02 (diff)
Load formats first (bug #3242)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4664 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/musiconhold.conf.sample')
-rwxr-xr-xconfigs/musiconhold.conf.sample23
1 files changed, 23 insertions, 0 deletions
diff --git a/configs/musiconhold.conf.sample b/configs/musiconhold.conf.sample
index 78e702251..b47ee749c 100755
--- a/configs/musiconhold.conf.sample
+++ b/configs/musiconhold.conf.sample
@@ -9,3 +9,26 @@ default => quietmp3:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters (specifically embedded spaces)
;manual => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
+
+;
+; 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.
+;
+[moh_files]
+;native => /var/lib/asterisk/moh-native
+;native-random => /var/lib/asterisk/moh-native,r