Round-robin sending with multiple modems

Roy via Gammu-users <[email protected]> Wed, 10 Jun 2020 12:25:31 +0930
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
Hi,

I have set up gammu-smsd using the multiple modems configuration, each 
modem with its own service instance. I used a systemd unit named 
"[email protected]" for this so each one can be controlled like 
"systemctl enable [email protected]" which seems to work fine. Each 
modem's config has "service = files" with the same default directory 
structure under "/var/spool/gammu/". That's all working as far as I can 
tell.

I don't want individual messages to have any affinity for a particular 
modem, I just want to do batch sends using all of them. How do multiple 
smsd instances avoid trying to send the same outbox message? How do they 
ensure that they take turns evenly so that with, say 4 modems, messages 
go out via modem 0,1,2,3,0,1,2,3,... ?

If this is not built into smsd, I'm thinking of creating an extra outbox 
dir per modem, then running a script to watch the main outbox dir, and 
distribute the messages evenly to the extra outboxes.

Does anyone know the specifics of how multiple modems manage queues?

Thanks,
Roy.


_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users