Can't send SMS with MBIM: MEMORY_FULL

MikroTik Chateau LTE18 (RBD53G-5HacD2HnD&EG18-EA)
RouterOS 7.14 stable

Problem with sending SMS.
The router can only send up to 20 SMS before displaying the error message ‘Can’t send SMS with MBIM: MEMORY_FULL’. Additionally, SMS messages are not displayed or deleted through WinBox. If the SIM card is removed and inserted into a phone, outgoing SMS messages saved on the SIM card can be viewed. After deleting SMS messages from the SIM card, everything works again, but only up to 20 sent messages.

The question is how to delete SMS messages from the SIM card using Winbox or RouterOS, and how to make the router display outgoing messages or prevent them from being saved.

The command ‘/tool sms inbox remove $i’ only removes incoming messages.
1.png

You can delete messages using modem AT command and executing it over ROS CLI command /interface/lte/at-chat lte1 input=“<SOME_AT_COMMAND>” <wait=yes>, see more in ROS LTE manual how to use at-chat. AT commands depends on modem used by device, for your modem (EG18-EA) see this manual.
For eg. this performed AT command should delete all messages from SIM:

/interface/lte/at-chat lte1 input="AT+CMGD=,4"

To list all stored messages:

/interface/lte/at-chat lte1 input="AT+CMGL=4" wait=yes

This is not improved in ROS 7.14 for sending SMS messages with:

*) modem - fixed SMS removal (introduced in v7.13);

Tested now with 7.14, sent messages are stored in SIM and needs to be deleted with AT command for cleanup. To avoid this case ROS will need to implement sent messages list with possibility to remove them like for received in /tool/sms/inbox or delete from SIM when message is sent.

Thank you for your reply and clarification.
I added

:delay 10 
/interface/lte/at-chat lte1 input="AT+CMGD=,4"

at the end of the script. Everything works as intended, and sent SMS messages are now deleted from the SIM card.

Não funciona no netwatch Mikrotik (ROS 7.13)

Acontece que o mikrotik parou de enviar notificações para o Telegram via fetch.
O mais interessante é que o próprio Netwatch funcionou (detectou up/down) e o fetch também funcionou no console, mas não funcionaram juntos.
A solicitação ficou assim:
/tool/fetch url=“https://api.telegram.org/botXXX/sendMessage?chat_id=-XXX&parse_mode=html&text=gw: srv-01 - UP”

Depois de ler a documentação e pesquisar nos motores de busca, descobriu-se que deveria ser assim:
/tool fetch mode=https url=“https://api.telegram.org/botXXX/sendMessage?chat_id=-XXX&parse_mode=html&text=gw: srv-01 - UP” http-method=post keep-result=no

Funcionando normalmente aqui!!!

Referência original: https://it-git.ru/set-i-kommutacija/53-ne-rabotaet-fetch-v-netwatch-mikrotik-ros-713.html

Wanted to mention that some of the LTE modems need this command to be cleared:
/interface/lte/at-chat lte1 input=“AT+CMGD=1,4”

I set up a schedule task to run once a day to clear them out.

Yeah, I have to use this regularly too on ATL-18 ATLGM LTE antenna with ROS 7.14.1 - (No time and conditions to do upgrades with antenna yet, active busy business use)

This is something that definitely needs to get improved in newer ROS and Winbox versions, hopefully with existing HW. Perhaps staff promised something already somewhere but I forgot the reference where they said it, I think I saw some improvements in changelog around SMS stuff many months ago.

I guess I have to do a script and schedule this this as well.