PROBLEM SOLVED
RUT241 manual says target number should be CountryCode + AreaCode + Number. I am in Canada so country code is either 001 or +1.
Freedom Mobile - provider for device #2 below will not accept country code - presumably because our plan is not international. Sms_send works with just AreaCode + Number. No country code needed.
I am using the following to send SMS from an application.
Call webrequest.Post(“http://10.11.5.100/cgi-bin/sms_send”, jsonbody) - device 1 KoodoMobile
Call webrequest.Post(“http://10.11.5.101/cgi-bin/sms_send”, jsonbody) - device 2 FreedomMobile
I have two RUT241 devices, connected to two different cellular service providers. Both are set up identically as best I can determine.
I can send sms from both devices using the internal Messages function. However the above command only works with one of the providers. With the second one I get HTTP request timeout.
I am new to this and would appreciate any suggestions.