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. Lloyd On Thu, Mar 18, 2010 at 11:49 AM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Mar 18, 2010 at 8:32 AM, Aloysius Lloyd <lloyd.aloysius@gmail.com>wrote:
Thank you for the suggestion. Yes I went to the direction then Stop. How to handle Hangup actions for every call?
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 ,* it execute for every calls hangup*. How to control or How to execute in some conditions.
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. -MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org