<div>We developed something along these lines as a general solution that would not be linked to a specific channel types. This was needed as it would be very useful in call-center scenarios to keep track of channel holds done by agents, and as QueueMetrics implements this functionality, we would have liked to offer a general solution that could be of interest in many cases.<br>
</div><div><br></div><div>You can find it at <a href="https://issues.asterisk.org/jira/browse/ASTERISK-19319">https://issues.asterisk.org/jira/browse/ASTERISK-19319</a> - it was not accepted into the main trunk as it may be quite dangerous as it allows arbitrary code execution on a single thread, but if you are careful and you know what you are doing, it basically works.</div>
<div><br></div><div>So, as there is an actual need out there for something along these lines, if anybody has a better implementation idea, it would be great to share it :)</div><div><br></div><div>Thanks</div><div>l.</div>
<div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">2012/8/27 uma udupi <span dir="ltr"><<a href="mailto:umaudupi@yahoo.com" target="_blank">umaudupi@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Hi there,<br><br>I'm new to Asterisk. I need to call (from dialplan) a
macro or a gosub or an AGI upon one of the connected party in a bridged
call (on sip trunk) puts the call on HOLD. Anyhelp greatly appreciated<br><br>PS:
I looked into app_dial.c if I can capture AST_CONTROL_HOLD event, and
call a macro, however once ast_bridge_call() is called, Dial app does
not get mid-call events on the call (like
AST_CONTROL_HOLD/AST_CONTROL_UNHOLD)<br><br>I also tried to use frame_trigger.c but it didn't work too. I understand this is not a good approach.<br><br>Thanks,<br>Uma</div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div>Loway - home of QueueMetrics - <a href="http://queuemetrics.com" target="_blank">http://queuemetrics.com</a><br>
</div><div>
Test-drive WombatDialer alpha @ <a href="http://wombatdialer.com" target="_blank">http://wombatdialer.com</a>
</div><br>