I cannot find a way to restart this service. Please help.
Hello,
Could you please let me know why you need to restart the SMS gateway? Are you experiencing any issues with it?
Additionally, could you specify whether you are using Auto Reply, SMS Forwarding, or Email to SMS?
Best regards,
I am trying to list and read sms messages using curl. Firmware version is RUT2M_R_00.07.12
I have sent this unit two sms messages from my phone and I can see them logged in as admin.
The RUT241 has local IP 192.168.1.105. I have installed Mobile POST/GET and defined the user perf with passwd Sof88ien and enabled Mobile POST/GET settings.
When I execure the curl statment below in Ubuntu I receive “Bad username or password”
$ curl -X GET “http://192.168.1.105/cgi-bin/sms_list?username=perf&password=Sof88ien”
When I look at status>services I can see that the service SMS Gateway Post/Get is Down.
Please help!
Thank you for the information. I followed all the steps you provided, and I was unable to replicate the issue—everything seems to be working as expected.
Regarding the “Down” status, this is a known issue where these two services always show as down, even when they are actually up. A fix for this is expected in the 7.13 firmware update.
As for the “Bad username or password” error, I only encountered this when entering incorrect login credentials. I recommend double-checking everything or trying to create new credentials and following the steps again to see if the issue persists.
Please let me know if you need further assistance.
Best regards,
You are correct. My fault. Wrong credentials - a letter was missing. And for the service down, I will ignore it as for now.
Thanks!
Index: 1
Date: Sat Jan 25 14:27:17 2025
Sender: +4790188402
Text: Nå med reply?
Status: read
Now I tried to send an sms. But I get bad request in return. Observe my phone number as read from the unit. How should I write this number in the send message? Here is my test:
curl -X GET “http://192.168.1.105/cgi-bin/sms_send?username=perf&password=Sof88ien&number=004790188402&text=Test fra rut241”
Good to hear the issue with credentials is resolved now!
Regarding sending the message, unfortunately, you cannot use spaces between words as it does not match the required format. Instead, you can use an underscore _
(e.g., Test_fra_rut241
).
Please let me know if there is anything else I can assist you with.
Best regards,
OK, maybe you have a code snippet in Python fot handling sms list/read/write/delete handling?