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

Reply via email to