diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-22 18:52:59 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-22 18:52:59 +0000 |
commit | 1006ff5169db3009dc9393e6fcec86cc237f9d70 (patch) | |
tree | 0b80c8fbda6ded9579e3eb8fe8e9928fc7a8d1e3 /configs/musiconhold.conf.sample | |
parent | d555f6d9759e1a16a092330d346c098b8a45ce23 (diff) |
Add a new feature for Music on Hold. If you set the "digit" option for a
class in musiconhold.conf, a caller on hold may press this digit to switch
to listening to that music class.
This involved adding a new callback for generators, which allow generators
to get notified of DTMF from the channel they are running on. Then, a callback
was implemented for the music on hold generators.
(patch from bbryant)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65505 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/musiconhold.conf.sample')
-rw-r--r-- | configs/musiconhold.conf.sample | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/musiconhold.conf.sample b/configs/musiconhold.conf.sample index e485552c1..239f4c0ad 100644 --- a/configs/musiconhold.conf.sample +++ b/configs/musiconhold.conf.sample @@ -39,7 +39,10 @@ directory=/var/lib/asterisk/moh ;[native-random] ;mode=files ;directory=/var/lib/asterisk/moh -;random=yes ; Play the files in a random order +;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. ; ========= |