What a delivery receipt (DLR) tells you, when you get one, and how DLRs work for SMS, MMS, 10DLC and RCS.
Overview
A delivery receipt, or DLR, reports the success or failure of an outbound message. A DLR includes:
- The ID of the MT message. This is a positive 64-bit integer that uniquely identifies an SMS message as it passes through the gateway.
- A date, giving the time the delivery event occurred.
- A delivery report type code, giving an overview of the delivery status of the message.
- A detailed reason code, giving more information on the reason for the delivery report.
Carriers provide these details to Convey, and Convey passes them to you unaltered.
Important Note
- Not all carriers return DLRs. Most carriers in the U.S. and Canada do.
- Carriers that return DLRs may not always do so reliably. Returning a DLR is a lower priority than delivering the message, so DLRs are not guaranteed, and international carriers have been known to change this offering. A missing DLR may not indicate a problem. DLRs are great for spot checks, but don't rely on them for one-to-one delivery confirmation.
DLRs by Message Type
How a DLR behaves depends on the kind of message you sent.
Concatenated Messages
For a concatenated message sent through the HTTP REST API, a multi-segment message returns a DLR for only one of its segments, and which segment gets it is not consistent. This is common with wireless providers such as Verizon, which typically return one DLR per concatenated message.
MMS
Convey supports DLRs for MMS, but like all DLRs they are at the carrier's discretion. A carrier that supports DLRs for SMS may not support them for MMS.
10DLC
A DLR for a 10DLC message means the message reached the message hub and is being processed for delivery to the handset. It is not a handset DLR. It is returned before carrier anti-spam filters run, so a positive DLR can be returned for a message that is later blocked as spam.
Your application can also consume failed delivery status codes from the 10DLC Delivery Hub's SMPP responses. See Source-Specific Statuses & Errors.
RCS
RCS delivery updates don't need a per-message request. If a webhook is configured on your RCS connection in the portal, delivery receipts go there by default. A callbackURL on the send overrides that webhook for that message only.
-
status.groupName is
DELIVEREDwhen the message reaches the handset, orUNDELIVERABLEwhen the carrier reports a failure. - A read receipt, with
sentAtandseenAt, arrives when the recipient opens the message. - Replies and button taps arrive through inbound forwarding on the RCS connection, not as DLRs.
For the full payloads, see Aerialink RCS Webhooks.
Requesting DLRs
For SMS and MMS, most DLRs must be requested when you submit the outbound (MT) message, through the API or the Send a Message function of the Aerialink Platform portal. The DLR then arrives as an inbound (MO) message at the URL in your account configuration. You can also see it in the Activity Report in the portal.
If the request type is Solicited, you must request the DLR. If it is Unsolicited, the DLR is returned automatically. The request type depends on the sender and message type:
| Sender | Message Type | Request Type |
|---|---|---|
| 10DLC | SMS | Solicited |
| 10DLC | MMS | Solicited |
| Toll-Free | SMS | Unsolicited |
| Toll-Free | MMS | Solicited |
| Short Code | SMS | Solicited |
| Short Code | MMS* | Solicited |
| RCS sender | RCS | Unsolicited |
* Canadian carriers don't support Short Code MMS DLRs. RCS DLRs go to the webhook on your RCS connection, or to the callbackURL on the send.
Missing DLRs
If you requested a DLR and didn't receive one, the carrier most likely never sent it to Convey. No carrier guarantees DLRs, and a missing DLR may mean the destination carrier doesn't support them.
These carriers don't currently support DLRs. The list is not exhaustive and may change at any time:
- Pinger
- Enflick
- TextNow
- TextNow Wireless
- MetroPCS
- Royal St. Comm
- Onvoy Spectrum
- NSR
- Google (Grand Central)
- BWI
- Bandwidth
SMS DLR Fields Returned
A DLR includes these parameter fields, each with details about the outbound message:
| Parameter | Purpose |
|---|---|
id |
The corresponding message ID or transactionGUID (unique message identifier). |
sub |
Number of short messages originally submitted. The value may be padded with leading zeros. |
dlvrd |
Number of short messages delivered. The value may be padded with leading zeros. |
submit date |
The date and time the message was submitted. The time zone depends on the sending SMSC. Many time stamps are in UTC/ |
done date |
The date and time the message reached its final destination. The time zone depends on the sending SMSC and may not be indicated. |
stat |
Message status. DELIVRD means the carrier confirmed delivery as successful at the latest point in the process for that traffic type. |
err |
A network or SMSC error code for the message. Error codes are SMSC-specific. |
text |
The first twenty characters of the message. An unused field is blank. |
Keep these points in mind when you read the fields:
- For status and error code meanings, see Delivery Receipt Response Codes. The codes are split by code type across the tabs of the spreadsheet in that article, so check the right tab.
- The time zone, and whether seconds are included, vary by SMSC and may not be indicated.
- On an MT toward T-Mobile that ended as
stat:UNDELIV err:000("handset not available on carrier network"), the T-Mobile SMSC retried for about 72 hours before reaching a final state, and used the same date for submit and done. When a carrier does this, the submit date tells you little.
TLV DLRs
Most major carriers return the DLR values in the message text of an inbound message. Some carriers, most notably U.S. Cellular, return them differently: U.S. Cellular sends the DLR data in the TLV tag, directly after tag number 0x0427. These are the TLV DLR values U.S. Cellular can return:
| Tag | Stat |
|---|---|
0x01 |
ENROUTE |
0x02 |
DELIVRD |
0x03 |
EXPIRED |
0x04 |
DELETED |
0x05 |
UNDELIV |
0x06 |
ACCEPTD |
0x07 |
UNKNOWN |
0x08 |
REJECTD |
Related Articles
- Delivery Receipt Response Codes: status and error codes returned in DLRs
- Source-Specific Statuses & Errors: 10DLC carrier status codes and how to receive them
- Aerialink RCS Webhooks: delivery receipts, read receipts and inbound events for RCS
- Aerialink API Resource Status Codes: message status codes and message states
Need More Help?
If you have additional questions or need more information, our support team is ready to assist you.
Submit a ticket to our team for personalized help.
Comments
0 comments
Article is closed for comments.