<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"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></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 <<a href="mailto:andretodd@verizon.net">andretodd@verizon.net</a>> wrote:<br>
> HI, I need some suggestions on how to use Limit on an outbound gateway(s)<br>
> and count the calls that make it past limit.<br>
><br>
><br>
><br>
> Currently I have my limit fire on_originate and it works but it cause a Leg<br>
> B cdr. (not a big deal) and I need to count the calls but when I count them<br>
> on on_Post Originate only the successful ringing calls are counted, 503’s<br>
> etc are not counted. I can’t count the calls on originate because that<br>
> doesn’t remove the exceeded limit calls<br>
><br>
><br>
><br>
> So what I want to do is call my dialplan and before the calls start check<br>
> limit and move on to the next bridge. Any call that makes it to the provider<br>
> I need to count to keep track (cps, ports etc)<br>
><br>
><br>
><br>
> Any suggestions? I don't want to do loopback since i'm trying to get the<br>
> calls out of the switch as fast as possible.<br>
><br>
><br>
> thanks all<br>
><br>
> Andre<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _________________________________________________________________________<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><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>