asterisk send mute command to jukebox on incoming call
        Posted  
        
            by Jona
        on Server Fault
        
        See other posts from Server Fault
        
            or by Jona
        
        
        
        Published on 2010-02-05T11:30:26Z
        Indexed on 
            2010/03/27
            18:03 UTC
        
        
        Read the original article
        Hit count: 447
        
Hi, We're trialling a Asterisk Now server to take over from our ageing PBX system. One of the "nice to have" features would be the ability to pause or lower the volume on the office jukebox if an incoming call is detected.
We currently run a linux jukebox which plays music out of the speakers using mpd and can be controlled by the mpc client. We can manually issue the following command to achieve this:
mpc volume 20
Does anyone know how to get asterisk to execute this command or some action that we could hook into when a phone call is incoming to specific extensions?
© Server Fault or respective owner