Provider Queue Vodafone ![]() |
|
SMSD Modem1 Task |
Putsms 1 | ![]() |
Modem1![]() |
Failed Queue![]() |
|
SMSD has got one additional task for each modem. You can check this by using the ps command.
The Modem Tasks check the configured Provider Queues for new SMS Files. If they find one, they will lock the file by creating a lock file and then call Putsms.
Putsms is a small program that controls the modem to send a single short message. So you will see Putsms in the proceess list (ps command) only while a SM is being sent.
The lock file prevents that the SM is sent by more than one modem at the same time. It allows you to connect more than one modem to a single Provider Queue wich improves performances and stability (redundancy). Furthermore you may use more than one single computer each equipped with a set of modems to send messages. It is allowed to have many SMSD applications running on the same set of queues.
If sending fails, Putsms will try a second time. If it fails again, the SMS File will be moved to the Failed Queue directory.
If 3 SMS Files were moved to the Failed Queue without any successful message between them the SMSD Modem Task will block the modem for a specified time because it assumes that the modem is out of order. If you have more than a single modem for each Provider Queue you will be lucky because the other modems will continue to work and you wont get loss of service for further messages.