Closed GoogleCodeExporter closed 8 years ago
hmm, I looked into the time field and I guess I was under the assumption that
the baf
files do the /60 conversion themselves. Ill add that in.
Original comment by charless...@gmail.com
on 8 Jan 2010 at 5:44
I should really have said greater than or equal to 100 minutes.
Original comment by th...@bendtel.net
on 8 Jan 2010 at 5:51
You mentioned you ran this through bafview as well?
Did bafview report the corrent time or no?
Looking at the code I have for bafview it appears like we do the same thing, so
I am
wondering if you saw something different in bafview.
Original comment by charless...@gmail.com
on 10 Jan 2010 at 11:49
Yes, I ran the same BAF file through bafview.
Where bafprp reports 1:06:16.0, bafview reports 106:16.0. The difference in
seconds
was part of my first entry.
The CDRs from my upstream providers show the same discrepancy that bafview
suggests.
Original comment by th...@bendtel.net
on 11 Jan 2010 at 12:02
This issue was closed by revision r193.
Original comment by charless...@gmail.com
on 12 Jan 2010 at 5:45
[deleted comment]
Ok well the duration field type in bafprp was written thinking that some of the
characters were hours. After looking at bafview and the baf files it turns out
this
is not the case.
Very good catch, I actually remember some trouble i was having with duration
when I
was setting bafprp up myself but I must not have thought to much about it.
I tested the new code with bafview and bafprp to confirm that it does now
produce the
correct duration.
Original comment by charless...@gmail.com
on 12 Jan 2010 at 5:48
Original issue reported on code.google.com by
th...@bendtel.net
on 8 Jan 2010 at 1:36