CDR Files: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
m (Administrator moved page R2D2 - CDR Files to CDR Files without leaving a redirect)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== R2D2 CDR File ===
R2D2 generates a line in CDR (Call Data Record) file for each incoming or outgoing call, SMS, MMS or USSD session.  
R2D2 generates a line in CDR (Call Data Record) file for each incoming/outgoing call, SMS and USSD session. Here is an example of 2 such lines (tickets) from CDR file:


16-04-2013;14:57:25;4;0646705785;89381030000083444218;0;4;31;5558;9255;NETWORK;NO_CARRIER;352561050025530;220032055005653;VOICE_CALL;OUTGOING;[];22001;52012;32582;GSM900;16-04-2013;14:57:32
R2D2 CDR are stored at /var/log/R2D2.CDR.
16-04-2013;14:57:57;4;0637380797;89381030000083444218;0;4;31;0;25259;NETWORK;NO_CARRIER;352561050025530;220032055005653;VOICE_CALL;OUTGOING;[];22003;52010;32581;GSM1800;16-04-2013;14:57:59
22-04-2013;16:47:36;4;0637380797;89381030000083444218;0;4;500;0;0;;;352561050025530;220032055005653;SMS;OUTGOING;[0011010A8160738370790000A704D4F29C0E];22001;52012;32582;GSM900;22-04-2013;16:47:37
22-04-2013;16:48:32;4;0637380797;89381030000083444218;0;4;0;0;0;;;352561050025530;220032055005653;SMS;OUTGOING;[0011010A8160738370790000A704D4F29C0E];22003;52012;32322;GSM900;22-04-2013;16:48:35


'''Format of IRON R2D2 CDR file'''
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'''
{| class="wikitable"
{| class="wikitable"
|-
|-
! Index !! Field Name !! Length !! Description
! Index !! Field Name !! Length !! Description
|-
|-
| 1 || Date || Local date of call/SMS/USSD session start || 01/03/2012
| 1 || Date || Local date of call/SMS/USSD session start || 19-03-2025
|-
|-
| 2 || Time || Local time of call/SMS/USSD session start || 17:30:21
| 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
| 3 || GSM port || GSM port on which call/SMS/USSD session was placed/received || 1
|-
|-
| 4 || Destination || Called number or  SIM card ICCID number || 632279930
| 4 || Destination || Called number or  SIM card ICCID number || 0617807829
|-
|-
| 5 || Origin || Caller number or SIM card ICCID number || 8938103000008344218
| 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) || 147000
| 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) || 4
| 7 || Release Location || GSM release location (GSM 04.08 if available, otherwise 4) || 1
|-
|-
| 8 || Release Cause || [[GSM Release cause / Q.931|GSM release cause (GSM 04.08)]] or [[SMS CMS Error code|SMS CMS Error code]] || 16
| 8 || Release Cause || [[GSM Release cause / Q.931|GSM release cause (GSM 04.08)]] or [[SMS CMS Error code|SMS CMS Error code]] || 16
|-
|-
| 9 || PDD || Post Dial Delay (time between placing call and receiving first alerting message, in milliseconds) || 4378
| 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) || 11329
| 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
| 11 || Hang-up origin || Origin of hang-up (from ROBOT or NETWORK side) || NETWORK
Line 39: Line 44:
| 12 || Modem response || Response from GSM modem (NO_DIALTONE, NO_ANSWER, NO_CARRIER or BUSY) || NO_CARRIER
| 12 || Modem response || Response from GSM modem (NO_DIALTONE, NO_ANSWER, NO_CARRIER or BUSY) || NO_CARRIER
|-
|-
| 13 || IMEI || GSM port IMEI number || 12745000699682
| 13 || IMEI || GSM port IMEI number || 868371053973505
|-
|-
| 14 || IMSI || SIM card IMSI number || 310150345283288
| 14 || IMSI || SIM card IMSI number || 208104386745682
|-
|-
| 15 || Call Type || Call type (VOICE, SMS, USSD) || VOICE_CALL
| 15 || Call Type || Call type (VOICE, SMS, USSD) || VOICE_CALL
Line 48: Line 53:
|-
|-
| 17 || SMS PDU / USSD response || PDU buffer of outgoing/incoming SMS ||07911326040000F0<br>
| 17 || SMS PDU / USSD response || PDU buffer of outgoing/incoming SMS ||07911326040000F0<br>
040B91134661 0089<br>
040B911346610089<br>
F600002080629173<br>
F600002080629173<br>
14080CC8F71D1496<br>
14080CC8F71D1496<br>
Line 62: Line 67:
006C0065
006C0065
|-
|-
| 18 || PLMN || Public Land Mobile Network of the used network || 22003
| 18 || PLMN || Public Land Mobile Network of the used network || 20810
|-
|-
| 19 || LAC || Location Area Code of the used network cell || 52010
| 19 || LAC || Location Area Code of the used network cell || 49816
|-
|-
| 20 || CellID || Cell ID || 32581
| 20 || CellID || Cell ID || 22258980
|-
|-
| 21 || GSM/WCDMA band || GSM/WCDMA band || GSM900
| 21 || GSM/WCDMA band || GSM/WCDMA band || UMTS900
|-
|-
| 22 || Date || Local date of call/SMS/USSD CDR write || 01/03/2012
| 22 || Date || Local date of call/SMS/USSD CDR write || 19-03-2025
|-
|-
| 23 || Time || Local time of call/SMS/USSD CDR write || 17:30:29
| 23 || Time || Local time of call/SMS/USSD CDR write || 16:51:12
|}
|}

Latest revision as of 11:03, 27 March 2025

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