On Sun, Nov 14, 2004 at 03:37:43PM +0000, Steve Kennedy wrote: > Is it possible for Kannel to ignore some incoming numbers ? >
Depending on how you use kannel. Read how to config kannel's SMS service. This would be easiest to set up. http://www.kannel.org/download/1.3.2/userguide-1.3.2/userguide.html#AEN3045 (refer to the guide for the version you use) > Unfortunately a system here got SMS SPAMmed (kannel connected to a GSM > modem), nice premium rate SMS (at GBP 1.60 +VAT per message). > :( > I'd like to have it such that if the SMS comes from a short-code it's > just ignored. > > Or I guess I could check the number started with +447 or 07 ? > of particular interest to you may be : (from 1.3.2 userguide sms service description) allowed-prefix prefix-list A list of phone number prefixes of the sender number which are accepted to be received by this service. [b] Multiple entries are separated with semicolon (';'). For example, "91;93" selects this service for these prefixes. If denied-prefix is unset, only this numbers are allowed. If denied is set, number are allowed if present in allowed or not in denied list. denied-prefix prefix-list A list of phone number prefixes of the sender number which are NOT accepted to be sent through this SMSC. > Any help appreciated. > Is that what you need? > > Steve > Often service filtering/limitation would also be done in daemon/script you send received sms from kannel to. James.
