I am currently attempting to parse two incoming concatenated binary messages,
and route them to an external service. Oddly, the keyword-regex does not seem
to capture the data on a concatenated deliver_sm, however it does when a single
binary message is submitted. Would anybody be able to shed
gt; Because other regex_flag only applied to keyword not keyword_regex
>
> If you don't want to tweak kannel's src, you might consider using [Cc] or
> [Aa] for single characters of the word, e.g:
>
> [Cc][Hh][Ee][Ll][Ss][Ee][Aa], for your example I'd suggest using somet
the word, e.g:
[Cc][Hh][Ee][Ll][Ss][Ee][Aa], for your example I'd suggest using something
like this (not sure if it'd work tho):
keyword-regex = (^([Cc][Hh][Ee]) )|(^([Cc][Hh][Ee][Ll][Ss][Ee][Aa]) )|(
\2$)|( \4$)
\2 \4 should expand [Cc][Hh][Ee] and [Cc][Hh][Ee][Ll][Ss][Ee][Aa]
I
Hi List,
Need help to solve this keyword-regex issue:
keyword-regex = ^\w* chelsea|^chelsea|^che$
aliases = chelsea
name = chelsea
The goal is Kannel should pass MO started with "any 1 single word followed by
word chelsea" or "contains chelsea" or "contains che at the
use POSIX regexp
^[[:digit:]]{7}$
-Original Message-
From: Kevin Reed [EMAIL PROTECTED]
Sent: 15 ??? 2008 ?.
To: seik
Subject:Using keyword-regex
> I am attempting to trap messages sent consisting of only 7 digit numbers.
> The number is not valid unless they are exactly 7 digit
I am attempting to trap messages sent consisting of only 7 digit numbers.
The number is not valid unless they are exactly 7 digits so I wrote an
sms-service like:
group = sms-service
keyword = tr
keyword-regex = ^(\d{7})$
name = TankReading
aliases = store
exec = "
you could set sqlbox to get all the traffic - MO, DLR, MT in one table, via
simple default service description.
so you may skip the http request step and the regexps will be performed on sql
level.
even, in case you use postgresql , you could set rules on insert in a view to
automate the proce
What I've gathered of sqlbox is that it contains a queue table for smses to
send and a table of logs and DLRs. Does sqlbox handle keyword matching, or
is that still up to the sms-service conf file and/or external app?
On 10/21/07, seik <[EMAIL PROTECTED]> wrote:
>
> well,
> you always could read
well,
you always could read the source from here
http://www.kannel.org/~mconte/sqlbox/
and kannel users mailing list like this one:
http://www.kannel.org/pipermail/users/2006-October/000859.html
cheers
-Original Message-
From: Aaron Simmons [EMAIL PROTECTED]
Sent: 21 Октомври 2007 г.
T
Where is sqlbox documented? Is it a new feature?
On Aug 31, 2007, at 9:05 PM, seik wrote:
exactly
sqlbox to handle all the traffic
ONE default service and the services routing rules are applied upon
db insert
much easier to implement any new service without touching kannel
instance at
So you're suggesting simply have kannel forward everything to some
other service:
group = sms-service
keyword = default
get-url = http://localhost:5/gotsms?text=%a&from=%p
This design makes sense of course (and will likely be the way I go).
However, I'm still not sure why kannel's regex
exactly
sqlbox to handle all the traffic
ONE default service and the services routing rules are applied upon db insert
much easier to implement any new service without touching kannel instance at all
-Original Message-
From: Rodrigo Cremaschi [EMAIL PROTECTED]
Sent: 31 ?? 2007 ?.
Hello Aaron,
This seems to be kind of a philosofical discussion, but at some
point in time, you will find much easier to modify a script than to
modify the config file and restart kannel just for a minor change.
Best regards,
Rodrigo
On 8/31/07, Aaron Simmons <[EMAIL PROTECTED]> wrote:
I've run into a problem with keyword-regexp and matching spaces.
Kannel won't match spaces. Though it doesn't appear to be documented
(clearly?) in the Kannel User's Guide, its mentioned a couple times on
this mailing list.
My question is: why? Does Kannel throw out everything past the first
spa
he patch compiling the source.. no luck.
>
> Has anyone successfully patched keyword-regex _and_ got it to work?
> Example keyword-regex usage would also be nice.
>
>
> --
> Johno Crawford
>
>
--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri
Cheers Alejandro,
Managed to find a patch in the mail archive;
http://www.mail-archive.com/users@kannel.org/msg08567.html
However after applying the patch compiling the source.. no luck.
Has anyone successfully patched keyword-regex _and_ got it to work?
Example keyword-regex usage would also
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.
>
&g
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
O, thanks, I think I forget to compile the kannel with pcre support, now the
keyword-regex function already working. thanks.
- Original Message -
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: "Fajar" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, September 24,
Fajar wrote:
hello everyone,
i just new with this kannel stuff, usually i play with nowsms. the most
interesting thing from kannel is support regular expression. but i don't know,
why the keyword-regex not working even the aliases not working either. here is
the example
first o
hello everyone,
i just new with this kannel stuff, usually i play
with nowsms. the most interesting thing from kannel is support regular
_expression_. but i don't know, why the keyword-regex not working even the aliases
not working either. here is the example
group = sms-service
ke
elps,
Christian.
P.S.: It's the kind of mistake I do by myself all the time;)
Poul Møller Hansen wrote:
I have a problem using regex matching, it just wont match.
I have tried this:
group = sms-service
keyword = web_service
keyword-regex= "^TC"
get-url = "http://local/get.
If you remove the space (eg do something like TCsasdfassad) does it
work then?
No, it's same. Also TC only falls into default.
Poul
this sms-service:
group = sms-service
keyword = web_service
keyword-regex = "[§]"
get-url = "http://localhost/get.php?keyword=%k&sender=%p&reason=3";
It works matching §POS§12345678
If you remove the space (eg do something like TCsasdfassad) does it
work then?
Ga
ua.edu/cgi-bin/man-cgi?regex+5.
Thanks, but unfortunately it still falls into the default service.
Your suggestion is a better pattern match, but "^TC" should match
anything begging with TC, at least I think so.
I'm using this sms-service:
group = sms-service
keyword = web_
Poul Møller Hansen wrote:
I have a problem using regex matching, it just wont match.
I have tried this:
group = sms-service
keyword = web_service
keyword-regex= "^TC"
get-url = "http://local/get.php?sender=%p&text=%a";
And believe that if I send the text "TC1234
I have a problem using regex matching, it just wont match.
I have tried this:
group = sms-service
keyword = web_service
keyword-regex= "^TC"
get-url = "http://local/get.php?sender=%p&text=%a";
And believe that if I send the text "TC1234 YES" it will be
27 matches
Mail list logo