Hi All, I am looking for help to configure kannel sms-service based on number of words in request. Requirement is to append different URL's to the request based on number of words in keyword. it should work for any keyword
Request 1) 92123456789 Request 2) 92123456789 1234 10 For number 1, want to append a URL e.g. http://www.myweb.com/blank For number 2, want to append a URL e.g. http://www.myweb1.com/pinrequest >From definition of keyword, I could see it is possible but don't know how to >configure it, keyword (m) word Services are identified by the first word in the SMS. Each `%s' in the URL corresponds to one word in the SMS message. Words are separated with spaces. A keyword is matched only if the number of words in the SMS message is the same as the number of `%s' fields in the URL. This allows you to configure the gateway to use different URLs for the same keyword depending on the number of words the SMS message contains. The keyword matches in non-case sensitive manner, which means you don't have to use aliases to handle different cased versions of your keyword. Any help would be very much appreciated. Best Regards, Irfan Malik
