Support forum
Hello Ignacio,
a) Yes, by retrieving the XML document and checking specific fields you can be sure that Diafaan SMS Server works and that the checked gateways and connectors are active. It does not always guarantee that all the gateways and connectors function properly, sometimes a problem only becomes apparent after sending a message.
b) For the GSM Modem Gateway the fields you mention are correct. For the connectors it is more complicated but checking the three fields is a good way to check the status of the Web Connector.
c) and d) Both options are possible, Diafaan SMS Server does not check if a message is sent to its own GSM Modem Gateway, if you use a connector to send and receive a message with the same gateway you know that the whole system works.
Regards, Henk
3:14 pm
Hi everybody,
We've just bought our license for Diafaan SMS Server and our next task is to proactively monitor activity & availability for the platform.
I've read a post named "Get status gateway" (https://www.diafaan.com/support-forum/using-diafaan-sms-server/get-status-gateway/) where it's said that the HTTP API of the Web Connector in Diafaan SMS Server includes an HTTP call to get the status of Diafaan SMS Server.
In fact, this returns a pretty complete XML document, so my questions are as follows:
a) Can I be sure, checking only this simple XML and taking some values from it, that the SMS Server is working ok?
b) Which values should I look for in order to assure the platform is 100% working?
My initial guess is:
(for each gateway)
Active="1"
Status="Ready to send and receive messages"
NetworkSignalStrength"NoSignal"
(for each connector)
Active="1"
Status="Ready to send and receive messages"
(if Web Connector) WebserverActive="1"
c) Could I check each gateway funcionality by means of sending an automatic test message?
This is, could I send a message from Gateway 1 to Gateway 2 and another from Gateway 2 to Gateway 1 and process the received test messages in order to assure everything is working?
d) If I only had 1 active Gateway , could I even in that case send a message from Gateway 1 to itself to verify network signal strength and all of the functionality at once? This is, does a SMS sent to itself go thru the gateway, is then transmitted to the operator SMS Messaging Center and after that it returns from the SMSC and finally delivered? Or it's considered a "loopback" and never really leaves Diafaan SMS Server platform?
Could you please throw some light on these issues?
Thanks a million.-
Ignacio Renuncio
Ministry of Employment and Social Security
Madrid, Spain
Most Users Ever Online: 529
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488