Notice: Undefined offset: 0 in /var/www/html/qa-plugin/custom-override/pages/question.php on line 258

Notice: Trying to access array offset on value of type null in /var/www/html/qa-plugin/custom-override/pages/question.php on line 258
 TRB140 - SMS POST/GET - Response Codes - Crowd Support Forum | Teltonika Networks

FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
416 views 2 comments
by anonymous

Hello,

Can you send me a supported response codes for sending SMS via HTTPS GET/POST? I'm missing this information in documentation.

For example:


HTTP/1.1 200 OK

...

200 Message has been sent


HTTP/1.1 200 OK

...

400;1 Wrong phone number 123456789


HTTP/1.1 200 OK

...

500 Gateway error


THX, Radim


Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1604

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1605
by anonymous

Response codes for common states are below:


Return Send OK string contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

OK


 


Return Invalid Mobile Number string contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

wrong number



Return Authentication Failed String contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

Bad username or password


2 Answers

0 votes
by anonymous

Response codes for common states are below:


Return Send OK string contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

OK


 


Return Invalid Mobile Number string contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

wrong number



Return Authentication Failed String contains:


HTTP/1.1 200 OK

Connection: Keep-Alive

Content-type: text/plain;charset=utf-8

Keep-Alive: timeout=20

Transfer-Encoding: chunked

Bad username or password


Best answer

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1604

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1605
+1 vote
by anonymous
Hi,

Unfortunately we do not have additional documentation/examples for this. Perhaps you have specific issue with SMS post/get?

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1490

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1604

Notice: Undefined index: title in /var/www/html/qa-theme/Teltonika/qa-theme.php on line 1605
by anonymous
Hi, We are looking for simple SMS gateway for integration with our MFA (one time code via SMS) solution. Definition of response codes is mandatory for SMS connector.

# Return INIT OK string contains this (Must Be Defined)

ReturnInitOK=

# Return Send OK string contains this (Must Be Defined)

ReturnSendOK=

# Return Invalid Mobile Number Sting contains this (optional)

ReturnInvalidMobileNumber=

# Return Authentication Failed String contains this (Must Be Defined)

ReturnAuthDenied=

# Return Retry String contains this (optional)

ReturnRetry=

THX, Radim