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

Michael Collins msc at freeswitch.org
Thu Mar 18 08:49:29 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100318/0854276a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list