RUTX50 possible bug on SMS Forwarding / Sending

Device: RUTX50
Firmware: RUTX_R_00.07.06.10

Hi … I have the following SMS Forward rule, forwarding any SMS recieved to one number on my mobile.

This has been behaving well until recently - coincidently when I upgraded to the 07.06.10 release.

I, and my mobile operator, believe that it is forwarding the message multiple times (x3 in this case).

It seems to also be happening with Events Reporting, where I have the rule below sending an SMS to a single number.

In this case, it sends 5 SMS’s.

Thanks … Mike

Hello,

Currently, it’s a bit difficult to understand what’s going on without more details. To help clarify, could you access your router’s SSH/CLI and run this command:

logread -f

Then, send some messages with “SMS Forwarding” enabled and share the output. With this information, we’ll be able to investigate the issue more effectively.

Best regards,

Hi Marijus,

2 test messages sent and output is below - mobile numbers and email changed.

logread -f
Mon Apr 22 10:45:00 2024 cron.err crond[10644]: USER root pid 15505 cmd /usr/sbin/ping_reboot.sh cfg01c21d
Mon Apr 22 10:45:00 2024 user.notice ping_reboot.sh: Ping successful.
Mon Apr 22 10:45:31 2024 daemon.info gsmd[2027]: SMS was sent to: +34123456789
Mon Apr 22 10:45:31 2024 daemon.info /usr/sbin/sms_utils: Messages sent to +34123456789
Mon Apr 22 10:45:31 2024 kern.info kernel: Sent 1 PDUs to +34123456789
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 220 smtp.gmail.com ESMTP i7-20020a1709061e4700b00a52244ab819sm5569291ejj.170 - gsmtp
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: > EHLO RUTX50
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-smtp.gmail.com at your service, [31.4.158.23]
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-SIZE 35882577
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-8BITMIME
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-STARTTLS
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-ENHANCEDSTATUSCODES
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-PIPELINING
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250-CHUNKING
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 250 SMTPUTF8
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: > STARTTLS
Mon Apr 22 10:45:31 2024 daemon.err urcd[2359]: < 220 2.0.0 Ready to start TLS
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: > EHLO RUTX50
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-smtp.gmail.com at your service, [31.4.158.23]
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-SIZE 35882577
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-8BITMIME
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-ENHANCEDSTATUSCODES
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-PIPELINING
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250-CHUNKING
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250 SMTPUTF8
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: > AUTH PLAIN
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 334
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: > AHRlbHRvbmlrYS5ydXR4QGdtYWlsLmNvbQBtbWdzZ25vZnp2YWVwbHZm
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 235 2.7.0 Accepted
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: > MAIL FROM:teltonikarutx50@gmail.com
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: < 250 2.1.0 OK i7-20020a1709061e4700b00a52244ab819sm5569291ejj.170 - gsmtp
Mon Apr 22 10:45:32 2024 daemon.err urcd[2359]: > RCPT TO:mike@dummy.co.uk
Mon Apr 22 10:45:33 2024 daemon.err urcd[2359]: < 250 2.1.5 OK i7-20020a1709061e4700b00a52244ab819sm5569291ejj.170 - gsmtp
Mon Apr 22 10:45:33 2024 daemon.err urcd[2359]: > DATA
Mon Apr 22 10:45:33 2024 daemon.err urcd[2359]: < 354 Go ahead i7-20020a1709061e4700b00a52244ab819sm5569291ejj.170 - gsmtp
Mon Apr 22 10:45:34 2024 daemon.err urcd[2359]: < 250 2.0.0 OK 1713775534 i7-20020a1709061e4700b00a52244ab819sm5569291ejj.170 - gsmtp
Mon Apr 22 10:45:59 2024 kern.notice kernel: SMS received from: +34123456789 (internal modem)
Mon Apr 22 10:46:00 2024 daemon.info gsmd[2027]: SMS was sent to: +34123456789
Mon Apr 22 10:46:00 2024 daemon.info /usr/sbin/sms_utils: Messages sent to +34123456789
Mon Apr 22 10:46:00 2024 kern.info kernel: Sent 1 PDUs to +34123456789
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 220 smtp.gmail.com ESMTP i9-20020a170906090900b00a55b05c4598sm1465060ejd.133 - gsmtp
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: > EHLO RUTX50
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-smtp.gmail.com at your service, [31.4.158.23]
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-SIZE 35882577
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-8BITMIME
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-STARTTLS
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-ENHANCEDSTATUSCODES
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-PIPELINING
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250-CHUNKING
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 250 SMTPUTF8
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: > STARTTLS
Mon Apr 22 10:46:00 2024 daemon.err urcd[2359]: < 220 2.0.0 Ready to start TLS
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > EHLO RUTX50
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-smtp.gmail.com at your service, [31.4.158.23]
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-SIZE 35882577
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-8BITMIME
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-ENHANCEDSTATUSCODES
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-PIPELINING
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250-CHUNKING
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250 SMTPUTF8
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > AUTH PLAIN
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 334
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > AHRlbHRvbmlrYS5ydXR4QGdtYWlsLmNvbQBtbWdzZ25vZnp2YWVwbHZm
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 235 2.7.0 Accepted
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > MAIL FROM:teltonikarutx50@gmail.com
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250 2.1.0 OK i9-20020a170906090900b00a55b05c4598sm1465060ejd.133 - gsmtp
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > RCPT TO:mike@dummy.co.uk
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: < 250 2.1.5 OK i9-20020a170906090900b00a55b05c4598sm1465060ejd.133 - gsmtp
Mon Apr 22 10:46:01 2024 daemon.err urcd[2359]: > DATA
Mon Apr 22 10:46:02 2024 daemon.err urcd[2359]: < 354 Go ahead i9-20020a170906090900b00a55b05c4598sm1465060ejd.133 - gsmtp
Mon Apr 22 10:46:02 2024 daemon.err urcd[2359]: < 250 2.0.0 OK 1713775562 i9-20020a170906090900b00a55b05c4598sm1465060ejd.133 - gsmtp

I had disabledd the rule and enabled it for your test … now it appears to be working.

Many thanks

I am doing some further testing because with a reboot, I am still seeing the multiple sent messages in Events Reporting. I will report back.

Hi,

Based on the logread information, it’s evident that only one message is being forwarded.

Could you please share the results of your further testing?

Best regards,

I believe the multiple PDUs are due to the 160 character limit that forces message concatenation. I have ran further tests to check the behaviour above.

SMS of 160 characters = 1 PDU sent
SMS of 162 characters = 2 PDU sent

I assume this is expected behaviour for the RUTOS.

The earlier test messages were short.

Unfortunately my mobile provider detects this and sends me long messages about how I might have a virus. It was just coincidence that I first started receiving SMS that were over this 160 character limit, on the day I did the firmware upgrade.

Hi,

This behavior is expected from all mobile service providers. Even if a message consists of multiple PDUs, it is still sent as one message.

You can verify this by sending a message to your router. When the symbol count exceeds the PDU length, it will automatically continue to another PDU (second), but it will still be sent and received as one message.

Best regards,

Thanks Marijus … a speedy and accurate response … as always.

Mike

1 Like

This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.