On Thu, Mar 18, 2010 at 9:22 AM, Aloysius Lloyd <lloyd.aloysius@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