Kannel :: How can I filter incoming traffic

222 Views Asked by At

I use Kannel as SMS gateway - It works fine for me. I am connnected one operator and I provide SMPP COnnections to my clients. All works fine. But now I need to filter the traffic based on the recipient number ie I need to be able to set a REGEX for the receipient and reject the SMS if it's supposed to be sent to those recipients. Is this possible in Kannel? Any idea of how this can be done?

Thank you.

1

There are 1 best solutions below

1
pilsetnieks On

Core group configuration (i.e. bearerbox configuration) has parameters for white-list-receiver-regex and black-list-receiver-regex, those should do what you're looking for. That is, however, a system-wide setting, not a per-SMSC setting so it applies to all numbers through all SMSC connections.