Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-25 Thread Ludovic Gasc
Hi Amit, I'd some daemons that use AsyncAGI, but now, I use FastAGI again because: 1. Asterisk must call the daemon via socket: the realibility of this socket indicates implicitly that the daemon is alive and answer. 2. With FastAGI, it's really easy to implement the multi-worker pattern with

Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-23 Thread Matthew Jordan
On Wed, Sep 21, 2016 at 9:27 AM, Amit Patkar wrote: > Thanks Mathew. I understand that there is no coordination between AsyncAGI & > AMI. > Is there any dial plan function which can tell us if there is active AMI > session? > Assuming you know the client name (login name), you

Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-21 Thread Amit Patkar
Thanks Mathew. I understand that there is no coordination between AsyncAGI & AMI. Is there any dial plan function which can tell us if there is active AMI session? Thanks & Regards, Amit Patkar On 9/21/2016 6:27 PM, Matthew Jordan wrote: On Tue, Sep 20, 2016 at 10:49 PM, Amit

Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-21 Thread Matthew Jordan
On Tue, Sep 20, 2016 at 10:49 PM, Amit Patkar wrote: > It means, AMI application is no more running or crashed or lost network > connection with asterisk server. > In such cases call is neither answered nor disconnected by Asterisk. I want > to detect such state and jump to next

Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-20 Thread Amit Patkar
It means, AMI application is no more running or crashed or lost network connection with asterisk server. 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 Regards Amit Patkar On September

Re: [asterisk-users] AsyncAGI - How to jump in dial plan when no action initiated on channel or AMI user is disconnected

2016-09-20 Thread Matthew Jordan
On Sat, Sep 17, 2016 at 6:26 AM, Amit Patkar wrote: > Hi > > Is there any way to detect inactivity on channel when AsyncAGI is used? > I want to detect whether application handling calls using AMI & AGI has > stopped responding. What do you mean by "stopped responding"? >