content type

2002-10-24 Thread Stone Zhang
what is content type for SI PDU, is it AE or 2E?





NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





HOW ABOUT PROVISION MESSAGE

2002-10-24 Thread Stone Zhang
Aarno,

Thanks for ur help. I have another question : 

What is the token for application/vnd.wap.connectivity-wbxml

and when I have to turn first bit when I need ture the second bit.

for example, we need ture second  bit for SI with content 0X05 | 0x40
and we need turn first and second bit for Indication element with content
and attibutes 0x06|0x40|0x80

which specification I should refer to?

cheers

stone


-Original Message-
From: Aarno Syvänen [mailto:as;gni.ch]
Sent: 24 October 2002 11:50
To: Stone Zhang
Subject: Re: content type


Token for application/vnd.wap.sic 0x2e, but you must turn first
bit, to show that the token is a short integer. So SMS should
have 0xae.

Aarno

On Thursday, October 24, 2002, at 01:22 PM, Stone Zhang wrote:

 what is content type for SI PDU, is it AE or 2E?





 NOTICE AND DISCLAIMER:
 This email (including attachments) is confidential.  If you have 
 received
 this email in error please notify the sender immediately and delete 
 this
 email from your system without copying or disseminating it or placing 
 any
 reliance upon its contents.  We cannot accept liability for any 
 breaches of
 confidence arising through use of email.  Any opinions expressed in 
 this
 email (including attachments) are those of the author and do not 
 necessarily
 reflect our opinions.  We will not accept responsibility for any 
 commitments
 made by our employees outside the scope of our business.  We do not 
 warrant
 the accuracy or completeness of such information.





NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





OTA message WDP port number ?

2002-10-23 Thread Stone Zhang
can I ask what is the WDP dest and org port number for OTA message

I know for Nokia hanset they are C3F4 for destination port and C002 for
originating port, is that same for other handsets?

cheers

Stone



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





gd87

2002-10-22 Thread Stone Zhang
Does anyone work out the format of OTA message for GD87?


rgs

Stone Zhang



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





sms format for WAP SI push

2002-05-21 Thread Stone Zhang

Dear All,

I am stucked with the SMS format of wap SI push via SMS

does wdp header is necessary in the SMS and how about wsp header?
do I need put X-Wap-Application-ID and Push-Flag in the SMS?
where can I find all these specification?

anyone can share your successful samples will be greatly appreciated!

thanks alot

rgs

Stone Zhang




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





SMSC question

2002-04-04 Thread Stone Zhang

Can any one of the Kannel experts let me know which GSM modem and SMSC
protocol are stable for sending binary message (push notification and etc.) 

Thanks in advance

Stone Zhang
Tel +44 (0)20 8214 5045
Fax +44 (0)20 8214 3178
Mobile 07939 750 782




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





RE: wap push test

2002-03-05 Thread Stone Zhang

Thank you (Stipe and Aarno) very much for helping me.

the problem has been sorted out by adding the smsc-at and deleting the http
smsc

rgs

-Original Message-
From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 12:45
To: Stone Zhang
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Re: wap push test


Stone Zhang wrote:
 
 I have a problem when I tried wap push with kannel cvs version. I am using
a
 Nokia premicell as a SMSC

you're definitly conseptually wrong here, I'll try to explain:

 the I followed the User' Guide,
 1. gw/bearerbox pushkannel.conf
gw/wapbox pushkannel.conf
 
 2. test/test_http_server -p 10001
 
 3. test/tes_ppg -q http://localhost:1
 
 then I got a error message -- Authorization failed for sendsms

you have defined a smsc_http group for PPG transportation. That is
definitly wrong! BTW, I can't see your smsc_at group for the Nokia
premicell you are talking about, or are you relaying to a different
kannel installation that runs the premicell?!

Ok, PPG requests are defined in the ppg group, hence (given your
config) you would address

  http://localhost:8080/cgi-bin/wap-push.cgi

and POSTing the document to it.

the PPG inside sends it then via the available smsc groups to the
device. Keep in mind that your PAP document contains accordingly the
bearer type (in your case SMS and no IPv4) to address the client
device.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are





NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





wap push using premicell

2002-03-05 Thread Stone Zhang

Hi, 

I had a problem when I tired to send a  WAP push SI via Nokia premicell. I
got the following message from bearerbox

2002-03-05 11:45:51 [14] DEBUG: boxc_receiver: got sms from wapbox
2002-03-05 11:45:52 [5] DEBUG: international starting with + (+447939751015)
2002-03-05 11:45:52 [5] DEBUG: TP-Validity-Period: 24.0 hours
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: -- AT+CMGS=115^M
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: -- 
2002-03-05 11:45:52 [5] DEBUG: send command status: 1
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: --
51000C914497935701510008A7650605040B8423F0040617AE966C6F63616C686F73743A3830
383000AF808DC4B48002056A0045C60C033139322E3136382E392E342F6D6964702E776D6C00
110331406F6E65326F6E652E636F6D00080AC30620010225152010C304201012300103570001
01
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: -- ^Z
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: -- 
2002-03-05 11:45:52 [5] DEBUG: AT2[/dev/ttyS1]: -- ERROR
2002-03-05 11:45:52 [5] DEBUG: send command status: -1

and the following message from wapbox is

2002-03-05 11:45:51 [11] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2002-03-05 11:45:51 [13] INFO: PPG: Accept request /cgi-bin/wap-push.cgi
from 127.0.0.1
2002-03-05 11:45:51 [13] DEBUG: PPG: http_read_thread: pap multipart
accepted
2002-03-05 11:45:51 [13] INFO: client address was +447939751015, accepted
2002-03-05 11:45:51 [13] DEBUG: PAP COMPILER: doing semantic analysis for
address type a phone number
2002-03-05 11:45:51 [13] INFO: using defaults instead of anys
2002-03-05 11:45:51 [13] DEBUG: PPG: http_read_thread: pap control entity
compiled ok
2002-03-05 11:45:51 [13] DEBUG: PPG: transform_message: push message content
and headers valid
2002-03-05 11:45:51 [13] DEBUG: PPG: push machine 4 created
2002-03-05 11:45:51 [13] DEBUG: PPG: store_push_data: push machine 4
appended to unit push list
2002-03-05 11:45:51 [13] DEBUG: PPG: send_push_response: telling pi
2002-03-05 11:45:51 [13] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2002-03-05 11:45:51 [13] INFO: PPG: handle_push_message: push message
accepted for processing
2002-03-05 11:45:51 [9] DEBUG: OTA: event arrived
2002-03-05 11:45:51 [9] DEBUG: OTA: made connectionless session service
request
2002-03-05 11:45:51 [2] DEBUG: WSP_UNIT: Connectionless push accepted
2002-03-05 11:45:51 [2] DEBUG: WDP (wapbox): Message length was 94, sending
1 messages
2002-03-05 11:45:51 [13] DEBUG: PPG: OTA request for unit push
2002-03-05 11:45:51 [13] INFO: PPG: unconfirmed push delivered to OTA
2002-03-05 11:45:51 [13] DEBUG: PPG: destroying push machine 4
2002-03-05 11:45:51 [10] DEBUG: HTTP: Destroying HTTPClient area 0x821a970.
2002-03-05 11:45:51 [10] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

why i got the error from modem, is it because the content of my SI and
Contorl file is not correct or just because the message is too long. And
what -1 and 1 stand for in send command status

thanks very much

rgs

Stone




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





help needed in wap push

2002-03-04 Thread Stone Zhang


Hi, Dear All,

I am struggling to use a GSM modem to do wap push with Kannel CVS version!

There is one line I can not understand about the sample pushkannel.conf from
CVS is

# SMSC CONNECTIONS, for pushing SI or SL over SMS. You can have many connec-
# tions, for instance one for HTTP SMSC and

group = smsc
smsc = http
smsc-id = HTTP
port = 1
system-type = kannel
smsc-username = foo
smsc-password = bar
no-sender = true
no-coding = true
no-sep = true
#? for the query will be added by Kannel 
send-url = http://localhost:8081/util/kannelgw.phtml


as I know, this SEND-URL should point to sendsms service, my question is who
will be the sendsms service? is the test_http_server application, which is
mentioned in Kannel cvs User's Guide, Appendix C. Setting Up a test
environment for PPG, or some other applications? and why i could not find
kannelgw.phtml in my CVS at all?

any help will be greatly appreciated!

Sincerely yours

Stone




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





wap push test

2002-03-01 Thread Stone Zhang



Hi, There,

I have a problem when I tried wap push with kannel cvs version. I am using a
Nokia premicell as a SMSC

the configuration file -- pushkannel.conf is followed:
##
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
wdp-interface-name = *
log-file = log/bearerbox.log
log-level = 0
#box-deny-ip = *.*.*.*
box-allow-ip = *.*.*.*
#unified-prefix = +358,00358,0;+,00
#access-log = access.log
#store-file = kannel.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data 

group = wapbox
bearerbox-host =127.0.0.1 
log-file = log/wapbox.log
log-level = 0
syslog-level = none

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = false
users = 1024
#ppg-deny-ip = 194.100.32.89;194.100.32.103
ppg-allow-ip = 127.0.0.1
#ssl-server-cert-file = /home/aarno/kannelcvs/gateway/gw/cert.pem
#ssl-server-key-file = /home/aarno/kannelcvs/gateway/gw/key.pem
ppg-port-ssl = no

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = root
ppg-username = foo
ppg-password = bar
#allowed-prefix = 40;60;70
#denied-prefix = 50
#white-list = http://localhost:8082/whitelist
#black-list =  http://localhost:8082/blacklist
allow-ip = 127.0.0.1
#deny-ip = 194.100.32.82

# SMSC CONNECTIONS, for pushing SI or SL over SMS

group = smsc
smsc = http
smsc-id = HTTP
port = 1
system-type = kannel
smsc-username=foo
smsc-password=bar
no-sender = true
no-coding = true
#? for the query will be added by Kannel 
send-url = http://localhost:10001

# SMSBOX SETUP (a kludge !)

group = smsbox
bearerbox-host = localhost
#sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = 0123456789 +-
log-file = /log/smsbox.log
log-level = 0
#access-log = access.log

the I followed the User' Guide, 
1. gw/bearerbox pushkannel.conf
   gw/wapbox pushkannel.conf

2. test/test_http_server -p 10001

3. test/tes_ppg -q http://localhost:1

then I got a error message -- Authorization failed for sendsms


have anyone use wap push with a gsm data phone. can you send me your conf
files or help me find out where am i wrong. thanks 

rgs
 
Stone Zhang
Tel +44 (0)20 8214 5045
Fax +44 (0)20 8214 3178
Mobile 07939 750 782
4 Floor IP2
Maxwell Road
Borehamwood
Herts WD6 1EA
UK




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





wap push

2002-02-27 Thread Stone Zhang


Hi, There,

I have a problem when I tried wap push with kannel cvs version. I am using a
Nokia premicell as a SMSC

I followed the User' Guide, but when i run test/tes_ppg 

I got a error message -- Authorization failed for sendsms

have anyone use wap push with a gsm data phone. can you send me your conf
files. thanks 

rgs
 
Stone Zhang
Tel +44 (0)20 8214 5045
Fax +44 (0)20 8214 3178
Mobile 07939 750 782
4 Floor IP2
Maxwell Road
Borehamwood
Herts WD6 1EA
UK




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





SMSC support SL45i and T68

2002-02-25 Thread Stone Zhang

hi,

Just wonders does Kannel SMSC support SL45 and T68?

I tried to send SMS via Nokia Premicell to SL45 and T68, but both failed.


Cheers

Stone



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





wap push

2002-02-01 Thread Stone Zhang

Dear All
 I just jion in the group.
I got a couple of questions:
 first of all, I am wondering how can I make the 1.1.15 support wap push,
secondly, how can I join in the project -- WAP 1.2 / June 2000 conformance 
cheers

Stone Zhang
Tel +44 (0)20 8214 5045
Fax +44 (0)20 8214 3178
Mobile 07939 750 782
4 Floor IP2
Maxwell Road
Borehamwood
Herts WD6 1EA
UK




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.