Parses an SMSC delivery-receipt short_message into its fields.
Delivery receipts follow the de-facto format
id:IIII sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done date:YYMMDDhhmm stat:DDDDDDD err:E text:.....
Parsing is tolerant: keys are matched case-insensitively, spacing is flexible, and any
missing field is simply left undefined. Only meaningful when the deliver_sm's esm_class
has the ESM_DELIVERY_RECEIPT bit set.
Parameters
text: string
The decoded short_message text of a delivery receipt.
Parses an SMSC delivery-receipt
short_messageinto its fields.Delivery receipts follow the de-facto format
id:IIII sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done date:YYMMDDhhmm stat:DDDDDDD err:E text:..... Parsing is tolerant: keys are matched case-insensitively, spacing is flexible, and any missing field is simply left undefined. Only meaningful when thedeliver_sm'sesm_classhas the ESM_DELIVERY_RECEIPT bit set.