Skip to main content

CDR File Layout

1. Overview​

The CDR Manager allows the platform users to schedule the export of the CDR files in CSV format.
The platform supports three types of exports: Owner, Supplier, and Customer. The fields contained in the chosen type, you can find in the Templates below.

2. File Layout Elements​

Field NameExampleDataTypeLengthFormatDescriptionContained In
SMS_DT2020-09-14 00:00:01 Europe/ZurichDATETIME-2020-09-14 00:00:01Date and time when the message entered our system (input timestamp), the time zone is defined in the CDR task.Owner Customer Supplier
MESSAGE_ID4bfc6e62-c7ba-417f-9ddf-8e2b35509456VARCHAR40RFC 4122 UUIDGiven Message-ID from the Platform.Owner Customer Supplier
SENDERFACEBOOKVARCHAR30-Sender ID/Number.Owner Customer Supplier
DESTINATION33753483680VARCHAR30381641786201Destination Number.Owner Customer Supplier
DST_COUNTRYFranceVARCHAR50-Destination Country.Owner Customer Supplier
DST_OPERATORLycaMobile FranceVARCHAR255-Destination Operator Name.Owner Customer Supplier
DST_MCC208SMALLINT65535-Destination MCC.Owner Customer Supplier
DST_MNC25SMALLINT65535-Destination MNC.Owner Customer Supplier
SELL_PRICE0.0288DECIMAL(10,4)-Decimal separator: . (a period)Selling Price. * Decimal places are currently 4. This may changed in future to 6 and 8. Depending on the settings in a price list.Owner Customer
SELL_CURRENCYEURCHAR3-Selling Price Currency.Owner Customer
CONNECTION2961_WWVARCHAR45-Connection Name defined on the Platform.Owner Customer
CUSTOMER_NAMEFacebook CorporationVARCHAR150(text)BP Customer Name.Owner Customer
CUSTOMER_ID2961INTEGER--BP ID (internal).Owner Customer
SENDING_STATUSSent OR ErrorENUM('Sent', 'Error')-'Sent' or 'Error'Sending Status.Owner Customer Supplier
DLR_STATUSDelivered, Undelivered, UnknownENUM('Delivered', 'Undelivered', 'Buffer', 'Sent', 'Rejected', 'Unknown')-'Delivered', 'Undelivered', 'Buffer'. 'Sent', 'Rejected', 'Unknown'DLR Status.Owner Customer Supplier
CLIENT_IP195.43.46.113CHAR15xxx.xxx.xxx.xxxClient IP Address.Owner Customer
FAILURE_CODE0 or ?SMALLINT65535-Outgoing failure code provided by the supplier. This code is supplier-specific.Owner Customer Supplier
DLR_DT2020-09-14 00:00:08 Europe/ZurichDATETIME-'2020-09-14 00:00:08'Date and time when the delivery report arrived, the time zone is defined in the CDR task.Owner Customer Supplier
BUY_PRICE0.0285DECIMAL(10,4)--Buy Price from Supplier Price List.Owner Supplier
BUY_CURRENCYEURCHAR3-Buy Price Currency from Supplier Price List.Owner Supplier
MNP_PRICE0.00022DECIMAL(7,4)--MNP (Buy) Price.Owner
MNP_CURRENCYEURCHAR3-MNP (Buy) Price Currency.Owner
SUPPLIER_GATE_NAMEMr Messaging HQ (bulk)VARCHAR70(text)Supplier Gate Name defined on the Platform.Owner Supplier
SUPPLIER_GATE_ID14127INTEGER--Supplier Gate ID given from the Platform.Owner Supplier
SUPPLIER_CUSTOMER_ID3037INTEGER--Business partner ID, shown in owner and supplier reports. This attribute identifies the owner of the gate throughout which the message was sent.Owner Supplier
CUSTOMER_CHARGE_MODEsent OR deliveredENUM ('Sent', 'Delivered')-Sent or DeliveredCharge Mode defined for Customer.Owner Customer
SUPPLIER_CHARGE_MODEsent OR deliveredENUM('Sent', 'Delivered')-'Sent', 'Delivered'Charge Mode defined for Supplier.Owner Supplier
BRIEF_MESSAGE12345 es tu codigo de Facebook xxxxxVARCHAR (text field)100(text)Short message part, the first 100 bytes.Owner
CUST_BP_REFERENCE_IDV0234C2323VARCHAR100-Customer BP Reference ID.Owner
SUP_BP_REFERENCE_IDV0234C2323VARCHAR100-Supplier BP Reference ID.Owner
FOREIGN_MESSAGE_ID693c5d2b-40f9-d175-8095-3139a5a97f9dVARCHAR60-Foreign message ID provided by the supplier.Owner Supplier

3. Templates​

3.1 Customer​

Field NameExample
SMS_DT2020-09-14 00:00:01 Europe/Zurich
MESSAGE_ID4bfc6e62-c7ba-417f-9ddf-8e2b35509456
SENDERFACEBOOK
DESTINATION381641786201
DST_COUNTRYFrance
DST_OPERATORLycaMobile France
DST_MCC208
DST_MNC208,25,0.0288
SELL_PRICEEUR
SELL_CURRENCY2961_WW
CONNECTIONFacebook Corporation
CUSTOMER_NAME2961
CUSTOMER_IDSent
SENDING_STATUSDelivered
DLR_STATUS195.43.46.113
CLIENT_IP0
FAILURE_CODE2020-09-14 00:00:08 Europe/Zurich
DLR_DTSent
CUSTOMER_CHARGE_MODE-

3.2 Owner​

Field NameExample
SMS_DT2020-09-14 00:00:01 Europe/Zurich
MESSAGE_ID4bfc6e62-c7ba-417f-9ddf-8e2b35509456
SENDERFACEBOOK
DESTINATION381641786201
DST_COUNTRYFrance
DST_OPERATORLycaMobile France
DST_MCC208
DST_MNC25
SELL_PRICE0.0288
SELL_CURRENCYEUR
CONNECTION2961_WW
CUSTOMER_NAMEFacebook Corporation
CUSTOMER_ID2961
SENDING_STATUSSend
DLR_STATUSDelivered
CLIENT_IP195.43.46.113
FAILURE_CODE0
DLR_DT2020-09-14 00:00:08 Europe/Zurich
BUY_PRICE0.5555
BUY_CURRENCYEUR
MNP_PRICE0.00022
MNP_CURRENCYEUR
SUPPLIER_GATE_NAMETelecom
SUPPLIER_GATE_ID14127
SUPPLIER_CUSTOMER_ID3037
CUSTOMER_CHARGE_MODESent
SUPPLIER_CHARGE_MODESent
BRIEF_MESSAGE12345 es tu codigo de Facebook xxxxx
CUST_BP_REFERENCE_IDV0234C2323
SUP_BP_REFERENCE_IDV0234C2323
FOREIGN_MESSAGE_ID693c5d2b-40f9-d175-8095-3139a5a97f9d

3.3 Supplier​

Field NameExample
SMS_DT2020-09-14 00:00:01 Europe/Zurich
MESSAGE_ID4bfc6e62-c7ba-417f-9ddf-8e2b35509456
SENDERFACEBOOK
DESTINATION381641786201
DST_COUNTRYFrance
DST_OPERATORLycaMobile France
DST_MCC208
DST_MNC25
SENDING_STATUSSent
DLR_STATUSDelivered
CLIENT_IP195.43.46.113
FAILURE_CODE0
DLR_DT2020-09-14 00:00:01 Europe/Zurich
BUY_PRICE0.555
BUY_CURRENCYEUR
SUPPLIER_GATE_NAMETelecom
SUPPLIER_GATE_ID14127
SUPPLIER_CUSTOMER_ID3037
SUPPLIER_CHARGE_MODESent