RUT 241 SMS send timeout

Hello,

I just bought a RUT241.

On my RUT241, I’m trying the same SMS send via the API at multiple recipient (from a webapp using PHP) : http://mydomain.com/api/messages/actions/send

I dont understand why but I randomly having issues like this :

Start sending…
Recipient 1 : OK
Recipient 2 : OK
Recipient 3 : API timeout after 30000ms
Recipient 3 : API timeout after 30000ms
Recipient 3 : API timeout after 30000ms
Recipient 3 : OK
Recipient 4 : API timeout after 30000ms

When I restart, again I’ve got timeout. Then 2 minutes later, I try again and sends continues for a few recipients and then timeout again.

Can someone know how can I solve it ?

Edit : I already tried to enable / disable VoLTE like mentionned on another topic

Teltonika RUT241

Device: RUT241

Firmware version RUT2M_R_00.07.13.4

Firmware build date 2025-04-02 15:14:09

Internal modem firmware version SLM750-V_4.57.20_EQ101

Kernel version 5.15.176

Hello,

You can change the token expiration time during the authentication process. For more information, please refer to our documentation here: RUTX50 Authentication Documentation.

Best regards,

I checked the documentation, there’s only 2 params when using /api/login : username and password

Hello,

Apologies for the confusion.
You should first log in and obtain a token. After that, create a new request that looks like this:

In the request body, you can specify your desired session timeout duration (in my example, it’s set to 400).

Make sure to select Bearer Token under Authorization and paste the token you received after logging in.

Additionally, you can extend the session time by following the steps outlined here: API access token - #3 by Martynas.

Best regards,

Thanks for sharing. I found a lot of interesting information here.

That’s exactly what I do. I authenticate with /api/login with username password, I retrieve a token.

Then I use this token (Bearer) with the /messages/actions/send endpoint with a sleep of a 2sec between each call.

The RUT241 answer 200 OK in 200ms. The second call with same message and same recipient can be quick or take until 50-90sec to get 200 OK. While waiting for the http response, the RUT241 seems freeze.

Hello,

Could you please share the body you are using to send messages to phone numbers at a 2-second interval?
Kindly make sure to hide or anonymize any phone numbers in your response.

Best regards,

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