Many thanks Cornejo,
I would do as suggested. Best Regards, Irfan Malik > Date: Thu, 26 Aug 2010 08:59:14 -0500 > Subject: Re: configuration help required > From: [email protected] > To: [email protected] > CC: [email protected] > > Irfan > > For such things it is quite better to send all messages to only one > script --in the language of your choice-- where you can > parse/split/sort or whatever mods you want to do with the MO. > > It also lets you change it without the need to restart kannel. > > Regards > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Thu, Aug 26, 2010 at 2:44 AM, sangprabv <[email protected]> wrote: > > 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 > > > > > > > > > >
