From df30de142cfc292e73b578439b7666f9b411fb01 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 1 Oct 2007 14:43:56 +0000 Subject: Add a new option for files-based music on hold to ensure that the sort order of the files is alphabetical. (closes issue #10855) Reported by: jamesgolovich Patches: asterisk-mohsortalpha.diff.txt uploaded by jamesgolovich (license 176) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84168 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/musiconhold.conf.sample | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/musiconhold.conf.sample b/configs/musiconhold.conf.sample index 239f4c0ad..dd80f58ca 100644 --- a/configs/musiconhold.conf.sample +++ b/configs/musiconhold.conf.sample @@ -39,11 +39,16 @@ directory=/var/lib/asterisk/moh ;[native-random] ;mode=files ;directory=/var/lib/asterisk/moh -;random=yes ; Play the files in a random order ;digit=# ; If this option is set for a class, then when callers are ; ; listening to music on hold, they can press this digit, and ; ; they will switch to listening to this music class. +;sort=random ; Sort the files in random order +;[native-alphabetical] +;mode=files +;directory=/var/lib/asterisk/moh +;sort=alpha ; Sort the files in alphabetical order. If this option is +; ; not specified, the sort order is undefined. ; ========= ; Other (non-native) playback methods -- cgit v1.2.3