> I’ve built a custom application for our call center and am having one > problem. Unfortunately certain things happen whilst the agent has > the customer on hold which I’d like to work around. But I can’t work > out how to catch the actual hold event so I can do something about > it. From the console with verbosity on 12, all I can see is: > > -- Started music on hold, class 'default', on SIP/trunk-00009546 > > -- Started music on hold, class 'default', on SIP/100-00009547 > > > > I’m happy to try and catch this AGI or via manager if needed, however > a dialplan based solution would be best.
You will need to monitor AMI for MusicOnHold start/stop events. Dialplan normally executes before a call is connected/bridged. AGI is really an external form of dialplan execution. Richard -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users