I meant that you can implement a configuration variable like "replace-prefix":

replace-prefix: +4179, 079

which would replace all instances of +4179 with 079 (then there would no
need to change push address interface).

There should example code around in Kannel.

Aarno

On 20.1.2004, at 14:54, Jain Nishant wrote:

Thanks for your help... I was looking into kannel code. It was written over
there that it always needs "+" sign without which it will definetely throw
an error...............


you have mentioned that I can implement prefix configuration variable?? I am
afraid but I dont know how to do that... if you are talking abt
"unified-prefix" key, than I have already configured it in kannel but still
it will look for "+" sign....... you can view the code...


thanks alot for your help.. Please help me if you have any idea regarding
this..


regards
Nishant

-----Original Message-----
From:   Aarno Syv�nen [SMTP:[EMAIL PROTECTED]
Sent:   Tuesday, January 20, 2004 06:35 PM
To:     Jain Nishant; [EMAIL PROTECTED]
Subject:        RE: WapPush -> Client address format


I am afraid + is part of the address (it tells that the number is international, and push requires an unique address).

But of course you can implement prefix configuration variables similar to
other boxes -
and commit the patch to Kannel ;


aarno

From: Jain Nishant <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: WapPush -> Client address format
Date: Tue, 20 Jan 2004 11:28:05 +0530

Hi there,
I am trying to implement WapPush. I am using Openwave apis
(wappushlib.jar)
for implementing wappush. I am using kannel (1.2.1) for wappush gateway.
I have configured my application. I am trying to send WapPush service
indication to the GSM.


I have some doubts abt the Client address format for wapPush.

Currently I am using this format

Client Address :: +919810012345/[EMAIL PROTECTED]

Now '91' is my country code and my msisdn number is '9810012345' (test
number).


Is it necessary to give '+' in the starting of client address??? Can we
omit "+" sign in the starting????


Please tell me if you have any idea abt this. I wanted to omit "+"
sign,
if
it is possible.

What should be the correct format for client address?? and what if I
just
use the msisdn number without any country prefix or "+" sign???

regards,
Nishant


_________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail






Reply via email to