Re: Answer: wrong app-id in confirmed push -- For your information

2003-02-11 Thread Aarno Syvänen
This seems to be a bug, then. I certainly commit this. Did confirmed 
push work
with it ?

Aarno

On Tuesday, February 11, 2003, at 05:47 AM, sunil baburaoji wrote:

Hi users,

I had made some changes in some of the files to make confirmed push
data working. Those changes are as:

In file wap_events.def
Added one additional parameter called app-id and also corresponding
change in wap_push_pap_compiler to handle this parameter.

static long parse_appid_header(Octstr **appid_content) function in
wap_push_ppg.c
always returns value 2, which is error condition where it gets called.
Whatever may
app-id you set, you always get 2. Here i set value 1 hardcoded to test
push.sia

This is just for your information in case you are facing same time of
problem.

Rgds
sunil


 -Original Message-
From: 	sunil baburaoji
Sent:	10 February 2003 14:36
To:	[EMAIL PROTECTED]
Subject:	wrong app-id in confirmed push

Hi users,

I am facing problem in confirmed push data.  Did anybody tried this
before ? If so please tell me the solution for this. Warning is coming
like

PPG: handle_push_message: wrong app id for confirmed push session
creation

What application id i need to give in pap.xml 
I had attached wapbox and test_ppg program output. Please reply at
the earliest.

~~
~~~
test_ppg output:

sunilb@heman:~/gateway-1.3.0/test> ./test_ppg -q
"http://localhost:8080/wappush?username=foo&password=bar"; si.xml
pap.xml
2003-02-10 14:31:55 [0] INFO: an input without a configuration file
assumed
2003-02-10 14:31:55 [0] DEBUG: using si.xml as a content file
2003-02-10 14:31:55 [0] DEBUG: using pap.xml as a control file
2003-02-10 14:31:55 [0] DEBUG: Started thread 1
(test/test_ppg.c:push_thread)
2003-02-10 14:31:55 [1] DEBUG: TEST_PPG: starting to push job 0
2003-02-10 14:31:55 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-02-10 14:31:55 [1] DEBUG: Started thread 3
(gwlib/http.c:write_request_thread)
2003-02-10 14:31:55 [1] DEBUG: push done
2003-02-10 14:32:15 [3] DEBUG: HTTP: Opening connection to
`localhost:8080' (fd=13).
2003-02-10 14:32:15 [3] DEBUG: Socket connecting
2003-02-10 14:32:15 [2] DEBUG: Get info about connecting socket
2003-02-10 14:32:15 [2] DEBUG: HTTP: Sending request:
2003-02-10 14:32:15 [2] DEBUG: Octet string at 0x80efe40:
2003-02-10 14:32:15 [2] DEBUG:   len:  1246
2003-02-10 14:32:15 [2] DEBUG:   size: 1247
2003-02-10 14:32:15 [2] DEBUG:   immutable: 0
2003-02-10 14:32:15 [2] DEBUG:   data: 50 4f 53 54 20 2f 77 61   POST
/wa
2003-02-10 14:32:15 [2] DEBUG:   data: 70 70 75 73 68 3f 75 73
ppush?us
2003-02-10 14:32:15 [2] DEBUG:   data: 65 72 6e 61 6d 65 3d 66
ername=f
2003-02-10 14:32:15 [2] DEBUG:   data: 6f 6f 26 70 61 73 73 77
oo&passw
2003-02-10 14:32:15 [2] DEBUG:   data: 6f 72 64 3d 62 61 72 20
ord=bar
2003-02-10 14:32:15 [2] DEBUG:   data: 48 54 54 50 2f 31 2e 31
HTTP/1.1
2003-02-10 14:32:15 [2] DEBUG:   data: 0d 0a 48 6f 73 74 3a 20
..Host:
2003-02-10 14:32:15 [2] DEBUG:   data: 6c 6f 63 61 6c 68 6f 73
localhos
2003-02-10 14:32:15 [2] DEBUG:   data: 74 3a 38 30 38 30 0d 0a
t:8080..
2003-02-10 14:32:15 [2] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d
Content-
2003-02-10 14:32:15 [2] DEBUG:   data: 54 79 70 65 3a 20 6d 75   Type:
mu
2003-02-10 14:32:15 [2] DEBUG:   data: 6c 74 69 70 61 72 74 2f
ltipart/
2003-02-10 14:32:15 [2] DEBUG:   data: 72 65 6c 61 74 65 64 3b
related;
2003-02-10 14:32:15 [2] DEBUG:   data: 20 62 6f 75 6e 64 61 72
boundar
2003-02-10 14:32:15 [2] DEBUG:   data: 79 3d 61 73 64 6c 66 6b
y=asdlfk
2003-02-10 14:32:15 [2] DEBUG:   data: 6a 69 75 72 77 67 68 61
jiurwgha
2003-02-10 14:32:15 [2] DEBUG:   data: 73 66 3b 20 74 79 70 65   sf;
type
2003-02-10 14:32:15 [2] DEBUG:   data: 3d 22 61 70 70 6c 69 63
="applic
2003-02-10 14:32:15 [2] DEBUG:   data: 61 74 69 6f 6e 2f 78 6d
ation/xm
2003-02-10 14:32:15 [2] DEBUG:   data: 6c 22 0d 0a 58 2d 57 41
l"..X-WA
2003-02-10 14:32:15 [2] DEBUG:   data: 50 2d 41 70 70 6c 69 63
P-Applic
2003-02-10 14:32:15 [2] DEBUG:   data: 61 74 69 6f 6e 2d 49 64
ation-Id
2003-02-10 14:32:15 [2] DEBUG:   data: 3a 20 68 74 74 70 3a 2f   :
http:/
2003-02-10 14:32:15 [2] DEBUG:   data: 2f 77 77 77 2e 77 69 72
/www.wir
2003-02-10 14:32:15 [2] DEBUG:   data: 61 6c 2e 63 6f 6d 3a 77
al.com:w
2003-02-10 14:32:15 [2] DEBUG:   data: 6d 6c 2e 75 61 0d 0a 43
ml.ua..C
2003-02-10 14:32:15 [2] DEBUG:   data: 6f 6e 74 65 6e 74 2d 4c
ontent-L
2003-02-10 14:32:15 [2] DEBUG:   data: 65 6e 67 74 68 3a 20 31
ength: 1
2003-02-10 14:32:15 [2] DEBUG:   data: 30 31 35 0d 0a 0d 0a 0d
015.
2003-02-10 14:32:15 [2] DEBUG:   data: 0a 2d 2d 61 73 64 6c 66
.--asdlf
2003-02-10 14:32:15 [2] DEBUG:   data: 6b 6a 69 75 72 77 67 68
kjiurwgh
2003-02-10 14:32:15 [2] DEBUG:   data: 61 73 66 0d 0a 43 6f 6e
asf..Con
2003-02-10 14:32:15 [2] DEBUG:   data: 74 65 6e 74 2d 54 79 70
tent-Typ
2003-02-10 14:32:15 [2] DEBUG:   data: 65 3a 20 61 70 70 6c 69   e:
appli
2003-02-10 14:32:15 [2] DEBUG:   data: 63 61 74 69 6f

Re: WAP Push on Nokia 7650?

2003-02-11 Thread Aarno Syvänen
Your content-type token is b0, with means application/vnd.wap.slc, it  
is,
tokenized sl document. 7650 does not support sl, though t68i does.
Content type tokens are to be found at http://www.wapforum.org/wina.

Aarno

On Monday, February 10, 2003, at 06:12 PM, [EMAIL PROTECTED]  
wrote:


Hi Yury,

this PDU is a WAP Push Service Indication SMS and works perfectly
on my T68i, while on the 7650 I see the message loading symbol but
nothing happens then (not loading the URL).

greetings,
Ralph



   Yury Mikhienko <[EMAIL PROTECTED]>
   Sent by: [EMAIL PROTECTED]
   10.02.2003 17:19

 To: [EMAIL PROTECTED]
 cc:
 Subject: Re: WAP Push on Nokia 7650?

On Mon, 10 Feb 2003 16:11:16 +0100
[EMAIL PROTECTED] wrote:
Hi Ralph!

May be,in my opinion, you just use service loading ower wap?


Hi all,

anyone knows what modifications are needed to send a WAP Push SMS to  
a
Nokia 7650?

This PDU works fine on T68i but is refused by the 7650:

http://localhost:13013/cgi-bin/ 
sendsms?username=xxx&password=xxx&to=01721234567&


udh


%06%05%04%0B%84%23%F0&text




=%07%06%17%B0%96%6C%6F%63%61%6C%68%6F%73%74%3A%39%30%38%30%00%AF%80%8D% 
95%B4%80%

02%06%6A%00%85%09%03wap.nokia.de%00%01


Any ideas what could be wrong?

thanks & greetings,
Ralph






Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"





--









RE: Answer: wrong app-id in confirmed push -- For your information

2003-02-11 Thread sunil baburaoji
Hi Aarno,

It's sending connection-less session request now and
confirmed push starts with connection-less session request.
I think it should work, but not tested fully.

Rgds
sunil

-Original Message-
From: Aarno Syvänen [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2003 13:56
To: sunil baburaoji
Cc: [EMAIL PROTECTED]
Subject: Re: Answer: wrong app-id in confirmed push -- For your
information


This seems to be a bug, then. I certainly commit this. Did confirmed 
push work
with it ?

Aarno

On Tuesday, February 11, 2003, at 05:47 AM, sunil baburaoji wrote:

> Hi users,
>
> I had made some changes in some of the files to make confirmed push
> data working. Those changes are as:
>
> In file wap_events.def
> Added one additional parameter called app-id and also corresponding
> change in wap_push_pap_compiler to handle this parameter.
>
> static long parse_appid_header(Octstr **appid_content) function in
> wap_push_ppg.c
> always returns value 2, which is error condition where it gets called.
> Whatever may
> app-id you set, you always get 2. Here i set value 1 hardcoded to test
> push.sia
>
> This is just for your information in case you are facing same time of
> problem.
>
> Rgds
> sunil
>
>>  -Original Message-
>> From:sunil baburaoji
>> Sent:10 February 2003 14:36
>> To:  [EMAIL PROTECTED]
>> Subject: wrong app-id in confirmed push
>>
>> Hi users,
>>
>> I am facing problem in confirmed push data.  Did anybody tried this
>> before ? If so please tell me the solution for this. Warning is
coming
>> like
>>
>> PPG: handle_push_message: wrong app id for confirmed push session
>> creation
>>
>> What application id i need to give in pap.xml 
>> I had attached wapbox and test_ppg program output. Please reply at
>> the earliest.
>>
>>
~~
>> ~~~
>> test_ppg output:
>>
>> sunilb@heman:~/gateway-1.3.0/test> ./test_ppg -q
>> "http://localhost:8080/wappush?username=foo&password=bar"; si.xml
>> pap.xml
>> 2003-02-10 14:31:55 [0] INFO: an input without a configuration file
>> assumed
>> 2003-02-10 14:31:55 [0] DEBUG: using si.xml as a content file
>> 2003-02-10 14:31:55 [0] DEBUG: using pap.xml as a control file
>> 2003-02-10 14:31:55 [0] DEBUG: Started thread 1
>> (test/test_ppg.c:push_thread)
>> 2003-02-10 14:31:55 [1] DEBUG: TEST_PPG: starting to push job 0
>> 2003-02-10 14:31:55 [1] DEBUG: Started thread 2
(gwlib/fdset.c:poller)
>> 2003-02-10 14:31:55 [1] DEBUG: Started thread 3
>> (gwlib/http.c:write_request_thread)
>> 2003-02-10 14:31:55 [1] DEBUG: push done
>> 2003-02-10 14:32:15 [3] DEBUG: HTTP: Opening connection to
>> `localhost:8080' (fd=13).
>> 2003-02-10 14:32:15 [3] DEBUG: Socket connecting
>> 2003-02-10 14:32:15 [2] DEBUG: Get info about connecting socket
>> 2003-02-10 14:32:15 [2] DEBUG: HTTP: Sending request:
>> 2003-02-10 14:32:15 [2] DEBUG: Octet string at 0x80efe40:
>> 2003-02-10 14:32:15 [2] DEBUG:   len:  1246
>> 2003-02-10 14:32:15 [2] DEBUG:   size: 1247
>> 2003-02-10 14:32:15 [2] DEBUG:   immutable: 0
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 50 4f 53 54 20 2f 77 61   POST
>> /wa
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 70 70 75 73 68 3f 75 73
>> ppush?us
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 65 72 6e 61 6d 65 3d 66
>> ername=f
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6f 6f 26 70 61 73 73 77
>> oo&passw
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6f 72 64 3d 62 61 72 20
>> ord=bar
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 48 54 54 50 2f 31 2e 31
>> HTTP/1.1
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 0d 0a 48 6f 73 74 3a 20
>> ..Host:
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6c 6f 63 61 6c 68 6f 73
>> localhos
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 74 3a 38 30 38 30 0d 0a
>> t:8080..
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d
>> Content-
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 54 79 70 65 3a 20 6d 75
Type:
>> mu
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6c 74 69 70 61 72 74 2f
>> ltipart/
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 72 65 6c 61 74 65 64 3b
>> related;
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 20 62 6f 75 6e 64 61 72
>> boundar
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 79 3d 61 73 64 6c 66 6b
>> y=asdlfk
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6a 69 75 72 77 67 68 61
>> jiurwgha
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 73 66 3b 20 74 79 70 65   sf;
>> type
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 3d 22 61 70 70 6c 69 63
>> ="applic
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 61 74 69 6f 6e 2f 78 6d
>> ation/xm
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 6c 22 0d 0a 58 2d 57 41
>> l"..X-WA
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 50 2d 41 70 70 6c 69 63
>> P-Applic
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 61 74 69 6f 6e 2d 49 64
>> ation-Id
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 3a 20 68 74 74 70 3a 2f   :
>> http:/
>> 2003-02-10 14:32:15 [2] DEBUG:   data: 2f 77 77 77 2e 77 69 72
>> /www.wir
>> 2003-02-10 14:32:15 [2] DEBUG:   data

Re: WAP Push on Nokia 7650?

2003-02-11 Thread Andrea Trasatti
> this PDU is a WAP Push Service Indication SMS and works perfectly
> on my T68i, while on the 7650 I see the message loading symbol but
> nothing happens then (not loading the URL).

Hello Ralph,
if you search in the list you will find a few posts about Nokia devices having 
problems with Push messages. Nokia's don't like some parameters in the push 
message, you need to put ONLY the minimal fields to make it work and... as a body 
charset, for the 7650, you may use ASCII or UTF-8, but for the header charset you 
should use 'Encoding-version 1.2'. wbxml must be '02' , no pushID and do not 
specify the body length.

Regards,
Andrea

===
Andrea Trasatti
BWARE TECHNOLOGIES
via San Gregorio, 3 - 20124 Milan - Italy
http://www.bware.it
Tel. +39 02 2779181
Fax +39 02 27791828
Cell. +39 335 7866749






Language plaform for sms apps

2003-02-11 Thread Navjot Singh
Hi,

We have installed and configured kannel 1.2.0 on Linux 7.3 system and will
use Ericsson T68i as SMSC. We are also pretty much aware of what kannel can
do and what should we do with kannel.

But the problem with us is to decide which of PERL and JAVA will do good for
our apps?
I am not aware of the helping tools/ apis/help available for either of the
langauge. So, It would be very helpful if you can share your experiences
(good n bad) on development using JAVA, PERL or even Python. and what would
you recommend i should go with?

regards
Navjot Singh





Re: Language plaform for sms apps

2003-02-11 Thread Yury Mikhienko
On Tue, 11 Feb 2003 14:49:27 +0530
"Navjot Singh" <[EMAIL PROTECTED]> wrote:
Hi Navjot!

I'm recommend use java for you WebAppGW.

> Hi,
> 
> We have installed and configured kannel 1.2.0 on Linux 7.3 system and will
> use Ericsson T68i as SMSC. We are also pretty much aware of what kannel can
> do and what should we do with kannel.
> 
> But the problem with us is to decide which of PERL and JAVA will do good for
> our apps?
> I am not aware of the helping tools/ apis/help available for either of the
> langauge. So, It would be very helpful if you can share your experiences
> (good n bad) on development using JAVA, PERL or even Python. and what would
> you recommend i should go with?


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"




Re: Reverse billing SMS

2003-02-11 Thread Arne K. Haaje
Eric Carlson wrote:

Can you configure Kannel to do this and is so how? Do you need a
special arrangement with an operator please?




Yes, you need a special agreement with the operator. If can use Kannel 
or not depends on what protocols and billing procedure the operator use.

Arne




Re: Language plaform for sms apps

2003-02-11 Thread Arne K. Haaje
Navjot Singh wrote:

Hi,

We have installed and configured kannel 1.2.0 on Linux 7.3 system and will
use Ericsson T68i as SMSC. We are also pretty much aware of what kannel can
do and what should we do with kannel.

But the problem with us is to decide which of PERL and JAVA will do good for
our apps?
I am not aware of the helping tools/ apis/help available for either of the
langauge. So, It would be very helpful if you can share your experiences
(good n bad) on development using JAVA, PERL or even Python. and what would
you recommend i should go with?


Use the language you know.

I use Perl and PHP, but any language will do.

Arne





Nokia 7650 - mms indication - please send working example

2003-02-11 Thread Pawel
Hi,
who can send working and tested example 
of MMS Indication for Nokia7650 ?
I'm really confused after month working with
this problem :(((

Regards,
Pawel