Making the Kannel PPG work with /TYPE=USER notations

Georg von Zezschwitz <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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=+47397547589/[email protected]

WAPPUSH=+155519990730/[email protected]

Unfortunately, Kannel will always respond with an "unsupported method" 
if one uses "TYPE=USER"
in the wap push destination address, while our existing application 
wants this format.


I would like to implement an option

    ppg-address-rewrite = "<regexp 1> <substitution 1> (<regexp 2> 
<substitution 2>)"

in the Kannel CVS tree.

It should allow one to make examples like the above from the 
specification working,
e.g.

ppg-address-rewrite = "^(.*=)([0-9]+)/TYPE=USER(.*)$ $1+$2/TYPE=PLMN$3"

to rewrite the USER-notation into the global MSISDN notation.


Are there any concerns against this approach?
If not, I'd provide a patch the other day.

Best regards,



Georg
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.