Sending SMS messages at trade show

I’m looking into Teltonika to send automated SMS messages during a trade show in Germany. I don’t have much experience with Teltonika nor regulations/standards in regards to sending SMS messages. I’m trying to get a better understanding about what is involved when sending SMS messages in this context.

During this trade show we want to send SMS messages to a select group of users (the company that asked us to provide this service). The users who will receive the SMS messages have subscriptions from Germany, Belgium, USA, Ireland and United Kingdom. Is there anything I should know when I want to send SMS messages to mobile phones from these countries? Or will this just “work” and is it comparible as if I were to send a message from my mobile?

From a quick search I learned about the RMS REST API which has an end point that can send SMS messages. For this use case is there a specific device that is recommended?

1 Like

Hi,

Router sends SMS message as any other mobile device, e.g. a mobile phone.

When sending messages abroad, simply enter the phone number in international format, with a country code.

You can connect to the router over the SSH protocol (SSH login: root, SSH password: <your device’s password>) and use the gsmctl -Ss "<number> <text>" command to send manual or automated SMS messages. Command example:

gsmctl -Ss "+00112233445566 This is a text message"

I have a RUTX50 and a RUTX11 located in other European countries, and they both automatically forward any SMS messages as an SMS to my UK mobile and my email address.

All of this is easily configurable in the devices Web UI, and can forward the recieved SMS to multiple recipients.

You can also configure the device to only forward messages from certain number(s). A brief description of the configuration parameters can be found here.

There is a finite limit to the number of characters in an SMS, maybe someone on here can elaborate what happens in these circumstances and the particular limits for Teltonika devices. I am unable to, as I have never forwarded an SMS that breaks these limit(s).

Thanks for the quick answer!

I just had a call with a Teltonika supplier and they told me that they can only deliver SIM cards that can be used to send SMS messages in Europe. From your answer it seems that this is rather an exception?

We would like to send SMS messages via the REST API: https://developers.teltonika-networks.com/reference/trb500/7.14.3/v1.6.3/messages#post-messages-actions-send but I can’t find a reference in the manual if this REST API is supported by e.g. the RUT241.

Thanks Mike!

For our use case (I should have described this better in my initial post) we want to send a SMS to users from a service desk. The messages will contain something like “Hi Bob, Alice is waiting for you at the reception.”

Any limitations to send SMS messages abroad come from the SIM card itself, and NOT the device. If your SIM provider can only provide European SIM cards - they will not be able to send SMS messages abroad, no matter what device they are inserted into (mobile phone, PLC, router, etc).

If sending messages outside of Europe is a must, you can simply look for another SIM provider which offers such a service.

Yes, API works. Try this call:

POST /messages/actions/send '{"data": {"number": "<phone number>", "message": "test api", "modem": "1-1"}}'

Be aware that the modem id will vary, depending on the device model. For instance, on a RUTX50 it is 2-1. You can retrieve the modem id using api GET /modems/status

The correct value will be shown next to the “id”: in the returned data set.

2 Likes

update:
My bad, was using GET instead of POST.

Thanks everyone!

I’ve just got my TRB140 device with a SIM and have it setup. However, I can’t send any messages. Whenever I want to use the /api/messages/actions/send end point, I get the following response:

{
“success”: false,
“errors”: [
{
“source”: “Request”,
“error”: “Endpoint for ‘actions’ not implemented.”,
“code”: 100
}
]
}

I’ve tested several other end points, like /api/messages/status and those do work.

Do I need to enable this end point somewhere?

Hello,

Does the SIM card you’re using support SMS messaging (i.e., it’s not a data-only plan)?

Have you tried sending an SMS manually through the WebUI (Services → Mobile Utilities → Messages) or via CLI using the gsmctl -S -s "<number> <text>"command?


You don’t need to enable the /api/messages/actions/send endpoint separately, it should work by default once the SIM and modem are properly initialized. Also could you share which firmware version is currently running on your TRB140 device?

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.