[Freeswitch-users] xml_cdr call flow
Luis F Urrea
lfurrea at gmail.com
Thu Feb 12 15:31:16 PST 2009
Heres pastebin of the A-leg
http://pastebin.com/m6731913d
On Thu, Feb 12, 2009 at 5:00 PM, Michael Collins <msc at freeswitch.org> wrote:
> Pastebin the whole file so that we can see it in context...
> -MC
>
> On Thu, Feb 12, 2009 at 2:50 PM, Luis F Urrea <lfurrea at gmail.com> wrote:
> > On our test calls we haven't been able to correlate times from the A leg
> > with times from the B leg.
> >
> > I would expect something as A-leg(duration)=
> > B-leg1(duration)+B-leg2(duration)
> >
> > Also the <times> tag within <callflow> tag does not seem to be in epoch
> > microseconds. so it does not seem that's where i should be looking for
> that
> > info.
> >
> > Here's an example of the <times> tag for a test call on the A-Leg:
> >
> > <times>
> > <created_time>1233942283835696</created_time>
> > <profile_created_time>1233942283835696</profile_created_time>
> > <progress_time>1233942283999716</progress_time>
> > <progress_media_time>1233942283999716</progress_media_time>
> > <answered_time>1233942287291931</answered_time>
> > <hangup_time>0</hangup_time>
> > <transfer_time>1233942303240916</transfer_time>
> > </times>
> >
> > any hint is appreciated
> >
> >
> > On Thu, Feb 12, 2009 at 3:46 PM, Luis F Urrea <lfurrea at gmail.com> wrote:
> >>
> >> Hi all,
> >>
> >> We are writing a xml_cdr parser to load CDRs in SQLite. We are
> interested
> >> in logging times for both A leg and B leg so that transfers are reported
> as
> >> individual calls with accurate timing. eg Inboud call to AA lasted 14
> >> seconds then call to operator 20s and then call to actual extension 5min
> >>
> >> As of now we are using the <callflow> tag with the "number" attribute to
> >> find out who did the A leg talk to, then we open the B leg files and get
> the
> >> times from each jump from the <times> tag within the <callflow> tag on
> the B
> >> leg file.
> >>
> >> Is this right or maybe someone could suggest a better way to do it.
> >>
> >> TIA
> >>
> >> Luis
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090212/f15e763a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list