for example in a 10000 calls only want to run 100 times. Do you think it is a best practice run the Lua script for 9900 time for no reason.<div><br></div><div>Lloyd<br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 11:49 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Thu, Mar 18, 2010 at 8:32 AM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></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">
Thank you for the suggestion. Yes I went to the direction then Stop. How to handle Hangup actions for every call?<div><br></div><div>For Example : I do not want to calculate the duration for all the calls or execute actions for all the calls. I need calculate for particular calls only.I tested the following ,<b> it execute for every calls hangup</b>. How to control or How to execute in some conditions.</div>
</blockquote></div><div><br>Is there a problem with running it on every call? The overhead of a Lua script is minimal compared to the actual call. I'm just curious what you gain from selectively running the script.<br>
-MC<br>
<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></div>