summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-01-23 18:34:47 +0000
committerJonathan Rose <jrose@digium.com>2012-01-23 18:34:47 +0000
commitde09749470ceb17af6c6646115d447e0e54c75ee (patch)
treee3a49ec2e023df24a16dc2c9a71e327188f0302f /configs
parenta1bef6041dba6e0e6fd54766493e2006711a31d0 (diff)
Add an announcement option to music-on-hold - plays sound when put on hold/between songs
This is a feature patch which allows an 'announcement' option to be specified in musiconhold.conf which should be set to the name of a sound. If a valid sound is specified for this option, then it will be played on that music on hold class whenever a channel bound to that class is put on hold as well as when Asterisk is able to detect that a song has ended before starting the next song (excludes external players). (closes ASTERISK-18977) Reported by: Timo Teräs Patches: asterisk-moh-announcement.diff uploaded by Timo Teräs (license 5409) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/musiconhold.conf.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/musiconhold.conf.sample b/configs/musiconhold.conf.sample
index 9147588f1..1211c8a6d 100644
--- a/configs/musiconhold.conf.sample
+++ b/configs/musiconhold.conf.sample
@@ -52,6 +52,11 @@ directory=moh
;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.
+;announcement=queue-thankyou ;If this option is set for a class, then
+; ; when callers get put on hold, the specified sound will be
+; ; be played to them. Also, if using modes that Asterisk
+; ; controls the playlist for (files, mp3, etc), the same
+; ; sound will also be played between MOH songs.
;sort=random ; Sort the files in random order
;[native-alphabetical]