I have only used and enabled a leg parameter in mod_cdr_csv. Is there a way to get the sip_call_id variable from b-leg in mod_cdr_csv without enabling the b legs parameter; something like bleg_sip_call_id ? Thank you.
I don't see one.. you can get bleg_uuid<http://wiki.freeswitch.org/wiki/Mod_cdr_csv#bleg_uuid>, but not much else. Variable_copy_xml_cdr<http://wiki.freeswitch.org/wiki/Variable_copy_xml_cdr> -- this copies the entire XML from the B leg into the A leg, but that won't quite help for mod_cdr_csv. Either you need a patch similar to bleg_uuid, which I don't know if Anthony would want in the main repo, or you need to use xml_cdr (or json_cdr?) to get both cdrs at once and save the sip_call_id. I couldn't find the code that creates bleg_uuid, I'm not sure how that one works. -Avi On Tue, Oct 30, 2012 at 2:02 AM, DJB International <djbinter@gmail.com>wrote:
I have only used and enabled a leg parameter in mod_cdr_csv. Is there a way to get the sip_call_id variable from b-leg in mod_cdr_csv without enabling the b legs parameter; something like bleg_sip_call_id ?
Thank you.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Avi Marcus
-
DJB International