CDR Files: Difference between revisions
No edit summary |
m (Administrator moved page R2D2 - CDR Files to CDR Files without leaving a redirect) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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 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: | |||
'''Format of | 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 || | | 1 || Date || Local date of call/SMS/USSD session start || 19-03-2025 | ||
|- | |- | ||
| 2 || Time || Local time of call/SMS/USSD session start || | | 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 || | | 4 || Destination || Called number or SIM card ICCID number || 0617807829 | ||
|- | |- | ||
| 5 || Origin || Caller number or SIM card ICCID number || | | 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) || | | 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) || | | 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) || | | 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) || | | 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 41: | 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 || | | 13 || IMEI || GSM port IMEI number || 868371053973505 | ||
|- | |- | ||
| 14 || IMSI || SIM card IMSI number || | | 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 50: | 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> | ||
040B911346610089<br> | |||
F600002080629173<br> | F600002080629173<br> | ||
14080CC8F71D1496<br> | 14080CC8F71D1496<br> | ||
Line 64: | Line 67: | ||
006C0065 | 006C0065 | ||
|- | |- | ||
| 18 || PLMN || Public Land Mobile Network of the used network || | | 18 || PLMN || Public Land Mobile Network of the used network || 20810 | ||
|- | |- | ||
| 19 || LAC || Location Area Code of the used network cell || | | 19 || LAC || Location Area Code of the used network cell || 49816 | ||
|- | |- | ||
| 20 || CellID || Cell ID || | | 20 || CellID || Cell ID || 22258980 | ||
|- | |- | ||
| 21 || GSM/WCDMA band || GSM/WCDMA band || | | 21 || GSM/WCDMA band || GSM/WCDMA band || UMTS900 | ||
|- | |- | ||
| 22 || Date || Local date of call/SMS/USSD CDR write || | | 22 || Date || Local date of call/SMS/USSD CDR write || 19-03-2025 | ||
|- | |- | ||
| 23 || Time || Local time of call/SMS/USSD CDR write || | | 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 GSM7: New credit available. |
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 |