Unable to delete SMS from non-running interfaces

Hi,

I have an LtAP Mini with two SIMs inserted. SIM1 (up) is used purely for receiving SMS and SIM2 (down) is used for data

By default the LtAP is running using SIM1 (up). When it receives an SMS it switches to SIM2 (down/data) for a set amount of time before switching back to SIM1. This mostly works but deleting SMS doesn’t seem to work correctly and sometimes results in a temporary loop that switches from SIM1 → SIM2 → SIM1 a number of times.

If I send an SMS to SIM1 that doesn’t match the script format, it stays in the SMS inbox, but I am unable to delete it due to RouterOS not believing the interface is running.

The LtAP is running the latest firmware 6.43.4.

The interface doesn’t get marked as ‘RUNNING’

[admin@lte2] > /interface lte print detail 
Flags: X - disabled, R - running 
 0    name="lte1" mtu=1500 mac-address=XX:XX:XX:00:00:00 pin="xxxx" apn-profiles=default network-mode=gsm,3g,lte

… but it shows as connected and is able to receive SMS:


[admin@lte2] > /interface lte info 0 once 
           pin-status: no password required
        functionality: full
  registration-status: registered
         manufacturer: "MikroTik"
                model: "R11e-LTE"
             revision: "MikroTik_CP_2.160.000_v008"
     current-operator: xx - UK
                  lac: 21090
       current-cellid: xxxxxxx
    access-technology: 3G HSDPS & HSUPA
                 imei: xxxxxxxxxxxxxxx
                 imsi: +CME ERROR: 10
                 uicc: xxxxxxxxxxxxxxxxxxxx
    subscriber-number: +CME ERROR: 100
               earfcn: 10661 (DL freq 2132.2Mhz)
                 rssi: -87dBm

The SMS inbox has messages:


[admin@lte2] > /tool sms inbox print 
 # PHONE           TIMESTAMP                      MESSAGE                                                                                                                                                
 0 +44xxxxxxxxxx   Nov/25/2018 10:30:37 GMT +0    Test4

… but I’m unable to delete them


[admin@lte2] > /tool sms inbox remove 0
failure: Interface not running!

Sending raw AT commands shows messages:


[admin@lte2] /interface lte> at-chat input="AT+CPMS=\?" lte1    
  output: +CPMS: ("SM"),("ME"),("SM")
OK

[admin@lte2] /interface lte> at-chat input="AT+CPMS=SM,ME,SM" lte1 
  output: +CPMS: 1,20,1,20,0,0
OK

… and I can delete them via AT commands:


[admin@lte2] /interface lte> at-chat input="AT+CMGD=\?" lte1          
  output: +CMGD: (1),(0-4)
OK

[admin@lte2] /interface lte> at-chat input="AT+CMGD=1" lte1      
  output: +MMSG: 0, 0
OK
+MMSG: 0, 0

… and they get deleted:


[admin@lte2] /interface lte> at-chat input="AT+CPMS=SM,ME,SM" lte1 
  output: +CPMS: 0,20,0,20,0,0
OK

… but the SMS inbox still shows them until I reboot:


[admin@lte2] /interface lte> /tool sms inbox print     
 # PHONE           TIMESTAMP                      MESSAGE                                                                                                                                                
 0 +447460079051   Nov/25/2018 10:30:37 GMT +0    Test4

Is this expected behaviour?