NRTRDE ASCII Format
The ASCII format produced by the NRTRDE2ASCII roaming component is a line-delimited
CSV (comma-separated-values) format. Each line represents a "record", and starts with a 2-digit integer that identifies the record type. Each record contains a set of comma-separated fields. The NRTRDE ASCII file contains four types of records (lines) as depicted in the following table:
Record ID | Record |
10 | Header |
20 | MOC |
30 | MTC |
40 | GPRS |
Here is a sample output of the NRTRDE2ASCII plugin:
10,2,1,"CYPCT","GRCPF","0000001","20020124194836","+0200",1524
30,"202050000000000","350650000000000","20020124020316","+0200",0,0,"21",,"00302106412065","35799502933",,0
30,"202050000000000","350650000000000","20020124024810","+0200",0,0,"21",,"00302106412065","35799501933",,0
30,"202050000000000","350650000000000","20020124024926","+0200",0,0,"21",,"00302106412065","35799501933",,0
30,"202050000000000","350650000000000","20020124030317","+0200",0,0,"21",,"00302106412065","35799502933",,0
...
The following table depicts the HEADER record
No |
Field |
Type |
1 |
specificationVersionNumber |
Integer |
2 |
releaseVersionNumber |
Integer |
3 |
sender |
String |
4 |
recipient |
String |
5 |
sequenceNumber |
String |
6 |
fileAvailableTimeStamp |
String |
7 |
utcTimeOffset |
String |
8 |
callEventsCount |
Integer |
The following table depicts the MOC record
No | Field | Type |
1 | imsi | String |
2 | imei | String |
3 | callEventStartTimeStamp | String |
4 | utcTimeOffset | String |
5 | callEventDuration | Integer |
6 | causeForTermination | Integer |
7 | teleServiceCode | String |
8 | bearerServiceCode | String |
9 | supplementaryServiceCode | String |
10 | dialledDigits | String |
11 | connectedNumber | String |
12 | thirdPartyNumber | String |
13 | recEntityId | String |
14 | callReference | Integer |
15 | chargeAmount | Integer |
The following table depicts the MTC record
No | Field | Type |
1 | imsi | String |
2 | imei | String |
3 | callEventStartTimeStamp | String |
4 | utcTimeOffset | String |
5 | callEventDuration | Integer |
6 | causeForTermination | Integer |
7 | teleServiceCode | String |
8 | bearerServiceCode | String |
9 | callingNumber | String |
10 | recEntityId | String |
11 | callReference | Integer |
12 | chargeAmount | Integer |
The following table depicts the GPRS record
No | Field | Type |
1 | imsi | String |
2 | imei | String |
3 | callEventStartTimeStamp | String |
4 | utcTimeOffset | String |
5 | callEventDuration | Integer |
6 | causeForTermination | Integer |
7 | accessPointNameNI | String |
8 | accessPointNameOI | String |
9 | dataVolumeIncoming | Integer |
10 | dataVolumeOutgoing | Integer |
11 | sgsnAddress | String |
12 | ggsnAddress | String |
13 | chargingId | Integer |
14 | chargeAmount | Integer |