Please address the list. You have a few problems. keyword-regex overrides keyword. So scratch default out. Also I don't think that [:print:] is perl like regular expression. Why don't you try:
keyword-regex = <[^>]*>_STOP keyword-regex = <[a-za-z...@]*>_STOP keyword = ">_STOP" BR, Nikos ----- Original Message ----- From: Latitude Berlin To: Nikos Balkanas Sent: Wednesday, March 18, 2009 12:24 PM Subject: Re: regex for sms-service group Here is what I have in conf file: ... group = sms-service keyword = default keyword-regex = <[:print:]*>_STOP accepted-smsc = "csoft_s3;csoft_s4" catch-all=true max-messages=0 get-url = http://localhost:50351/RServlet?from=%p&to=%P&text=%a ... My intentions are to send all the incoming SMS that follow the given pattern to RServlet. _STOP is a keyword that should follow the email address enclosed under angular brackets (<>). For example: <em...@domain.com>_STOP <ema...@domain2.com>_STOP should be forwarded to RServlet. Thanks 2009/3/18 Nikos Balkanas <nbalka...@gmail.com> Hi, What is _STOP? Please post your configuration file and explain what you are trying to do with it. BR, Nikos ----- Original Message ----- From: Latitude Berlin To: users@kannel.org Sent: Tuesday, March 17, 2009 3:02 PM Subject: regex for sms-service group Hi, I want to have keyword-regex in sms-service group to forward the incomming SMS messages (meetting the criteria) to a specific servlet. Example. <m...@domain.com>_STOP Regex: <[:print:]*>_STOP The regex I used didnt work. I would be greatful if someone can guide. thanks - Latitude