SMS over IMS: a submission can end as failed though the service centre has the text #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/imsd#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SMS over IMS, which comes with 1.2.0 (
SMS_OVER_IMS=1):SmsOutboundwaits 32 s for the final to its MESSAGE (SmsSendTimeout), then 40 s for the submit report (SmsReportTimeout), and ends the message asfailedwhen either wait runs out (AGENTS.md §7.9). The service centre may have accepted the text all the same:failedhas been posted, and the report is answered 488, because only the Call-ID of the segment in flight is known (OwnsReport). TS 24.341 5.3.1.2 has a report that "corresponds to a short message submitted by the SM-over-IP sender" answered 200, and its NOTE 3 has the sender "store the Call-ID".Submit::rejectDuplicates); nothing sets it.What a user sees:
failedfor a text the recipient gets.failedis a message's last word (§8.4), so nothing corrects it, and a user who sends the text again delivers it twice: the second submission has a new TP-MR, and the service centre cannot tell that it is a repeat.On KPN the benched submissions were accepted within a second or two. It takes a slow or lossy path to meet this.
What a fix needs:
failed.Fixed in 1.2.1, each of the three cases: a submit report for a MESSAGE no longer in flight is answered 200 while its Call-ID is on record, which is an hour (
ef04b47); a segment that gets no answer, or an RP-ERROR with cause 41, is sent once more with the same TP-MR and TP-RD set before the message fails (23892e8); and what the client flow already holds is read before a wait is judged (1fa4d77). What the repeat leaves open is its own issue: #6.