PINE64
SMS not delivered if receiver offline at sending time - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: SMS not delivered if receiver offline at sending time (/showthread.php?tid=18203)

Pages: 1 2


RE: SMS not delivered if receiver offline at sending time - alpineduck - 08-29-2023

Yes that's normal, the validity period seems to be something like 2h.


RE: SMS not delivered if receiver offline at sending time - alaraajavamma - 08-30-2023

(08-29-2023, 04:51 PM)alpineduck Wrote: Yes that's normal, the validity period seems to be something like 2h.

Yes now I see it. Thanks for your work! This is actually quite big bug if you think how people expect phone to work.


RE: SMS not delivered if receiver offline at sending time - Kevin Kofler - 08-30-2023

I cannot comment in the upstream bug report because I have no account on puri.sm, but I think I found the place with the issue:
https://source.puri.sm/Librem5/chatty/-/blob/8a2b29b32a902c013884f75c8470781865d15a73/src/mm/chatty-mm-account.c#L1454
This is setting the validity period to 168 something. (The unit is not documented.) Since you found it to be around 2 hours, I guess the unit is minutes.

Please forward this information upstream, I think they should be able to fix the issue quickly with the line pinpointed like that.

I think it should be safe to just delete or comment out that line. As far as I can tell, Spacebar just leaves the timeout at the default, and ModemManager then does the right thing.


RE: SMS not delivered if receiver offline at sending time - zetabeta - 09-03-2023

i can confirm this issue, and validity time is somewhere in 2 hours. tested on pinephone to pinephone.


RE: SMS not delivered if receiver offline at sending time - Kevin Kofler - 09-04-2023

The validity time is exactly 2 hours and 50 minutes. 168 minutes = 2 hours 48 minutes, but it gets rounded up to the next higher timeout supported by the GSM standard, which is 2 hours 50 minutes (timeouts less than 12 hours have 5 minute granularity).