Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Detect hardware failure from web interface?
sp_NewPost Add Reply sp_NewTopic Add Topic
July 12, 2012
4:21 am
Lasse Mølgaard
Guest
Guests

It is not possible to get an error immediately but the Web Connector has an API to request the status of all the Gateways and Connectors. You can check the status of the gateway just before sending a message to make sure that the gateway is still functioning.
Status check API:

Thank you! 🙂

This way I just have to search if Gateway status contains the word "ready". Navigating an XML tree is easy. Now I just have to solve the hardware issue, but that is beyond this scope. 🙂

/ Lasse

July 11, 2012
10:27 am
Henk Helmantel
Guest
Guests

Hi Lasse,

It is not possible to get an error immediately but the Web Connector has an API to request the status of all the Gateways and Connectors. You can check the status of the gateway just before sending a message to make sure that the gateway is still functioning.
Status check API:

The GSM Modem Gateway has a number of options to reboot the modem when an error occurs. This does not work properly on all modems but you can give it a try to see if the reliability of the modem improves. To enable the reboot, edit the GSM Modem Gateway properties, select Advanced and set the RebootAfterTimeout property to True. There are some other reboot settings that you could try.

Regards, Henk

July 11, 2012
5:12 am
Lasse Mølgaard
Guest
Guests

Im evaluating Daifaan SMS server and so far it has worked brilliantly, however I found to be annoying.

Im using the GSM gateway and web connector. My problem is my modem stops working once in a while - which makes Daifaan GSM gateway report connection is down. Which is fine in my book.

Howeveer lets say I have a program calling the web api to send a message. The syntax of URL, authentication, phone number and message are coded correctly.

Look at this send message example for reference:

http://www.diafaan.com/applications/web-service-sms-gateway/

Even though gateway is down, I still get a message back from web connector, that accepts and queues the message for ìmmidiate delivery.

Result is delivery is failing, but there are no indication in the web response that delivery failed.

I would expect that instead of getting:

OK: LONG_ID_NUMBER

I would expect something like:

ERROR:300 GSM Gateway is down

Which would make for faster debugging for me, when finding out what is going on.

Is there a way to make web interface report hardware errors back?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3897

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1487