The callflows are stacked with most recent first.

created_time, answered_time and hangup_time are
only set once and copied to every subsequent callflow
so if you want, you can just look at the top callflow tag
from there the in the <times> you can look at
created answered hangup etc....



 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: David Knell <dave@3c.co.uk>
To: freeswitch-users@lists.freeswitch.org
Sent: Tuesday, January 29, 2008 3:34:49 PM
Subject: [Freeswitch-users] XML CDRs

Hi -

Having installed mod_limit, my XML CDRs now sometimes - if the limit's
exceeded -
have two <callflow> sections, and I guess there can be an arbitrary
number of them if
a call's transferred from extension to extension, or whatever.

My problem is knowing how to chain them together in the right order. 
The <times>
section in each contains a <transfer_time> which I can use with the
<profile_created_time>
to chain them together - at least in the examples I've got - but this is
a bit fiddly.

Am I missing something obvious?

--Dave

--
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 8692 0677  M: 07773 800623
http://www.3c.co.uk


_______________________________________________
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



Looking for last minute shopping deals? Find them fast with Yahoo! Search.