Operating system name and version: Linux OpenSUSE vicidial21 3.1.10-1.2
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: ZTE, Huawei
Interface: ttyUSB
Hello. I have configured pool of 3 modems already. It works fine, but I have rather big queue to send out each day: about 9k of messages. And each is quite large, so it will be splitted in 3 parts, so actually queue is 9k*3. Point is that I can send messages only in daytime from 8am till 10pm.
What is the correct way to pause smsd daemon? I can't just stop it at any moment, because GSM1 can be sending 2/3 part and GSM3 can be still sending 1/3 part and so on. How do I wait for each modem to send out 100% of current message parts and then I stop the daemon?
2013-09-27 14:59:48,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 1037.
2013-09-27 14:59:48,2, smsd: Smsd mainprocess terminated. PID 1037, was started 13-09-27 10:04:49.
2013-09-27 14:59:48,3, GSM4: The modem answer was not OK:
2013-09-27 14:59:48,5, GSM4: Waiting 10 sec. before retrying
2013-09-27 14:59:48,4, GSM4: Sending SMS (part 2/3) to 63916519**** failed, trying time 2 sec. Retries: 0.
2013-09-27 14:59:48,3, GSM2: The modem did not answer (expected OK).
2013-09-27 14:59:48,5, GSM2: Waiting 10 sec. before retrying
2013-09-27 14:59:48,4, GSM2: Sending SMS (part 1/3) to 63948825**** failed, trying time 1 sec. Retries: 0.
2013-09-27 14:59:50,2, GSM2: Modem handler 1 terminated. PID: 1040, was started 13-09-27 10:04:49.
2013-09-27 14:59:50,2, GSM4: Modem handler 3 terminated. PID: 1042, was started 13-09-27 10:04:49.