Johno, Kannel only matches to the first space, so you cannot match a regexp with spaces.
Check the list archives for more info, this issue has arised many times in the past, so there's some more info on the inners details if you want to dig more into it. Hope it helps, Alejandro On 8/12/07, Johno Crawford <[EMAIL PROTECTED]> wrote: > Fedora release 7 (Moonshine) > cvs-20070803 > libxml2 2.6.29-1.fc7 > Intel Core 2 Duo > > Hi All, > > I have setup an sms-service to act as a relay, but the incoming SMS is > still using the default service. > > group = sms-service > keyword-regex=^Your[[:space:]]password[[:space:]]of[[:space:]]ID(.*)$ > keyword = test-relay > get-url = http://foobar.com:13013/cgi-bin/sendsms?username=user&password= > password&to=xxxxxxxxxx&mclass=0&text=%b > max-messages = 0 > > group = sms-service > keyword = default > get-url = http://foobar.com:13013/cgi-bin/sendsms?username=user&password= > password&to=xxxxxxxxxx&mclass=0&text=fail > max-messages = 0 > > Has anyone got the keyword-regex to work with a phrase inclusive of > spaces? Searching through the docs I could not find any examples which > used a phrase instead of singular words, any ideas or suggestions would > be appreciated. > > > -- > Johno Crawford > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
