esm_class flags combined in deliver_sm
Posted: Wed Oct 15, 2025 6:59 am
can esm_class have multiple flags in deliver_sm? we have an example for one SMSC provider we're connected to sending a deliver_sm with 0x24 (36) for esm_class as if both flags SMSCDeliveryReceipt + IntermediateDeliveryNotification assembled
for this reason Receipt is not created in SmppReader.cs:
```
if (pdu.MessageType == MessageTypes.SMSCDeliveryReceipt ||
pdu.MessageType == MessageTypes.SMEDeliveryAcknowledgement ||
pdu.MessageType == MessageTypes.IntermediateDeliveryNotification)
{
pdu.Receipt = CreateReceipt(pdu);
}
```
does it need a fix?
thanks in advance
for this reason Receipt is not created in SmppReader.cs:
```
if (pdu.MessageType == MessageTypes.SMSCDeliveryReceipt ||
pdu.MessageType == MessageTypes.SMEDeliveryAcknowledgement ||
pdu.MessageType == MessageTypes.IntermediateDeliveryNotification)
{
pdu.Receipt = CreateReceipt(pdu);
}
```
does it need a fix?
thanks in advance