[asterisk-dev] Need to run an AGI from dialplan only upon call hold

uma udupi umaudupi at yahoo.com
Fri Aug 31 11:14:08 CDT 2012


My requirement is NOT to play MOH, but play something else (that could be an IVR, asking for some input from the party being held). With AMI I don't know if I can achieve the same - It looks like musiconhold event is triggered upon starting the MOH, and also as an AMI will I have control over the media streams?



________________________________
 From: Olle E. Johansson <oej at edvina.net>
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com> 
Cc: Olle E. Johansson <oej at edvina.net>; uma udupi <umaudupi at yahoo.com> 
Sent: Friday, August 31, 2012 1:09 AM
Subject: Re: [asterisk-dev] Need to run an AGI from dialplan only upon call hold
 

31 aug 2012 kl. 10:08 skrev Olle E. Johansson <oej at edvina.net>:

> During a call hold the call is still in a bridge and can't really execute the dialplan without serious effects. Call hold is just a media state.
> 
> Brainstorming, we could implement a function where a call hold breaks the bridge and each call leg goes back to the dialplan (HOLD_CONTEXT) to do some cool things instead of being on hold. The problem then is what unhold means and how to explain to the phones (that are on hold state) what you want to do.
> 
> Better would be to develop an AMI client that makes the decision for you on what you want to do with the call.

Confused by my mailer... Or just Friday morning lazyness. Sorry. Noticed that Matt has provided more or less the same answer.

/O ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120831/df7bd860/attachment.htm>


More information about the asterisk-dev mailing list