The data_coding the message was delivered with.
Destination address of the inbound message.
The raw esm_class byte.
Whether the esm_class flags this as an SMSC delivery receipt.
The raw message body octets.
The sequence_number of the deliver_sm (already acknowledged by the session).
Source address of the inbound message.
Any optional parameters (TLVs) carried on the PDU.
Parses the payload as an SMSC delivery receipt.
Only meaningful when isDeliveryReceipt is true, but it runs the tolerant parser regardless, so a non-receipt body simply yields an object of undefined fields.
The parsed delivery-receipt fields.
Decodes the payload as text (UTF-16BE for UCS2, otherwise UTF-8/Latin-1).
The decoded message body.
An inbound message from the SMSC, yielded by SmppSession.messages.
A
deliver_smcarries either a mobile-originated message (esm_class0) or an SMSC delivery receipt (esm_classhas the ESM_DELIVERY_RECEIPT bit). Check isDeliveryReceipt and use receipt to parse the receipt fields.Since
1.0.3