Im not sure, but maybe keyword-regex directive might help you.
sangprabv [email protected] http://www.petitiononline.com/froyo/ On Aug 26, 2010, at 2:28 PM, Irfan Malik wrote: > Yes, It is. Any help ? > > > Best Regards, > > Irfan Malik > > > > > Subject: Re: configuration help required > From: [email protected] > Date: Thu, 26 Aug 2010 14:22:26 +0700 > CC: [email protected] > To: [email protected] > > It should be about sms-service > > > sangprabv > [email protected] > http://www.petitiononline.com/froyo/ > > > On Aug 26, 2010, at 2:10 PM, Irfan Malik wrote: > > 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 > > > >
