Then I don't know. Your config looks allright for the rest.
----- Oorspronkelijk bericht ----- Van: Cariotoglou Mike <[email protected]> Verzonden: donderdag 26 augustus 2010 1:26 Aan: [email protected] Onderwerp: RE: Problem with Regular Expressions it is one of the places where the doc is not up-to-date. if you try this, you will get a PANIC error, saying "either keyword OR keyword-regex must be defined, but not both". at least in version 1.4.3 > -----Original Message----- > From: Rene Kluwen [mailto:[email protected]] > Sent: Thursday, August 26, 2010 2:16 AM > To: Cariotoglou Mike; 'Nikos Balkanas'; [email protected] > Subject: RE: Problem with Regular Expressions > > From the users manual: > > Example 4: sms-service-configuration > > Please note that there are a mandatory keyword and an > optional keyword-regex fields. That means that service > selection can be simplified as in the following example. > Suppose that some Web-content should be delivered to the > mobile. Different costumers use the same service but they > rely on different keywords. Whenever a sms-service is > requested, Kannel first checks whether a regex has been > defined, if not a literal match based on keyword is > performed. If a regex is configured then the literal match is > never tried. > > group=sms-service > ... > keyword=web_service > keyword-regex=^(data|www|text|net)$ > get-url=http://someserver.net/getContent.jsp > ... > > > Here it says that keyword is mandatory, even if it won't be > evaluated because you have a keyword-regex. So in your case, > your sms-service group could be: > > group = sms-service > name = SLG > keyword = SLG > keyword-regex = "^SLG[0-9]+$" > text = "Hi there,SLG %a %b" > catch-all = true > > What happens if you use this config? > > == Rene > > > -----Original Message----- > From: Rene Kluwen [mailto:[email protected]] > Sent: Thursday, August 26, 2010 2:16 AM > To: Cariotoglou Mike; 'Nikos Balkanas'; [email protected] > Subject: RE: Problem with Regular Expressions > > From the us [Het originele bericht is niet volledig opgenomen]
