Receiving SMS is unreliable
This issue was first published as https://gitlab.com/mobian1/issues/-/issues/215. Here I try to only write down a summary of that.
I'm on Mobian+Phosh on PinePhone, latest version as of 2021-01-04 (just did apt update && apt upgrade). Receiving SMS is unreliable. I'm using a T-Mobile SIM in Hungary. Mobile setting currently is 2g/3g/4g (4g preferred). 2g only, 3g only, 4g only, 3g/4g (pref:4g) was also tested.
I'm testing it in every other day. I received SMS dec 30, then on jan 1, than nothing for 24h, than I received 3 on jan 2. This 3 is supposed to arrive earlier (test sms, and sms from bank from payment). Now the funny thing is, that I didn't get every message. From these 3 one was a test message, but actually 2 was sent at the same time. The last one arrived today (4th Jan), when I restarted the phone to test. I replied to this message and since, nothing is arriving. Unfortunatelly I only restarted chatty with debug (like this: chatty --debug
) later.
The test sms haven't arrived when I put my SIM back into another phone, but arrived when I turned on the pinephone 2 days later. It makes me wonder if somehow the phone does get the sms but somehow gets blocked in some queue and unblocked after some timeout is exceeded. UPDATE to this: Alright, text messages---that were sent during the last test phase---arrived on my other phone (I switched back the SIM) about an hour later.
I always sent a message before the messages stopped arriving. Before the 3 that I got together and also before the last one. Maybe it means something to you.
Another thing I noticed and seems weird to me is the following: when I look at the chatty log I see this:
(21:41:04) mm-sms: New SMS at '/org/freedesktop/ModemManager1/SMS/0'(21:41:09) util: Writing file prefs.xml to directory /home/mobian/.purple
I also see this:
mobian@mobian:~$ mmcli --modem 0 --messaging-list-sms -v
[04 Jan 2021, 21:57:58] [Debug] ModemManager process found at ':1.15'
[04 Jan 2021, 21:57:58] [Debug] Assuming '0' is the modem index
[04 Jan 2021, 21:57:58] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
[04 Jan 2021, 21:57:58] [Debug] Synchronously listing SMS messages...
/org/freedesktop/ModemManager1/SMS/1 (sent)
/org/freedesktop/ModemManager1/SMS/0 (sent)
These are the 2 test messages I sent. Shouldn't I see the rest, that are already processed? These are only sent messages, but where are the received ones?
sudo journalctl -f
shows nothing when SMS message is sent (or should be received).
No MMS were sent from the phone and to be fair I haven't received one in years.
What kind of debug do you need? I will gladly make tests if it helps, but unfortunately I'm out of ideas. Thanks in advance! Gergely