DanT Posted March 12, 2021 Report Share Posted March 12, 2021 Hi; The UCR 5 and 8 Routers from Unitronics do not yet have any interface for Vision support for SMS messaging. Has anyone done SMS messaging for a Vision thru the UCR Routers ( or the Routers they are based on).? There are some options within the Routers for SMS, but I have not been able to get them to work. I have tried several so far. Curious about what method works. ( Tried Protocol TCP via SMS Gateway-Post- looks do-able, but missing something, Email to SMS - cumbersome to implement - no success) SMS can be done Manually, but this is within the router itself, that works. DanT 1 Link to comment Share on other sites More sharing options...
External Moderators Nacho Posted August 6 External Moderators Report Share Posted August 6 Hi DanT, I am testing right now. Using a Web browser I can send SMS following the next example: http://192.168.1.1/cgi-bin/sms_send?username=user1&password=user_pass&number=0037060000001&text=testmessage Username and Password like the setup in Router B8 you an see in Services->Mobile Utilities->SMS Gateway I am testing with the FB Protocol TCP/IP Send with this message: GET /cgi-bin/sms_send?username=user1&password=user_pass&number=0037060000001&text=testmessage HTTP/1.10D0AHost:192.168.1.720D0A0D0A Link to comment Share on other sites More sharing options...
External Moderators Nacho Posted August 6 External Moderators Report Share Posted August 6 I did it! The message to use is: GET /cgi-bin/sms_send?username=user1&password=user_pass&number=0037060000001&text=Hello HTTP/1.00D0A0D0A Now I have to get it to send text with spaces. I use a utility for send/receive messages and this is the result: Message OK: GET /cgi-bin/sms_send?username=user1&password=user_pass&number=003460000001&text=Hola HTTP/1.0<CR><LF><CR><LF> Answer from Router B8: HTTP/1.0 200 OK Connection: close Strict-Transport-Security: max-age=63072000; includeSubDomains; preload X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'self'; frame-src * 'self'; img-src * 'self'; script-src https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@4eccf2cf93856a69c7c982df04ae8b91b43aac52/en/v6.4.3/build/ol.js 'sha256-LV+4Blj3LIWsLHvvq37tdHwBQpq6ZOI+wHw3XeGsJzM=' 'self' 'sha256-8yE2w7Bv8/Il8SvtEkB35j3QNRei9CKtdX8HgqblU04=' 'sha256-3/SyFyEV0Y/9yrhH8vNQqUrPTjxumNcaYo5gRtJvm2c='; style-src https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@4eccf2cf93856a69c7c982df04ae8b91b43aac52/en/v6.4.3/css/ol.css 'unsafe-hashes' 'sha256-4Su6mBWzEIFnH4pAGMOuaeBrstwJN4Z3pq/s1Kn4/KQ=' 'sha256-kwpt3lQZ21rs4cld7/uEm9qI5yAbjYzx+9FGm/XmwNU=' 'self' Content-type: text/plain;charset=utf-8 OK But If I use spaces: GET /cgi-bin/sms_send?username=user1&password=user_pass&number=003460000001&text=Hello World HTTP/1.0<CR><LF><CR><LF> Anwer: HTTP/1.0 400 Bad Request Connection: Keep-Alive Keep-Alive: timeout=0 Strict-Transport-Security: max-age=63072000; includeSubDomains; preload X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'self'; frame-src * 'self'; img-src * 'self'; script-src https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@4eccf2cf93856a69c7c982df04ae8b91b43aac52/en/v6.4.3/build/ol.js 'sha256-LV+4Blj3LIWsLHvvq37tdHwBQpq6ZOI+wHw3XeGsJzM=' 'self' 'sha256-8yE2w7Bv8/Il8SvtEkB35j3QNRei9CKtdX8HgqblU04=' 'sha256-3/SyFyEV0Y/9yrhH8vNQqUrPTjxumNcaYo5gRtJvm2c='; style-src https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@4eccf2cf93856a69c7c982df04ae8b91b43aac52/en/v6.4.3/css/ol.css 'unsafe-hashes' 'sha256-4Su6mBWzEIFnH4pAGMOuaeBrstwJN4Z3pq/s1Kn4/KQ=' 'sha256-kwpt3lQZ21rs4cld7/uEm9qI5yAbjYzx+9FGm/XmwNU=' 'self' Content-Type: text/html <h1>Bad Request</h1> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now