Re: Patch for supporting TYPE=USER for PPG

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Kannel Software Foundation (KSF)
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Georg von Zezschwitz wrote:

> Index: doc/userguide/userguide.xml
> ===================================================================
> RCS file: /home/cvs/gateway/doc/userguide/userguide.xml,v
> retrieving revision 1.329
> diff -u -r1.329 userguide.xml
> --- doc/userguide/userguide.xml	18 Apr 2007 08:17:37 -0000	1.329
> +++ doc/userguide/userguide.xml	19 Apr 2007 08:59:05 -0000
> @@ -7704,6 +7704,15 @@
>               your push documents are <emphasis>very</emphasis>
>               long.
>               </entry></row>
> +             <row><entry><literal>ppg-address-rewrite</literal></entry>
> +             <entry><emphasis>string</emphasis></entry>
> +             <entry valign="bottom">
> +             List of white space separated pairs with a regular expression
> +             and a substitution pattern to process the recipient address
> +             of PAP push requests. This allows one to rewrite e.g.
> +             <literal>TYPE=USER</literal> addresses to a type that
> +             Kannel can process, e.g. <literal>TYPE=PLMN</literal> 
> +             </entry></row>
>               </tbody>
>               </tgroup>

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-directives" with the same name in a group?

Obviously we would have to tweak the gwlib/cfg.[ch] bere ;)

Stipe


- -------------------------------------------------------------------
Kölner Landstrasse 419
40589 DÃŒsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJ1eQ9ez0oeKvYs0RAvS8AJ44bsVt+Cd37J2eJM6Qm/v46ULMugCeM0DQ
20/zVXdS4hmFFcuNCge2DpY=
=2lDr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.