On Wed, Jan 20, 2010 at 12:35 PM, Irfan Malik <[email protected]> wrote:
>
> Dear ALL,
>
> I was wondering if I can ignore SMS request that is in language other than
> English with some appropriate message like we do not support this language.
> I am receiving lot of requests that are not in English and my application
> fails to process them.
>
> Can I reject these request at Kannel so such requests are not forwarded to
> the application?

You can set the "keyword-regex" parameter in your "sms-service" group
and define which messages are
accepted by the service. Note that the keyword is the first word of the message.

I understand that you are paying for every sent message and you don't
want to process message
with wrong message text, but from a user point of view, if the user
sends a message and it is
accepted by the sms-service it would be nice to get a response even
though that he/she send wrong message text ;)

BR, Jovan

Reply via email to