[Freeswitch-users] Calculate the Call Duration ( BillSec)

Aloysius Lloyd lloyd.aloysius at gmail.com
Thu Mar 18 09:05:00 PDT 2010

 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.


On Thu, Mar 18, 2010 at 11:49 AM, Michael Collins <msc at freeswitch.org>wrote:

> On Thu, Mar 18, 2010 at 8:32 AM, Aloysius Lloyd <lloyd.aloysius at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100318/57f99fdc/attachment-0002.html 

More information about the FreeSWITCH-users mailing list