[multiple-modem] How to purge the spool of one specific modem ?
I use 2 modems (MultiTech MultiConnect Cell 100) on 1 kannel server (v1.5.0) and sometimes, a modem is unusable (it need a hard USB reconnect to work again).
So, on top of a playSMS server that use many of my Kannel servers, I got a custom application with a resending function for SMS that tried to go on the unusable modem.
My problem is that when I hard reboot the modem (maybe 1 day after the disconnection), some SMS are still in the spool and are sent (but I don't want it because my resending function used some other modems to send those SMS).
So I want to purge the spool (/var/spool/kannel/store), with 1 modem it's easy, but with 2 modems it use the same spool, so I don't know what to delete (I don't want to delete the 2nd-modem SMS).
The only way I see to do what I want is to have 1 kannel for 1 modem, but it's really sad to make it that way...
Is there any way to split the spool, one for each modem ? or to know the modem for each SMS in the spool ?