SMS Server Tools 3
 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. The forum is currently read-only, but will open soon. Sun Dec 08, 2024 14:26
SMSTools3 Community » Help and support Bottom

[Included in 3.1.21 (check_sim*)] Sim not inserted

Login and Post Reply

Page:  1

Author Post
Member
Registered:
May 2012
Location: Krasnodar, Russian Federation
Operating system name and version: linux embdeded 3.10.17
Version of smsd: 3.1.20
Smsd installed from: sources
Name and model of a modem / phone: modem bgs2
Interface: serial

Hello,
My question is:
Sometime people insert sim card after device already started
in this case modem process terminated by main process:
2017-04-29 17:07:36,2, bgs2r2: PIN handling: expected READY or OK, modem answered +CME ERROR: 10 (SIM not inserted), SIM not inserted
2017-04-29 17:07:36,2, bgs2r2: Modem handler 0 terminated abnormally. PID: 6246, was started 17-04-29 17:07:36, up 0 min.
2017-04-29 17:07:37,2, smsd: Modem handler 0 (bgs2r2) terminated while mainprocess is still running. Exited, status 1.

And if card inserted on a fly, sms server doesn`t work

So, is possible to make modem process waiting sim card while started?
Now I use alarm_hundler to restart smsd after 30sec, but I dont like this approach (what if sim card never inserted....)


« Last edit by simark1979 on Sat Apr 29, 2017 14:26, 92 months ago. »
Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Take a look at the 3.1.21 which is now available for download.

Thanks for the great idea. 8)

Member
Registered:
May 2012
Location: Krasnodar, Russian Federation
Topic owner
Thank you too :)
This is great feature in my case
So will try in the evening

Thank you again, Keke

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.