<p dir="ltr">Hi Amit,</p>
<p dir="ltr">I'd some daemons that use AsyncAGI, but now, I use FastAGI again because:</p>
<p dir="ltr">1. Asterisk must call the daemon via socket: the realibility of this socket indicates implicitly that the daemon is alive and answer.</p>
<p dir="ltr">2. With FastAGI, it's really easy to implement the multi-worker pattern with pre-fork socket like with a http server to distribute the load.<br>
With AsyncAGI, it needs more work and you have a spof with the dispatcher.<br>
In fact, with FastAGI, the dispatcher is the Linux kernel itself, less risks of bugs.</p>
<p dir="ltr">My personal conclusion is: even if AsyncAGI is younger than FastAGI, it doesn't seem that it's always better in all situations ;-)</p>
<p dir="ltr">Have a nice week at Astricon. <br>
--<br>
Ludovic Gasc (GMLudo)<br>
<a href="http://www.gmludo.eu/">http://www.gmludo.eu/</a></p>
<p dir="ltr">2016-09-21 5:49 GMT+02:00 Amit Patkar <<a href="mailto:amit@avhan.com">amit@avhan.com</a>>:<br>
</p>
<blockquote><p dir="ltr">><br>
</p>
</blockquote>
<p dir="ltr">> It means, AMI application is no more running or crashed or lost network connection with asterisk server.<br>
> In such cases call is neither answered nor disconnected by Asterisk. I want to detect such state and jump to next dial plan to answer or reject the calls<br>
><br>
> Regards<br>
<font color="#888888">> Amit Patkar</font><br>
><br>
> On September 20, 2016 8:07:23 PM GMT+05:30, Matthew Jordan <<a href="mailto:mjordan@digium.com">mjordan@digium.com</a>> wrote:</p>
<blockquote><p dir="ltr"><br>
</p>
</blockquote>
<p dir="ltr">>><br>
>> On Sat, Sep 17, 2016 at 6:26 AM, Amit Patkar <<a href="mailto:amit@avhan.com">amit@avhan.com</a>> wrote:<br>
</p>
<blockquote><p dir="ltr">>>><br>
</p>
</blockquote>
<p dir="ltr">>>>  Hi<br>
>>><br>
>>>  Is there any way to detect inactivity on channel when AsyncAGI is used?<br>
>>>  I want to detect whether application handling calls using AMI & AGI has<br>
>>>  stopped responding.<br>
>><br>
>><br>
>> What do you mean by "stopped responding"?<br>
>><br>
</p>
<blockquote><p dir="ltr">>>>  Alternatively, how can dialplan check if there is any AMI user connected and<br>
</p>
</blockquote>
<p dir="ltr">>>>  decide dial plan execution?<br>
>>><br>
>>>  Thanks & Regards,<br>
>>>  Amit Patkar<br>
><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by<a href="http://www.api-digital.com"> http://www.api-digital.com</a> --<br>
><br>
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016<br>
>      <a href="http://www.asterisk.org/community/astricon-user-conference"> http://www.asterisk.org/community/astricon-user-conference</a><br>
><br>
> New to Asterisk? Start here:<br>
>      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"> https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
>    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></p>