Carlos wrote
I found a "workaround".
Great! But it's not a "workaround", it's the way how smsd works and should be used...
You had another topic with this issue and it's answered yesterday,
this post, have you seen it? It also contains an question for you, but probably I can close that topic now?
Next version of smsd does not need [providers] definition, if provider sorting is not used. I will also make better documentation for queues and provider sorting, including more samples with explanations.
Hopefully you are satisfied now, and do not need a "Modem" tag anymore...
Later, when you may have groups of modems, you can easily make a setup which targets messages to the first group (GSM11, GSM12 and GSM13), or to the second group (GSM21, GSM22, GSM23 and GSM24). (Names just as an example). But if you still and really want to use a "Modem" tag, and know what you are doing, this is how to use it:
- Define a
checkhandler.
- In the checkhandler script, read the content of Modem: header.
- Remove the Modem: header.
- Write a new header to the file:
Queue: <content>.