CDR Files

From Ultiroam User Docs
Jump to navigation Jump to search

R2D2 generates a line in CDR (Call Data Record) file for each incoming or outgoing call, SMS, MMS or USSD session.

R2D2 CDR are stored at /var/log/R2D2.CDR.

Here is an example of such lines (tickets) from CDR file:

19-03-2025;16:51:04;1;0617807829;89331043220012161390;1724;1;16;3925;8051;NETWORK;NO_CARRIER;868371053973505;208104386745682;VOICE_CALL;OUTGOING;[];20810;49816;22258980;UMTS900;19-03-2025;16:51:12;

19-03-2025;15:16:22;1;+33617807829;89331043220012161390;0;0;0;0;0;;;868371053973505;208104386745682;SMS;DELIVERY;[07913306092082F006330B913316877028F9523091516112405230915161224000];20810;0;1366022;LTEB20;19-03-2025;14:16:22;DEFAULT;+33609002280

19-03-2025;14:46:37;0;0617807829;89330174113293896090;127843;1;16;5526;143893;NETWORK;NO_CARRIER;868371053973141;208016905009071;VOICE_CALL;OUTGOING;[];20801;29189;23463670;UMTS900;19-03-2025;14:49:01;DEFAULT;

19-03-2025;14:49:29;1;89331043220012161390;0608655899;4792878;1;16;0;0;NETWORK;NO_CARRIER;868371053973505;208104386745682;VOICE_CALL;INCOMING;[];20810;49816;22258980;UMTS900;19-03-2025;16:09:23;DEFAULT;


Format of Opale 5G Robot CDR file

Index Field Name Length Description
1 Date Local date of call/SMS/USSD session start 19-03-2025
2 Time Local time of call/SMS/USSD session start 16:51:04
3 GSM port GSM port on which call/SMS/USSD session was placed/received 1
4 Destination Called number or SIM card ICCID number 0617807829
5 Origin Caller number or SIM card ICCID number 89331043220012161390
6 Call duration Total call duration (time between call connection and hang-up, in milliseconds) 1724
7 Release Location GSM release location (GSM 04.08 if available, otherwise 4) 1
8 Release Cause GSM release cause (GSM 04.08) or SMS CMS Error code 16
9 PDD Post Dial Delay (time between placing call and receiving first alerting message, in milliseconds) 3925
10 Calling duration Total Calling duration (time between placing call and receiving final status, in milliseconds) 8051
11 Hang-up origin Origin of hang-up (from ROBOT or NETWORK side) NETWORK
12 Modem response Response from GSM modem (NO_DIALTONE, NO_ANSWER, NO_CARRIER or BUSY) NO_CARRIER
13 IMEI GSM port IMEI number 868371053973505
14 IMSI SIM card IMSI number 208104386745682
15 Call Type Call type (VOICE, SMS, USSD) VOICE_CALL
16 Direction Call/SMS direction (outgoing/incoming) OUTGOING
17 SMS PDU / USSD response PDU buffer of outgoing/incoming SMS 07911326040000F0

040B911346610089
F600002080629173
14080CC8F71D1496
9741F977FD07

GSM7: New credit available.
UCS2:004E006F0075
0076006500610075
00200063007200E9
0064006900740020
0064006900730070
006F006E00690062
006C0065

18 PLMN Public Land Mobile Network of the used network 20810
19 LAC Location Area Code of the used network cell 49816
20 CellID Cell ID 22258980
21 GSM/WCDMA band GSM/WCDMA band UMTS900
22 Date Local date of call/SMS/USSD CDR write 19-03-2025
23 Time Local time of call/SMS/USSD CDR write 16:51:12