Hi Jelle, hi Tjatur,

Heru Tjatur schrieb:
On Tue, 2006-01-17 at 22:21 +0100, js wrote:

Hi all,

It's not really clear to me how to define a sms-service that discards
all messages which don't match other sms-service.
I don't want to send a response back to the sender in this case.

In case someone:
sends an empty message
sends a message containing whatever that doesn't match "hihi" and
"foo"

#response1
group = sms-service
keyword = hihi
text = "haha"

#response2
group = sms-service
keyword = foo
text = "bar"

#handle all the rest
group = sms-service
?
?

quid?


Thanks for pointing me out

Jelle Smet




Try to add max-messages = 0 parameter in your default sms-services that
handled unmatched keyword.


this is sometimes quite important. A short story:

I had a default answer for sms without a matching keyword like "Sorry, but we cannot find a service for your keyword". Once I looked into the logfiles and I was very surprised, that kannel was sending a lot of messages to one number. What had happened? Our mobile phone provider had has sent us an SMS containing an advertisment - so kannel didn't understand it and sent back the default answer. But - you guess it, on the other side at the provider the system answered this SMS with a "Sorry ...", too. So the servers played pingpong via SMS with each other. Because I realised it very early it did not lead do a lot of money for stupid SMS. Since then I always set max-messages for default to zero: "If you don't understand anything, please keep your f*** mouth shut!"

Greetz from Bonn,
Lars-Hendrik

Hope this could help ...

--tjatur






--
**********************************************

terrestris Till Adams & Hinrich Paulsen GbR

Lars-Hendrik Schneider
Diplom-Geograph

Siemensstr. 8
D-53121 Bonn

Telefon: +49 (0)228 - 962 899 51
Fax: +49 (0)228 - 962 899 57
E-Mail: [EMAIL PROTECTED]
Internet: http://www.terrestris.de

**********************************************

Reply via email to