![]() |
Not receiving SMS messages - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Not receiving SMS messages (/showthread.php?tid=10014) Pages:
1
2
|
Not receiving SMS messages - newton688 - 05-31-2020 Hi All, I have been having a problem for some time where SMS messages were not being received, but outgoing ones, phone calls and data are working fine. I am posting this in case other run into the same problem, which seems to be fairly rare so far. It turns out that that the cause of my problem was related to a bunch of SMS messages that lingered in the modem's queue (10 of them). This queue appears to be persistent across reboots and also re-imaging the OS. I don't yet understand all of the technical details. What worked for me was to use the ModemManager command-line. Note that on Mobian the ModemManager does all of the communications with the 3G modem including phone calls, cellular data, GPS and SMS. This may not be the case with other PinePhone OSes. You can access the ModemManager using the mmcli command. $ sudo mmcli -m 0 --messaging-list-sms Found 10 SMS messages: /org/freedesktop/ModemManager1/SMS/0 (received) ... In my case there were 9 SMS messages in the received state and 1 in the receiving state. I deleted all of the messages like this: $ sudo mmcli -m 0 --messaging-delete-sms=1 # Repeat with 1 through 10 to delete all of the messages Note that the "-m 0" refers to modem 0 (the only one usually in a pinephone). For more help on the messaging related actions available in mmcli you can check the help with "mmcli --help-messaging." This article is also helpful in learning: https://electronproton.com/mmcli-command-examples/ I hope that this is helpful for anyone else having the same problems as I did. Chris RE: Not receiving SMS messages - 1ZachM - 05-31-2020 Zry from the other thread. Thanks forposting somewhere. After reading this post I realized you might also want to copy this to a Mobian forum since it looks like I "could" possibly be an OS dependent thing. newton688Hi All, I have been having a problem for some time where SMS messages were not being received, but outgoing ones, phone calls and data are working fine. I am posting this in case other run into the same problem, which seems to be fairly rare so far. It turns out that that the cause of my problem was related to a bunch of SMS messages that lingered in the modem's queue (10 of them). This queue appears to be persistent across reboots and also re-imaging the OS. I don't yet understand all of the technical details. What worked for me was to use the ModemManager command-line. Note that on Mobian the ModemManager does all of the communications with the 3G modem including phone calls, cellular data, GPS and SMS. This may not be the case with other PinePhone OSes. You can access the ModemManager using the mmcli command. $ sudo mmcli -m 0 --messaging-list-sms Found 10 SMS messages: /org/freedesktop/ModemManager1/SMS/0 (received) ... In my case there were 9 SMS messages in the received state and 1 in the receiving state. I deleted all of the messages like this: $ sudo mmcli -m 0 --messaging-delete-sms=1 # Repeat with 1 through 10 to delete all of the messages Note that the "-m 0" refers to modem 0 (the only one usually in a pinephone). For more help on the messaging related actions available in mmcli you can check the help with "mmcli --help-messaging." This article is also helpful in learning: https://electronproton.com/mmcli-command-examples/ I hope that this is helpful for anyone else having the same problems as I did. Chris RE: Not receiving SMS messages - canadien666 - 05-31-2020 (05-31-2020, 09:32 AM)1ZachM Wrote: Zry from the other thread. Thanks forposting somewhere. After reading this post I realized you might also want to copy this to a Mobian forum since it looks like I "could" possibly be an OS dependent thing. RE: Not receiving SMS messages - antiX-Dave - 06-01-2020 I have the same issue. Both in mobian and ubports. I have used the same "fix" but in a different method. Also adding it to a script and then to a cron job as seen here. https://forum.pine64.org/showthread.php?tid=9687&pid=65065#pid65065 On mobian you will also need to install cron if you are wanting to use cron (could be done with modifying the script to loop) apt update apt install --no-install-recommends cron This solves it for the time being. There are still times that receiving sms messages will fail though from my usage as the modem will "lock" and require a shutdown and power up to reset it. This seems to mainly be when the phone battery drains fully and shuts off. As noted in the above thread there is a race condition going on. I have not yet been able to get mms to work, so instead was going to try setting the modem offline and seeing if the cache can still be cleared. RE: Not receiving SMS messages - brb78 - 06-09-2020 I have a similar issue in both Mobian and UBT not showing sms, I think its Chatty related. when I run sudo mmcli -m 0 --messaging-list-sms and it responds with some message being present such as /org/freedesktop/ModemManager1/SMS/3 (received) then I'm able to view message through cli using sudo mmcli -s 3 ---------------------------- General | dbus path: /org/freedesktop/ModemManager1/SMS/3 ---------------------------- Content | number: xxxxxxxxxx | text: Test ---------------------------- Properties | pdu type: cdma-deliver | state: received | storage: me | teleservice id: wmt but this message never seems to be passed to Chatty. Any thought on whats going on or the underlying issue? RE: Not receiving SMS messages - devrtz - 06-09-2020 (06-09-2020, 09:59 AM)brb78 Wrote: I have a similar issue in both Mobian and UBT not showing sms, I think its Chatty related. Maybe search the chatty issues for "sms". Maybe this is related? RE: Not receiving SMS messages - brb78 - 06-09-2020 Updating to Chatty 0.1.11-1 seemed to resolve this, just got flooded with sms and new ones are coming through in realtime. RE: Not receiving SMS messages - brb78 - 06-10-2020 After about 24 sms, Chat seems to be failing to get new messages from the modem again even though they do show as "received" in mmcli. I'm not sure what about updating Chat briefly fixed this, but its back. RE: Not receiving SMS messages - brb78 - 07-02-2020 Using "modem-manager-gui" as my sms app I'm able to send and receive sms on VZ... not as polished looking as Chatty, but at least it works. The trouble I've had would seem to be on Chatty's end, not Pine64. RE: Not receiving SMS messages - 0x070 - 07-02-2020 (07-02-2020, 01:56 PM)brb78 Wrote: Using "modem-manager-gui" as my sms app I'm able to send and receive sms on VZ... not as polished looking as Chatty, but at least it works. The trouble I've had would seem to be on Chatty's end, not Pine64. This is what I'm doing too. Modem-manager-gui doesn't seem to accept any text with an emoji, and if the phone is in a low power state or off, messages do not appear later. mmcli also shows no messages. |