Re: Patch for supporting TYPE=USER for PPG

2007-04-20 Thread Georg von Zezschwitz
Georg von Zezschwitz wrote: Stipe Tolj wrote: ... Can't we think a bit to have "multi-directives" with the same name in a group? Obviously we would have to tweak the gwlib/cfg.[ch] here ;) I think this is an architecture issue, and I leave it to you in deep res

Re: Patch for supporting TYPE=USER for PPG

2007-04-19 Thread Georg von Zezschwitz
Stipe Tolj wrote: BTW, I'd like to avoid a single config directive for ALL substritute rules. I know we have this "mechanism" of a sort of "list" in the config processing, but this get's horror to read in the end if you have, let's say, 30 rules or something. Can't we think a bit to have "multi

Re: Filtering headers in Kannel

2007-04-19 Thread Georg von Zezschwitz
Stipe Tolj wrote: ... Can you point out what the issue with the "extention of 1 to 2 SMS" means in this sense? I didn't get the point here? OK: Take this PAP data: -boundary0123456789 Content-Type:application/xml "http://www.wapforum.org/DTD/pap_1.0.dtd";> network="gsm" network-requ

Re: Patch for supporting TYPE=USER for PPG

2007-04-19 Thread Georg von Zezschwitz
Hi Stipe, looks ok to me, while untested at this point from my side. +0 for commiting, some comments: I know I should know, since I put all that PCRE stuff inside, but you seem to be closed to the material at this point: Is the substitution syntax working for POSIX.1 regex *and* PCRE? I recall

Re: Patch for supporting TYPE=USER for PPG

2007-04-19 Thread Georg von Zezschwitz
Alexander Malysh schrieb: Hi, patch looks good, but please redo it with your cleanup and check coding style. Could you give me a hint, if I have overseen anything? (Found: Comment style, brace placement for functions) Georg Index: doc/userguide/userguide.xml ==

Re: Patch for supporting TYPE=USER for PPG

2007-04-19 Thread Georg von Zezschwitz
Georg von Zezschwitz schrieb: Hi, attached is the patch for the feature I suggested some days ago. Upps, I forgot one cleanup: Index: gw/wap_push_pap_compiler.c === RCS file: /home/cvs/gateway/gw/wap_push_pap_compiler.c,v

Filtering headers in Kannel

2007-04-19 Thread Georg von Zezschwitz
Hi, A feature I would like to have / implement in Kannel is HTTP header filtering. Most urgent I would like this feature for the PPG. Currently, if you submit e.g. by "curl" a PPG request, the generated short message(s) even contains the "curl" user-agent, together with some other useless h

Patch for supporting TYPE=USER for PPG

2007-04-19 Thread Georg von Zezschwitz
Hi, attached is the patch for the feature I suggested some days ago. It adds support for the "TYPE=USER" address format to the PPG. I'd be glad if somebody could check and commit, as I would like to submit some other patches, too. Best regards, Georg Index: doc/userguide/userguide.xml

Making the Kannel PPG work with /TYPE=USER notations

2007-04-17 Thread Georg von Zezschwitz
Hi, I would like to use Kannel as PPG for an existing application requiring a PPG. In WAP-249-PPGService, section 6.2, the given client address examples are: WAPPUSH=john.doe%40wapforum.org/[EMAIL PROTECTED] WAPPUSH=47397547589/[EMAIL PROTECTED] WAPPUSH=47397547589/[EMAIL PROTECTED] WAPPUSH=+

Re: [PATCH] PostgreSQL DLR speedup

2006-11-14 Thread Georg von Zezschwitz
Andreas Fink schrieb: This was not about LIMIT 1 (there was a reason for that) but about doing DELETE and SELECT in one statement. The LIMIT 1 was a workaround in the error of EMI protocol not giving unique timestamps. the timestamp on a SMSC is not unique, not even for one destination numbe

Re: [PATCH] PostgreSQL DLR speedup

2006-11-10 Thread Georg von Zezschwitz
Alexander Malysh schrieb: Hi, Andreas , this is not true what you say. Mysql use LIMIT 1 in delete and update. Postgres should use oid because there is not limit support. It's there because e.g. on EMI we could delete/update to much rows. Yes, because the implementation is broken for EMI any

Re: Shutdown of smsbox

2006-11-08 Thread Georg von Zezschwitz
Rodrigo Cremaschi schrieb: Hi Georg, Maybe you already tried this: 1) Set Kannel to 'isolated' state. 2) Set Kannel to 'suspended' state. 3) Set Kannel to 'shutdown' state. Hi, thanks for this! However, I want to protect messages from the smsbox HTTP interface to be protected from getti

Shutdown of smsbox

2006-11-08 Thread Georg von Zezschwitz
Hi, We are running to instances of Kannel behind a load-balancer as SMS gateway (HTTP to EMI2). I noticed that when I shut down Kannel smsbox is going on to accept new messages via HTTP that sometimes get lost completely. I would prefer that on shutting down the bearerbox, the first thing

EMI2-Bug in 1.3.0/1

2003-03-10 Thread Georg von Zezschwitz
Hi, we use Kannel as SMSC for some thousand messages per day. Thanks for all! However, I have reproduced two times a bug leading to a "hanging" Kannel. "Hanging" means, all SMSes are queued instead of delivered. This happens, if - for any reason - an EMI2 SMSC closes its connection, before the re