Version of smsd: 3.1.20
Smsd installed from: sources
Name and model of a modem / phone: modem bgs2
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, 42 months ago. »