Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Headers and date format of the data generated #2

Open
daniziz opened this issue May 29, 2019 · 1 comment
Open

Headers and date format of the data generated #2

daniziz opened this issue May 29, 2019 · 1 comment

Comments

@daniziz
Copy link

daniziz commented May 29, 2019

Hi @FHachez

Really nice work!l

I'm not sure about what data I've generated with "run.sh"

Checking CDR.scala, looks like the fields of the CDR are:

/** Represent a CDR
 * @param fromUser          User who call/SMS
 * @param toUser            User who recieve the call/SMS
 * @param fromCell          The cell from which fromUser call/SMS
 * @param toCell            The cell from which toUser call/SMS
 * @param date              The date of the call/SMS
 * @param duration          Duration of the call/SMS
 * @param cdrType           Call/SMS
 * @param fromTerminationStatus How the call/SMS terminated (from)
 * @param toTerminationStatus How the call/SMS terminated (to)
 * @param fromValue             Cost of the caller
 * @param toValue             Cost of the reciever
 * @param transitType       OnNet/OffNet call/SMS
 * @param fromTac               Device TAC of the caller
 * @param toTac               Device TAC of the receiver

But If I check my lines, i get:

35824005,1,4,operator 1,1.8551115581206334,ONNET,4,35824005,operator 1,1,8.489751528509409,1,0,%2019%37%29%4%33,1,SMS
35824005,1,4,operator 1,3.039001463021207,OFFNET,4,35824005,operator 1,1,7.220981162300367,1,39,%2019%37%29%1%53,1,call
35824005,1,4,operator 1,7.5051411635733025,INT,4,01241700,operator 1,1,5.11695678948267,1,0,%2019%37%29%9%39,1,SMS

Which I think they are the same fields but in other order.

¿Where can I find the headers of the data? ¿Can you identify every field in my lines?

Besides, I have a problem with the format of the date:

%2019%37%29%1%53

I cannot figure the format of that string...

--

regards!

Daniel.

@daniziz daniziz changed the title Headers of the data generated Headers and date format of the data generated May 30, 2019
@kaoutaryaaz
Copy link

Hi @daniziz , please I need also to generate the CDR but I don't understand how I can use the code presented by @FHachez , Can u please tell me the steps that U followed to generate the CDR
Thank You

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants