2002-05-12 11:48:14 +00:00
|
|
|
;
|
|
|
|
; Music on hold class definitions
|
|
|
|
;
|
|
|
|
[classes]
|
2004-08-01 14:19:04 +00:00
|
|
|
default => quietmp3:/var/lib/asterisk/mohmp3
|
2002-05-12 11:48:14 +00:00
|
|
|
;loud => mp3:/var/lib/asterisk/mohmp3
|
|
|
|
;random => quietmp3:/var/lib/asterisk/mohmp3,-z
|
2004-04-29 03:36:46 +00:00
|
|
|
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
|
|
|
|
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
|
2004-07-17 20:12:28 +00:00
|
|
|
; 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
|
2005-07-08 15:04:01 +00:00
|
|
|
; For a custom app, reading from a directory may not be necessary
|
|
|
|
;manual => custom:nodir,/bin/my-dirless-app myarg
|
2005-01-04 20:55:43 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
; 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
|