On Mon, Feb 2, 2009 at 8:39 AM, Idris AVCI <[email protected]> wrote: > 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. >
...and for each of those console messages an AMI event is fired; it should be relatively simple to attach script execution to those events. Also, I confess that I'm curious as to what environment you're running where using AMI is not an option but hacking res_musiconhold.so is... Good luck, anyway. -- 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
