SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Jun 14, 2024 18:36
SMSTools3 Community » Help and support Bottom

Event handler if modem is disconnected

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Apr 2014
Location: Russian Federation
Ubuntu Linux precise1 12.04 LTS:
3.1.14-1:
Smsd installed from: package repository
USB modem Huawei e1550:
Interface: USB

Hello!
We have built some monitoring system server.
All everything allright, it's work.
But sometimes my modem hangs, and I have message in log liked this: modem is not registered.
It's not problem, I get event about this accross event handler of smstools.
Question!
If modem is disconnected from server (etc. because wrong config smsd.conf, where change USB port), how I can known about it? By event or something else?
Thanks in advance!

Member
Registered:
Apr 2014
Location: Russian Federation
Topic owner
Hello, All! :)

The answer to my question I find in the related topic:
how to detect if usb modem is dead/unresposible?

Link to original docs:
Alarm handler

I use Perl for programming, and therefore use script liked to the following:



Thank you for your attention!

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.