Is there any reason you're not using mod_cdr_pg_csv to go directly to postgres?


On 19 November 2013 03:33, I put the Who? in Mishehu <mishehu@freeswitch.org> wrote:
If the calls were canceled before a 183 or a 200 occurred, then there is no media whatsoever established.  This would be normal behavior to not have a read or write codec set this case.  If a 183 occurred and then a cancel, then you'd have only a read codec variable set I think.

Yossi Neiman


 On 11/18/2013 09:21 PM, FERNANDO VILLARROEL wrote:
Dear All.

I am trying to use xml_cdr for save the cdr in backend (postgresql).

My problem is only the answered calls have the read_codec and write_codec codec variables.

Any idea why the cancel calls have not this variables on xml_cdr.

I appreciate some help.



_________________________________________________________________________
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


_________________________________________________________________________
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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961
E andrew@cassidywebservices.co.uk
W www.cassidywebservices.co.uk