How can I translate Vonage's SMPP delivery receipts?
- Delivery Receipts (DLRs)
Format of the message_id:
- In the submit_sm_resp, message_id is represented in hexadecimal format.
- In the deliver_sm (DLR), message_id is represented in decimal format.
For Kannel users, use msg-id-type=0x01.
Format of the deliver_sm (DLR): "id:XXXXXXXXXX sub:001 dlvrd:000 submit date:YYMMDDHHMM done date:YYMMDDHHMM stat:ZZZZZZZ err:YYY text:none "
- XXXXXXXXXX is the corresponding message_id (in decimal).
- ZZZZZZZ is the message state.
- YYY is the numeric error code, present when the message state is different from DELIVRD or ACCEPTD. The full list of error codes can be found on our developer documentation on delivery receipts.
|Message is delivered to destination
|Message validity period has expired
|Message has been deleted
|Message is in accepted state
|Message is undeliverable
|Message is in invalid state
|Message is in a rejected state
Error Code Examples
|Message was delivered successfully.
|Message was not delivered and no reason could be determined.
|Absent Subscriber - Temporary
|Message was not delivered because handset was temporarily unavailable. Retry.
|Absent Subscriber - Permanent
|The number is no longer active and should be removed from your database.
|Call Barred by User
|This is a permanent error. The number should be removed from your database and the user must contact their network operator to remove the bar.
|There is an issue relating to portability of the number and you should contact the network operator to resolve it.
|The message has been blocked by a carrier's anti-spam filter.
|The handset was not available at the time the message was sent. Retry.
|The message failed due to a network error. Retry.
|The user has specifically requested not to receive messages from a specific service.
|There is an error in a message parameter, for example, wrong encoding flag.
|Vonage cannot find a suitable route to deliver the message. Submit a support request.
|A route to the number cannot be found. Confirm the recipient's number.
|Subscriber Age Restriction
|The target cannot receive your message due to their age.
|Number Blocked by Carrier
|The recipient should ask their carrier to enable SMS on their plan.
|Prepaid Insufficient Funds
|The recipient is on a prepaid plan and does not have enough credit to receive your message.
|The message failed due to
entity-id being incorrect or not provided. (Related to DLT registration mentioned in India SMS Features and Restrictions.)
|The message failed because the header ID (
from phone number) was incorrect or missing. (Related to DLT registration mentioned in India SMS Features and Restrictions.)
|The message failed due to
content-id being incorrect or not provided. (Related to DLT registration mentioned in India SMS Features and Restrictions.)
|The message failed due to consent not being authorized. (Related to DLT registration mentioned in India SMS Features and Restrictions.)
|Unexpected regulation error. Submit a support request.
|Typically refers to an error in the route. Submit a support request.