SMS over IMS: two status reports for a segment sent twice — the first decides #6

Open
opened 2026-11-22 20:14:06 +00:00 by jorijnvdgraaf · 0 comments

SMS over IMS, since 1.2.1 (SMS_OVER_IMS=1): a segment whose MESSAGE gets no answer is sent once more with the same TP-MR and TP-RD set (TS 23.040 9.2.3.6; AGENTS.md §7.9). A service centre that does not discard the repeat keeps both copies — KPN's did in seven benches of seven — and delivers the text twice.

Where the message asked for a status report (TP-SRR, which the repeat carries too), such a service centre can send two SMS-STATUS-REPORTs under the one TP-MR, one for each copy. StatusReportBook matches a report by TP-MR and lets the first one that ends the segment decide: a report of the completed class takes the TP-MR off the book, and one in which the service centre has stopped trying forgets the whole message. The report that comes after it is logged as status report for TP-MR n to <number>: no message of ours on record.

What a user can see: if the first copy's report says the service centre gave up and the second copy is delivered, the message ends as delivery-failed for a text the recipient has. delivery-failed is not corrected afterwards. The other orders end right (delivered once a copy is delivered first; delivery-pending changes nothing), with the second report's journal line the only trace.

It takes a repeat (the first attempt's final or submit report lost), a service centre that keeps both copies, status reports over IMS, and two fates for two copies sent to one recipient within about two minutes. No status report has come from KPN over IMS in any capture, so this has not been seen.

What a fix needs:

  • The book told that a segment went out twice (SmsOutbound knows: the repeat is a MESSAGE of its own under the first attempt's TP-MR), and a TP-MR of such a segment kept after a report in which the service centre has stopped trying, so that a later report of the completed class still finds the message.
  • A decision on the words: a delivered after a delivery-failed changes §8.4's word order, and that interface is frozen. The alternative — holding delivery-failed until the second report — never ends where only one copy exists, which is the usual repeat.
  • tests/Engine for the orders of two reports, and §7.9.
SMS over IMS, since 1.2.1 (`SMS_OVER_IMS=1`): a segment whose MESSAGE gets no answer is sent once more with the same TP-MR and TP-RD set (TS 23.040 9.2.3.6; AGENTS.md §7.9). A service centre that does not discard the repeat keeps both copies — KPN's did in seven benches of seven — and delivers the text twice. Where the message asked for a status report (TP-SRR, which the repeat carries too), such a service centre can send two SMS-STATUS-REPORTs under the one TP-MR, one for each copy. `StatusReportBook` matches a report by TP-MR and lets the first one that ends the segment decide: a report of the completed class takes the TP-MR off the book, and one in which the service centre has stopped trying forgets the whole message. The report that comes after it is logged as `status report for TP-MR n to <number>: no message of ours on record`. What a user can see: if the first copy's report says the service centre gave up and the second copy is delivered, the message ends as `delivery-failed` for a text the recipient has. `delivery-failed` is not corrected afterwards. The other orders end right (`delivered` once a copy is delivered first; `delivery-pending` changes nothing), with the second report's journal line the only trace. It takes a repeat (the first attempt's final or submit report lost), a service centre that keeps both copies, status reports over IMS, and two fates for two copies sent to one recipient within about two minutes. No status report has come from KPN over IMS in any capture, so this has not been seen. What a fix needs: - The book told that a segment went out twice (`SmsOutbound` knows: the repeat is a MESSAGE of its own under the first attempt's TP-MR), and a TP-MR of such a segment kept after a report in which the service centre has stopped trying, so that a later report of the completed class still finds the message. - A decision on the words: a `delivered` after a `delivery-failed` changes §8.4's word order, and that interface is frozen. The alternative — holding `delivery-failed` until the second report — never ends where only one copy exists, which is the usual repeat. - tests/Engine for the orders of two reports, and §7.9.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Catcrafts/imsd#6
No description provided.