Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SMPP delivery report

Tags:

smpp

How to check for the delivery report of the sent message. I am using PHP and I have the SMPP account. Can somebody help me with the checking of delivery report?

Will I get a delivery report as message like we get in our mobile?
Or the status of the send function will do for it?

like image 587
Ranoy Avatar asked Feb 21 '23 22:02

Ranoy


2 Answers

Using SMPP you can retrieve delivery report in the following ways.

First choice is to set registered_delivery parameter to 1 when you send submit_sm PDU.
In this case SMSC should send you deliver_sm PDU with esm_class = 0x04 containing delivery report.

Other way is to request delivery status with query_sm command but this may generate more traffic if polling SMSC too often.

like image 178
michael.bochkaryov Avatar answered Feb 28 '23 05:02

michael.bochkaryov


If you're asking about the format in which the Delivery_Receipt will be delivered back to the source then it's carried as the user data payload in the SMPP deliver_sm or data_sm operation.

The following fields are relevant in the deliver_sm and data_sm operations when used for transmitting delivery receipts:

• source address (i.e. source_addr_ton, source_addr_npi, source_addr)
• destination address (i.e. dest_addr_ton, dest_addr_npi, destination_addr)
• esm_class
• message_state
• network_error_code
• receipted_message_id
like image 42
Eugene S Avatar answered Feb 28 '23 06:02

Eugene S