Oh... thanks for letting me know, I just corrected to "keyword = default" and it works.
One more question, like how can I have Kannel to distinguish between matching default SMS-services? Let's say I have to create one for weather and other for translation just to say something. Thanks, Aldo Zavala ----- Original Message ----- From: Nikos Balkanas [mailto:[email protected]] To: [email protected], Aldo Zavala [mailto:[email protected]] Sent: Thu, 16 Sep 2010 20:30:44 -0700 Subject: Re: multiple default SMS-service's. Is it possible? > Hi, > > You have an error in your configuration. If the second sms-service is > supposed to be default, use: > > keyword = default > > not > > keyword = "" > > It allows multiple defaults. It will use the first matching one. > > BR, > Nikos > > ----- Original Message ----- > From: "Aldo Zavala" <[email protected]> > To: <[email protected]> > Sent: Friday, September 17, 2010 3:16 AM > Subject: multiple default SMS-service's. Is it possible? > > > Hi, is there possible to set more than one default SMS-service? Like a way > that make kannel to differentiate by short code number, or something.... > > As I understand a default SMS-Service is one that you don't need to specify > the service name at the body of the SMS, such as TO: 454545 TEXT:"72501" , > and a not a default so your sms-service will process the second word as > keyword as TO: 454545 TEXT:"Weather 72501". A default one would be like you > > only enter the keyword and SMS-Service will process the first word. > > > Example of one of my SMS-Services: > ------------------------------------ > group = sms-service > keyword = Horoscope > catch-all = true > accepted-smsc = huawei > get-url = > "http://192.168.8.188/services/horoscope/mobile_horoscope.php?sign=%s&sendto=%p" > accept-x-kannel-headers = true > max-messages = 3 > concatenation = false > omit-empty = true > > > Example of one of my default SMS-Service: > ---------------------------------------- > group = sms-service > keyword = "" > name = weather > catch-all = true > accepted-smsc = huawei > faked-sender = 7678 > assume-plain-text = true > get-url = > "http://192.168.8.188/services/garitas/mobile_weather.php?port=%a&sendto=%p" > accept-x-kannel-headers = true > max-messages = 3 > concatenation = false > omit-empty = true > > > > Thanks, > > Aldo Zavala > >
