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

Matthew Jordan mjordan at digium.com
Fri Sep 23 13:45:04 CDT 2016


On Wed, Sep 21, 2016 at 9:27 AM, Amit Patkar <amit at avhan.com> 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 can use the
AMI_CLIENT [1] dialplan function to retrieve the number of sessions
they have currently established.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_AMI_CLIENT

-- 
Matthew Jordan
Digium, Inc. | CTO
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list