alexandr-mironov / php8-smpp

SMPP Client (v 3.4) on PHP8
7 stars 8 forks source link

Multipart messages - Delivery Status #15

Open meetshamee opened 1 year ago

meetshamee commented 1 year ago

The delivery report of multipart messages is difficult to read. In transmitter mode the last ID output is received as response. The receiver reads only the first ID and skips the rest. A miss match occurs because the operator sends status to all parts of the message but does not read the last ID. Is there a way to read all the ids without skipping them?

NB :: if the status of outgoing messages is 'DELIRVD' then this error is not seen; This issue is only with REJECT and FAILED status.

meetshamee commented 1 year ago

Detailed inspection revealed the problem again. The first half of the sent Multipart message ID will be: 11111111111111 and the second half ID will be : 11111111111112. If status : 'DELIRVD' (0) then parseDeliveryReceipt passes both to the logger. If STATE_REJECTED (8) then only the first half ID of the message is passed. Anyone else having this problem?