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 IDRecord
10Header
20MOC
30MTC
40GPRS

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

NoFieldType
1imsiString
2imeiString
3callEventStartTimeStampString
4utcTimeOffsetString
5callEventDurationInteger
6causeForTerminationInteger
7teleServiceCodeString
8bearerServiceCodeString
9supplementaryServiceCodeString
10dialledDigitsString
11connectedNumberString
12thirdPartyNumberString
13recEntityIdString
14callReferenceInteger
15chargeAmountInteger

The following table depicts the MTC record

NoFieldType
1imsiString
2imeiString
3callEventStartTimeStampString
4utcTimeOffsetString
5callEventDurationInteger
6causeForTerminationInteger
7teleServiceCodeString
8bearerServiceCodeString
9callingNumberString
10recEntityIdString
11callReferenceInteger
12chargeAmountInteger

The following table depicts the GPRS record

NoFieldType
1imsiString
2imeiString
3callEventStartTimeStampString
4utcTimeOffsetString
5callEventDurationInteger
6causeForTerminationInteger
7accessPointNameNIString
8accessPointNameOIString
9dataVolumeIncomingInteger
10dataVolumeOutgoingInteger
11sgsnAddressString
12ggsnAddressString
13chargingIdInteger
14chargeAmountInteger