<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5945" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks Mr. David for your quick reply.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think I made my query wrongly...Let me ask
again..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to make 5 max outgoing calls from
Freeswitch using a dialplan say 5500.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So before using originate API for making the
new call, I need to query how many calls are still alive for the dialplan
5500.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If the freeswitch answers the query with the value
<5, my application will make another new call else application will
wait.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks & regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Sharad</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=david.ponzone@ipeva.fr href="mailto:david.ponzone@ipeva.fr">David
Ponzone</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 19, 2010 5:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] How to
know the live calls against aperticuler dialplan</DIV>
<DIV><BR></DIV>Sharad,
<DIV><BR></DIV>
<DIV>if the only thing you need to know is the number of calls, I would
recommend using mod_limit.</DIV>
<DIV>mod_limit, if you dont specify a limit, will just update the counter,
without limiting it.</DIV>
<DIV>You can then define all sorts of counters in your dialplan.</DIV>
<DIV><BR>
<DIV apple-content-edited="true"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 14px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"><SPAN
class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 14px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT
class=Apple-style-span color=#1c00ff>David Ponzone </FONT><FONT
class=Apple-style-span color=#000000 size=3><SPAN class=Apple-style-span
style="FONT-SIZE: 12px">Direction Technique</SPAN></FONT></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT
class=Apple-style-span size=3><SPAN class=Apple-style-span
style="FONT-SIZE: 13px">email: <A
href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</A></SPAN></FONT></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT
class=Apple-style-span size=3><SPAN class=Apple-style-span
style="FONT-SIZE: 13px">tel: 01 74 03 18
97</SPAN></FONT></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT
class=Apple-style-span size=3><SPAN class=Apple-style-span
style="FONT-SIZE: 13px">gsm: 06 66 98 76 34</SPAN></FONT></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><BR></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"
color=#1c00ff>Service Client<SPAN
class=Apple-converted-space> </SPAN></FONT><FONT class=Apple-style-span
face="'Helvetica Neue'"><FONT class=Apple-style-span
color=#ff0000>IP</FONT></FONT><FONT class=Apple-style-span
face="'Helvetica Neue'" color=#1c00ff>eva</FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'" color=#1c00ff><SPAN
class=Apple-style-span style="COLOR: rgb(0,0,0); FONT-FAMILY: Helvetica">
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT
class=Apple-style-span size=3><SPAN class=Apple-style-span
style="FONT-SIZE: 13px">tel: 0811 46 26
26</SPAN></FONT></FONT></DIV>
<DIV><FONT class=Apple-style-span face="'Helvetica Neue'" size=3><SPAN
class=Apple-style-span style="FONT-SIZE: 13px">
<DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN
style="TEXT-DECORATION: underline"><A
href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</A></SPAN><SPAN
style="COLOR: rgb(101,104,149)"> - <SPAN
style="COLOR: rgb(0,34,243); TEXT-DECORATION: underline"><A
href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</A></SPAN></SPAN></DIV>
<DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN
class=Apple-style-span style="TEXT-DECORATION: underline"><BR></SPAN></DIV>
<DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN
class=Apple-style-span>
<DIV
style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(192,192,192); TEXT-ALIGN: justify"><I>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. </I><B><I>IPeva</I></B><I> 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.</I></DIV>
<DIV style="TEXT-ALIGN: justify; TEXT-DECORATION: underline"><FONT
class=Apple-style-span
color=#c0c0c0><I><BR></I></FONT></DIV></SPAN></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></DIV></SPAN><BR
class=Apple-interchange-newline></DIV></SPAN><BR
class=Apple-interchange-newline></DIV><BR>
<DIV>
<DIV>Le 19/04/2010 à 13:58, sharad a écrit :</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I just want to know whow to know the number of
live calls for a specific dialplan.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For example, if 5000 is a IVR access, so can we
know the no. of concurrent calls on 5000 at a moment ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial
size=2>Sharad</FONT></DIV>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org">http://www.freeswitch.org</A><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>