Dear Tharanga,

Set your kannel configuration to not reply incomming message directly.
So, the reply message should be sent by your application. To avoid
direct response or reply, add max-messages = 0 in your sms-service
config.

Hope this would help you..

--tjatur

On Tue, 2007-04-10 at 09:26 +0600, Tharanga wrote:
> Hello friends,
> 
> Iam using kannel to give some keyword based services. but my poblem is
> anyone can send a text message with the keyword and anyone can receive it it
> will cost some amount. ( iam using a program to check the customer number
> and if its in my database i'll send the request). but i dont want to use a
> white list in my configurauiton. (because of dynamic nature of my users
> MSISDN's). (but i can use prefix matches to stop webbase sms sending)
> 
> if  a user which is not in my database can send a message to kannel and he
> will receive one sms saying..."couldnot fetch content..or
> invalid..entry..etc). is there any way to stop that behaviour ??  i need to
> send mesages to my registered users. others should discard from the gateway.
> i know white list can be used to do this..but i dont want to use that white
> list filtering..my numbers are not static.. but my program can filter valid
> numbers and send the content to the user. but invlaid users also get a
> message...(programatically i cant control it..kannel sends  a message i have
> remove the defualt keywords also..but no luck)
> any ideas suggestions are really appriciated
> 
> Thanks in advance,
> 
> Tharanga
> 
> 


Reply via email to