Thanks Mr. David for your quick reply.
I think I made my query wrongly...Let me ask again..
I want to make 5 max outgoing calls from Freeswitch using a dialplan say 5500.
So before using originate API for making the new call, I need to query how many calls are still alive for the dialplan 5500.
If the freeswitch answers the query with the value <5, my application will make another new call else application will wait.
So I want to know is there any way/API to query from freeswitch to find out how many calls are alive for dialplan 5500.
If I use status command, it shows a lot of calls which are alive with other dialplan also. It becomes difficult to find the no. of calls from this heavy stuff.
Thanks & regards
Sharad
----- Original Message -----
Sent: Monday, April 19, 2010 5:55 PM
Subject: Re: [Freeswitch-users] How to know the live calls against aperticuler dialplan
Sharad,
if the only thing you need to know is the number of calls, I would recommend using mod_limit.
mod_limit, if you dont specify a limit, will just update the counter, without limiting it.
You can then define all sorts of counters in your dialplan.
David Ponzone Direction Technique
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
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 19/04/2010 à 13:58, sharad a écrit :
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org