Project

General

Profile

Bug #766

Incorrect DLR mask if concatenated messages are received in mixed order

Added by Stanimir Dzharkalov over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
05/12/2017
Due date:
% Done:

0%

Estimated time:
Affected version:
svn rev 90

Description

When OpenSMPPBox receive concatenated message, it saves the dlr-mask for the first message in row it received (not for part 1).

Thus, when sending through kannel (which splits message in multiple parts but sets registered_delivery for parts other than the first one to 0), opensmppbox will receive:

In this order (ideal case):
Part 1 (registered_delivery=1)
Part 2 (registered_delivery=0)
etc...
and will set the dlr-mask for the assembled multipart message to 19.

If for some reason OpenSMPPBox receive the messages in this order though:
Part 2 (registered_delivery=0)
Part 1 (registered_delivery=1)
etc...

it will not save DLR into the store but will assemble multipart message with dlr-mask=0.

Attaching a patch for this issue.

dlr-mask-patch.diff (971 Bytes) dlr-mask-patch.diff Stanimir Dzharkalov, 05/12/2017 04:48 PM

Also available in: Atom PDF