<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Moy, <br>
many thanks for clarifying. I'll do some further investigations about
it and I'll post the result here.<br>
Regards<br>
Jose<br>
<br>
<br>
Moises Silva escribió:
<blockquote
cite="mid:c4d05cbe0906190731v78b198a4pdac32d54963abdc5@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Jun 19, 2009 at 5:32 AM, Jose Arias<a class="moz-txt-link-rfc2396E" href="mailto:cyr2242@gmail.com"><cyr2242@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Moy,
I'm using an asterisk 1.4.18 from scratch patched with the last AsyncAGI
patch, which fixes a bug about stopping AsyncAGI applications, as may be you
can recall from the thread [asterisk-users] async agi question in
<a class="moz-txt-link-freetext" href="http://lists.digium.com/pipermail/asterisk-users/2009-April/230488.html">http://lists.digium.com/pipermail/asterisk-users/2009-April/230488.html</a>.
This patched asterisk works fine and it stops the async agi applications
launched from the AsyncAGI loop before the Redirect as it's expected. It's
for that I don't think stopping the mixmonitor application launched from the
AsyncAGI loop would be a bug if I redirect the call. I would be only getting
the same behavior than I got with the stream file application as you
explained it should be at
<a class="moz-txt-link-freetext" href="http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-365">http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/#comment-365</a>
I'm only asking if there's any way to prevent stopping applications launched
on a channel from the AsyncAGI loop if this channel is redirected afterward,
with something like a continue_running_in_background flag in the previous
AGI invocation from AMI. Of course, it bring us the problem we'll need some
kind of identifier and some stop action to be able to stop those
applications running in background launched from the AsyncAGI loop
Anyway, as you asked me some days ago, I have published at
<a class="moz-txt-link-freetext" href="http://docs.google.com/View?id=ahfnfrcrh3rr_4dkcx9dgw">http://docs.google.com/View?id=ahfnfrcrh3rr_4dkcx9dgw</a> a simple configuration
and a simple scenario in order you can try to reproduce what I'm saying.
I don't need anyone to do anything for me. I'm willing to do the work, I
like programming and trying new things as well, but I'll need some
guidelines to go straight ahead.
</pre>
</blockquote>
<pre wrap=""><!---->
Jose, the thing is that MixMonitor IS a background application in
nature, that's why I say is unexpected that after a redirect the
recording no longer works. In fact, that's why StopMixMonitor
application is needed, because all MixMonitor does is to launch a
background thread that hooks into the channel audio, then the channel
continues to execute other applications in the dial plan while this
background thread monitors its audio, on a redirect StopMixMonitor
thread should continue saving audio until StopMixMonitor is called.
</pre>
</blockquote>
<br>
</body>
</html>