<div dir="ltr">What about <a href="https://freeswitch.org/confluence/display/FREESWITCH/Limit#Limit-limit_execute">https://freeswitch.org/confluence/display/FREESWITCH/Limit#Limit-limit_execute</a> ?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 26, 2015 at 10:40 PM, Stanislav Sinyagin <span dir="ltr">&lt;<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">collect call setup and hangup events via ESL, and keep count of them<br>
in a database. Then the dialplan would check that database to make<br>
routing decisions.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Thu, Mar 26, 2015 at 6:07 PM, Andre DeMattia &lt;<a href="mailto:andretodd@verizon.net">andretodd@verizon.net</a>&gt; wrote:<br>
&gt; HI, I need some suggestions on how to use Limit on an outbound gateway(s)<br>
&gt; and count the calls that make it past limit.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Currently I have my limit fire on_originate and it works but it cause a Leg<br>
&gt; B cdr. (not a big deal) and I need to count the calls but when I count them<br>
&gt; on on_Post Originate only the successful ringing calls are counted, 503’s<br>
&gt; etc are not counted. I can’t count the calls on originate because that<br>
&gt; doesn’t remove the exceeded limit calls<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; So what I want to do is call my dialplan and before the calls start check<br>
&gt; limit and move on to the next bridge. Any call that makes it to the provider<br>
&gt; I need to count to keep track (cps, ports etc)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Any suggestions? I don&#39;t want to do loopback since i&#39;m trying to get the<br>
&gt; calls out of the switch as fast as possible.<br>
&gt;<br>
&gt;<br>
&gt; thanks all<br>
&gt;<br>
&gt; Andre<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<br></div></div>
</div>