[asterisk-users] dialplan =>how many concurrent calls

Asghar Mohammad asghar144 at gmail.com
Thu Jul 10 08:35:31 CDT 2014


you can use GROUP and GROUP_COUNT

n,Set(GROUP()=aname)
n,GotoIf($[${GROUP_COUNT(aname)} > 8]?${EXTEN},200)
200,Hangup


On Thu, Jul 10, 2014 at 3:24 PM, Rafael Visser <visser.rafael at gmail.com>
wrote:

> Hi guys.
>
> Does somebody knows how to get the concurrent calls from the dial plan?
>
> Or.
>
> How can i control not to run more than n simultaneus agi applications?
>
> Thanks in advance.
> rv
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140710/92a639f9/attachment.html>


More information about the asterisk-users mailing list