How to know the live calls against a perticuler dialplan
Hi All I just want to know whow to know the number of live calls for a specific dialplan. For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ? Regards Sharad
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 email: david.ponzone@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 19/04/2010 à 13:58, sharad a écrit :
Hi All
I just want to know whow to know the number of live calls for a specific dialplan.
For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ?
Regards Sharad _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 ----- From: David Ponzone To: freeswitch-users@lists.freeswitch.org 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 email: david.ponzone@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 19/04/2010 à 13:58, sharad a écrit : Hi All I just want to know whow to know the number of live calls for a specific dialplan. For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ? Regards Sharad _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
mod_limit still seems able to do that. Though, you will perhaps be able to detect you are over the limit only after the call was originated. To be tested. David Ponzone Direction Technique email: david.ponzone@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 19/04/2010 à 15:11, sharad a écrit :
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 ----- From: David Ponzone To: freeswitch-users@lists.freeswitch.org 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 email: david.ponzone@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 19/04/2010 à 13:58, sharad a écrit :
Hi All
I just want to know whow to know the number of live calls for a specific dialplan.
For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ?
Regards Sharad _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 email: david.ponzone@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 19/04/2010 à 13:58, sharad a écrit :
Hi All
I just want to know whow to know the number of live calls for a specific dialplan.
For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ?
Regards Sharad _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, Apr 19, 2010 at 7:58 AM, sharad <sharad@coraltele.com> wrote:
I just want to know whow to know the number of live calls for a specific dialplan.
For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ?
In "core.db" lies a table named "channels". It is your friend. -jbn
Thanks a lot Mr. Justin. I got it...thanx once again. Regards Sharad ----- Original Message ----- From: "Justin B Newman" <justin@ejtown.org> To: <freeswitch-users@lists.freeswitch.org> Sent: Monday, April 19, 2010 6:16 PM Subject: Re: [Freeswitch-users] How to know the live calls against aperticuler dialplan
On Mon, Apr 19, 2010 at 7:58 AM, sharad <sharad@coraltele.com> wrote:
I just want to know whow to know the number of live calls for a specific dialplan.
For example, if 5000 is a IVR access, so can we know the no. of concurrent calls on 5000 at a moment ?
In "core.db" lies a table named "channels". It is your friend.
-jbn
participants (4)
-
David Ponzone
-
David Ponzone
-
Justin B Newman
-
sharad