When the GSM modems hang, the messages will time out eventually but depending on the reason why the GSM modem hangs this can take a long time. There is a remote HTTP API call available to monitor the status of Diafaan SMS Server (see the manual for more information). The XML information that is returned contains the number of messages in the send queue and status information about the GSM modems.
Another option might be to read the pending records from the logging database but if that is not done carefully it might interfere with the normal logging. The logging database is located at "%ProgramData%\Diafaan\Diafaan Message Server\MessageLog.sqlite".
If you use GSM modems based on Wavecom or Siemens/Cinterion modules it might be a good idea to reboot the modem when an error occurs. On a reboot, all the parts of the modem are restarted and the modem reconnects to the GSM network.
The modem reboot options are available in the Advanced options of the GSM Modem Gateway. They are disabled by default because most USB modems do not recover very well from a reboot.
Sometimes our GSM modems will hang and the messages will be stuck in the send queue. Is there any way we can find out the SMS are stuck without monitoring the software physically?
We can write a script to check the send queue but how do we access the database? Thanks!
I have purchased the unlimited license and it's working great.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 421
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 696