Summary:ASTERISK-03619: Add StartMusicOnHold and StopMusicOnHold
Reporter:Christopher L. Wade (clwade)Labels:
Date Opened:2005-03-02 13:09:04.000-0600Date Closed:2008-01-15 15:26:44.000-0600
Versions:Frequency of
Environment:Attachments:( 0) res_features_moh.diff.txt
( 1) res_features_moh.diff.v2.txt
Description:Allow you to start and stop music-on-hold from the dialplan.  Use this any way you like.

 -= Info about application 'StartMusicOnHold' =-

Play Music On Hold

StartMusicOnHold: Starts playing music on hold, uses default music class for channel.

 -= Info about application 'StopMusicOnHold' =-

Stop Playing Music On Hold

StopMusicOnHold: Stops playing music on hold.


disclaimer on file
Comments:By: Russell Bryant (russell) 2005-03-02 16:15:31.000-0600

What about using a couple of flags to the MusicOnHold application?

By: Christopher L. Wade (clwade) 2005-03-02 18:28:21.000-0600

done... v2 just adds a flag to 'MusicOnHold', probably need to update the documentation for 'MusicOnHold' if this goes in, but I won't bother doing that until Mark says he is ok with this patch.

also, this still needs to verified as a safe idea in general.

By: Mark Spencer (markster) 2005-03-02 22:46:38.000-0600

I thought the first version was better actually :)  Simpler, does what it says.

By: Mark Spencer (markster) 2005-03-02 23:05:33.000-0600

Added to CVS with minor mods.  Thanks!

By: Russell Bryant (russell) 2005-03-03 03:23:47.000-0600

cool apps, Thanks :)

not included in 1.0 since they are new features

By: Digium Subversion (svnbot) 2008-01-15 15:26:44.000-0600

Repository: asterisk
Revision: 5124

U   trunk/res/res_musiconhold.c

r5124 | markster | 2008-01-15 15:26:43 -0600 (Tue, 15 Jan 2008) | 2 lines

Add "StartMusicOnHold and "StopMusicOnHold" apps (bug ASTERISK-3619)