[Freeswitch-users] Active Calls on a gateway

Rupa Schomaker rupa at rupa.com
Fri Jul 23 06:42:40 PDT 2010


Just remember that transferring will remove the limit(s) unless you set the
channel var limit_ignore_transfer to true.  So if you handle the incoming
call to your gateway in the public context and then transfer to user/foo for
instance, you'll want to set that channel var to ensure the count survives.

On Fri, Jul 23, 2010 at 8:29 AM, David Ponzone <david.ponzone at gmail.com>wrote:

> Sorry, I am tired.
>
> Of course, there is a way. You have to use mod_limit, setting variables in
> your all inbound dialplans where required.
>
> For instance, you will put this in all the required extensions in the
> context handling calls from the gateway:
> <action application="limit" data="hash gatewayX all" />
> <action application="limit" data="hash gatewayX from" />
>
> and you will put this in all the required extensions in the contexts
> handling calls to the gateway:
> <action application="limit" data="hash gatewayX all" />
> <action application="limit" data="hash gatewayX to" />
>
> This way, you will have a counter for all calls, one for calls coming from
> the gateway and one for calls going to the gateway.
>
> David Ponzone  Direction Technique
> email: david.ponzone at ipeva.fr
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
>
> Service Client IPeva
> tel:      0811 46 26 26
> www.ipeva.fr  -   www.ipeva-studio.com
>
> *Ce message et toutes les pièces jointes sont confidentiels et établis à
> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
> non autorisée est interdite. Tout message électronique est susceptible
> d'altération. **IPeva** décline toute responsabilité au titre de ce
> message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas
> destinataire de ce message, merci de le détruire immédiatement et d'avertir
> l'expéditeur.*
> *
> *
>
>
>
> Le 23/07/2010 à 15:17, Ahmed Ajmal a écrit :
>
> Show calls is too verbose plus it will show me calls on all the gateways, I
> am looking for something more specific.
>
> -ahmed
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org<freeswitch-users-bounces at lists.freeswitch.org>]
> On Behalf Of Evgeniy
> Zolotov
> Sent: Friday, July 23, 2010 5:59 PM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] Active Calls on a gateway
>
> Please try this command :
>
> show calls
>
> Ahmed Ajmal ?????:
>
>
> Hi
>
>
> Is there any way I can find the total number of active calls on a
>
> gateway. I have tried the following command on the CLI:
>
>
> sofia xmlstatus gateway gwname
>
>
> and it always returns 0 for Call In (assuming Call In represents the
>
> active calls). I am on freeswitch 1.0.6.
>
>
> Thanks
>
>
> Ahmed
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
>
> FreeSWITCH-users mailing list
>
> FreeSWITCH-users at lists.freeswitch.org
>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100723/fa591f29/attachment.html 


More information about the FreeSWITCH-users mailing list