Can you pastebin a dialplan snippet and samples of CDRs in success and failure scenarios? -MC On Sun, Sep 12, 2010 at 1:10 PM, Ross McKillop <ross@ossiantelecom.co.uk>wrote:
Hi,
I'm curious how others handle CDRs from FreeSWITCH. I need them to end up in a MySQL database and the easiest way I've found of achieving this is to use the mod_xml_cdr module to call a PHP script that inserts the row. Is there a preferred way of achieving this?
Also, I only need ONE cdr entry per call, for billing purposes, so what I end up doing is having process_cdr as "b_only" which works great for successful calls. However, a call that is not successfully bridged results in two HTTP POST calls to my script one with is_outbound = true (as I'd expect for the b leg) but also what appears to be the a leg of the CDR (despite requesting b_only)
Is this the intended behaviour of "b_only"
Regards, Ross _______________________________________________ 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