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

Michael Collins msc at freeswitch.org
Thu Mar 18 10:43:13 PDT 2010


On Thu, Mar 18, 2010 at 9:22 AM, Aloysius Lloyd <lloyd.aloysius at gmail.com>wrote:

> No.Need CDR for all calls.
>
> I am thinking in the following way. Is this possible?
>
> Application A - Need CDR values and cdr_csv.conf.xml use *onhangupA.lua*
>
> Application B - Need CDR values and cdr_csv.conf.xml use *onhangupB.lua*
>
> Application C - Need CDR values only.
>

What you really need to be using is mod_xml_cdr and posting your CDRs to a
separate server and do all this stuff outside of the FS server. Using
mod_xml_cdr will definitely scale more easily than trying to play around
with crazy logic in the dialplan and CSV CDRs.

http://wiki.freeswitch.org/wiki/Mod_xml_cdr

It's a paradigm shift from CSV CDRs but when you realize just how powerful
it is you will never be satisfied with plain CSV CDRs any more.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100318/a34cee52/attachment-0002.html 


More information about the FreeSWITCH-users mailing list