[asterisk-users] Music On Hold
    Idris AVCI 
    idris.avci at vodatech.com.tr
       
    Mon Feb  2 02:39:06 CST 2009
    
    
  
In my situation AMI is not an option. When somebdy puts a call on hold, on asterisk console I can see messages like "Started music on hold, class 'default', on SIP/XXXXXXXX" and "Started music on hold, class 'default', on SIP/XXXXXXXX". I guess the only way in my scenerio is to modify res_musiconhold.so.
Thanks for your help.
Idris
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ex Vito
Sent: Monday, February 02, 2009 5:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Music On Hold
On Fri, Jan 30, 2009 at 3:23 PM, Danny Nicholas <danny at debsinc.com> wrote:
> The dialplan AFAIK doesn't cover HOLD handling.  If you can spare the
> overhead, you can make a daemon to watch hints and run a script whenever the
> hint for a line goes to hold and changes from hold to inuse.  Just run
> "asterisk –rx "core show hints"" and "asterisk –rx "core show channels"" and
> integrate the 2 outputs.  For your purpose, you can probably just use the
> first command.
>
  You should instaed use the AMI and create an event based solution
  instead of relying on polling via "asterisk -rx" !...
  Check out:
  http://www.voip-info.org/wiki-Asterisk+manager+API
  http://www.voip-info.org/wiki/view/asterisk+manager+events
  Cheers,
--
  exvito
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
    
    
More information about the asterisk-users
mailing list