Ignore transferring is beautiful feature.<br>For example, I have my pbx customers using one gw with many outbound lines. I would like to limit the number of their concurrent calls to say 3, but to allow them to do attended <a href="http://transfers.in">transfers.in</a> between their context and maybe outside to mobile phones etc.<br>
<br><br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 3:51 PM, David Ponzone <span dir="ltr">&lt;<a href="mailto:david.ponzone@gmail.com">david.ponzone@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;">Rupa,<div><br></div><div>I read about that.</div><div><br></div><div>Could you quickly explain why you decided that this behaviour was required ?</div><div>I can&#39;t figure it out.</div>
<div><br></div><div>Thanks</div><div><div class="im"><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><font face="&#39;Helvetica Neue&#39;"><font color="#1c00ff">David Ponzone  </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      01 74 03 18 97</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">gsm:   06 66 98 76 34</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">eva</font></div>
<div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;"><span style="color: rgb(0, 0, 0); font-family: Helvetica;"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      0811 46 26 26</span></font></font></div>
<div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size: 13px;"><div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);">  -   <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"><span><div style="margin: 0px; text-align: justify; color: rgb(192, 192, 192);">
<i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>
<div style="text-decoration: underline; text-align: justify;"><font color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div></span><br> </div><br></div><div><div>
Le 23/07/2010 à 15:42, Rupa Schomaker a écrit :</div><div><div></div><div class="h5"><br><blockquote type="cite">Just remember that transferring will remove the limit(s) unless you set the channel var <span style="font-family: sans-serif; font-size: 13px; line-height: 19px;">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&#39;ll want to set that channel var to ensure the count survives.</span><br>
 <br><div class="gmail_quote">On Fri, Jul 23, 2010 at 8:29 AM, David Ponzone <span dir="ltr">&lt;<a href="mailto:david.ponzone@gmail.com" target="_blank">david.ponzone@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 <div style="word-wrap: break-word;"><div><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
 <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
 <div><font face="&#39;Helvetica Neue&#39;"><font face="Helvetica"><span style="font-size: medium;">Sorry, I am tired.</span></font></font></div><div><span style="font-size: medium;"><br></span></div><div><span style="font-size: medium;">Of course, there is a way. You have to use mod_limit, setting variables in your all inbound dialplans where required.</span></div>
 <div><span style="font-size: medium;"><br></span></div><div><span style="font-size: medium;">For instance, you will put this in all the required extensions in the context handling calls from the gateway:</span></div><div>
<span style="font-size: medium;">&lt;action application=&quot;limit&quot; data=&quot;hash gatewayX all&quot; /&gt;</span></div> <div><span style="font-size: medium;"><div style="font-size: 14px;"><span style="font-size: medium;">&lt;action application=&quot;limit&quot; data=&quot;hash gatewayX from&quot; /&gt;</span></div>
<div><span style="font-size: medium;"><br> </span></div><div><span style="font-size: medium;">and you will put this in all the required extensions in the contexts handling calls to the gateway:</span></div><div><span style="font-size: medium;"><div>
<span style="font-size: medium;">&lt;action application=&quot;limit&quot; data=&quot;hash gatewayX all&quot; /&gt;</span></div> <div><span style="font-size: medium;"><div style="font-size: 14px;"><span style="font-size: medium;">&lt;action application=&quot;limit&quot; data=&quot;hash gatewayX to&quot; /&gt;</span></div>
<div><span style="font-size: medium;"><br> </span></div><div><span style="font-size: medium;">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.</span></div>
<div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;"><font color="#000000" face="Helvetica"><br> </font></font></div></span></div></span></div></span></div><div><div><font face="&#39;Helvetica Neue&#39;"><font face="Helvetica"><span style="font-size: medium;"></span></font><font color="#1c00ff">David Ponzone  </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      01 74 03 18 97</span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">gsm:   06 66 98 76 34</span></font></font></div><div><font face="&#39;Helvetica Neue&#39;"><br></font></div><div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">Service Client<span> </span></font><font face="&#39;Helvetica Neue&#39;"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="&#39;Helvetica Neue&#39;">eva</font></div>
 <div><font color="#1c00ff" face="&#39;Helvetica Neue&#39;"><span style="color: rgb(0, 0, 0); font-family: Helvetica;"><div><font face="&#39;Helvetica Neue&#39;"><font size="3"><span style="font-size: 13px;">tel:      0811 46 26 26</span></font></font></div>
 <div><font face="&#39;Helvetica Neue&#39;" size="3"><span style="font-size: 13px;"><div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);">  -   <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
 <div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"> <span><div style="margin: 0px; text-align: justify; color: rgb(192, 192, 192);">
<i>Ce message et toutes les pièces jointes sont confidentiels et établis à l&#39;intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d&#39;altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s&#39;il a été altéré, déformé ou falsifié. Si vous n&#39;êtes pas destinataire de ce message, merci de le détruire immédiatement et d&#39;avertir l&#39;expéditeur.</i></div>
 <div style="text-decoration: underline; text-align: justify;"><font color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></div></span><br></div></span><br> </div><br><div><div>
Le 23/07/2010 à 15:17, Ahmed Ajmal a écrit :</div> <br><blockquote type="cite"><div><div>Show calls is too verbose plus it will show me calls on all the gateways, I<br>am looking for something more specific.<br><br>-ahmed<br>
<br>-----Original Message-----<br>From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Evgeniy<br>
Zolotov<br>Sent: Friday, July 23, 2010 5:59 PM<br>To: FreeSWITCH Users Help<br> Subject: Re: [Freeswitch-users] Active Calls on a gateway<br><br></div><div><div></div><div>Please try this command :<br><br>show calls<br><br>
Ahmed Ajmal ?????:<br><blockquote type="cite"><br></blockquote><blockquote type="cite"> Hi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is there any way I can find the total number of active calls on a <br>
</blockquote><blockquote type="cite">gateway. I have tried the following command on the CLI:<br> </blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">sofia xmlstatus gateway gwname<br></blockquote>
<blockquote type="cite"><br></blockquote><blockquote type="cite">and it always returns 0 for Call In (assuming Call In represents the <br> </blockquote><blockquote type="cite">active calls). I am on freeswitch 1.0.6.<br></blockquote>
<blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite"><br></blockquote> <blockquote type="cite">Ahmed<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">
------------------------------------------------------------------------<br></blockquote><blockquote type="cite"> <br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">
FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> </blockquote><blockquote type="cite">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></blockquote><blockquote type="cite"> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
</blockquote><blockquote type="cite"><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote><blockquote type="cite"><br></blockquote><br><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></div></blockquote></div><br></div><br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
 <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
 <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br> _______________________________________________<br>FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>