Hi,

To make my previous question clearer, we have a sms-service with the default
keyword that collects the incoming SMSs for all short codes.  However, we
want SMSs to certain short codes to not go to the default get-url. We have
tried the configuration below, but blank SMSs still go to the default
get-url.
Some competitions ask entrants to send in a blank SMS (where there is no
content in the SMS).

(As the keyword field is mandatory, we've had to leave it in and put in some
arbitrary value.  We've set the keyword-regex to try catching everything
that comes in.)

Is this possible with the current Kannel CVS or do you need to use the
default sms-service to receive blank SMSs?

Any suggestions appreciated. 

group = sms-service
accepted-smsc=smsc1
allowed-receiver-prefix=11111
get-url = "http://localhost/app?sender=%p&text=%a&time=%t&appaddress=%P";
omit-empty= true
keyword= any_keyword_will_do
keyword-regex =.
catch-all = true

group = sms-service
keyword = default
omit-empty= true
text = "Default service specified"
get-url =
"http://localhost/defaultapp?sender=%p&text=%a&time=%t&appaddress=%P";

Thanks.


Reply via email to