Dear Nirav,
Hello.wml is a “WML”
sample not WAP Push content. Please refer to the user guide for the valid
format of content file.
Best regards,
Rayson Lee
InnoAge Hong Kong Limited
From:
Nirav doshi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006
7:45 PM
To: Rayson Lee; users
Subject: Re: RE: RE: RE:
Imp-Problem in using WAP PPG push
Now
this the new problem that i m facing.
this is what the WAP Box shows after connecting to the bearerbox.
2006-03-16 16:16:17 [5694] [14] INFO: PPG: Accept request </wappush> from
<127.0.0.1>
2006-03-16 16:16:17 [5694] [14] INFO: client address was <+0919820756920>,
accepted
2006-03-16 16:16:17 [5694] [14] INFO: reverting to default bearer and network
2006-03-16 16:16:17 [5694] [14] WARNING: unknown tag wml in SI source
2006-03-16 16:16:17 [5694] [14] WARNING: unknown tag card in SI source
2006-03-16 16:16:17 [5694] [14] WARNING: unknown tag p in SI source
2006-03-16 16:16:17 [5694] [14] INFO: PPG: handle_push_message: push message
accepted for processing
2006-03-16 16:16:17 [5694] [14] INFO: PPG: unconfirmed push delivered to OTA
2006-03-16 16:16:17 [5694] [0] WARNING: Received other message than wdp/admin,
ignoring!
Can u please tell me what is really wrong with this file. My content file is
hello.wml which is same as that in test folder and the rest goes same.
Do let me know about the error.
Thank you in advance.
On Wed, 15 Mar 2006 Rayson Lee wrote :
>Dear Andy,
>
>
>
>Have you try Service Loading with your content's link in the sl file? The
>user just press OK or YES confirming proceed of the content loading. It's
>kind of like MMS delivery. However I'm not sure if that is what you are
>looking for.
>
>
>
>Best regards,
>
>
>
>Rayson Lee
>
>InnoAge Hong Kong Limited
>
>
>
> _____
>
> From: Peter Wilson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 15, 2006 8:59 AM
>To: Rayson Lee
>Subject: Re: RE: RE: Imp-Problem in using WAP PPG push
>
>
>
>Hi Rayson,
>
>
>
>Just like to check on the wap push, when I use kannel to perform a wap
push,
>it seems like it can only send a link instead. Can I push the content
>directly to the mobile handset, like handphone to handphone MMS?
>
>
>
>Thanks,
>
>
>
>Andy
>
>----- Original Message -----
>
> From: Rayson Lee <mailto:[EMAIL PROTECTED]>
>
>To: 'Nirav <mailto:[EMAIL PROTECTED]> doshi' ;
users@kannel.org
>
>Sent: Wednesday, March 15, 2006 2:26 AM
>
>Subject: RE: RE: RE: Imp-Problem in using WAP PPG push
>
>
>
>Hi Nirav,
>
>
>
>Looks like it's the URL of carrier's WAP Push gateway. My guess is that
it's
>not being used by Kannel. For sending WAP Push to a phone number, you can
>put anything there or simply leave it as it is. Are you using test_ppg to
>test WAP Push or sending HTTP POST request by your own application? What
are
>the exact error messages you got?
>
>By the way, Kannel does not support MMS. You may need other software such
as
>Mbuni. Please search the list for more information.
>
>
>
>Best regards,
>
>
>
>Rayson Lee
>
>InnoAge Hong Kong Limited
>
>
>
>
> _____
>
>
> From: Nirav doshi [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 14, 2006 12:47 AM
>To: Rayson Lee; users@kannel.org
>Subject: Re: RE: RE: Imp-Problem in using WAP PPG push
>
>
>
>
>
>Thank u very much
>
>I got the soluiton for the problem but now there is one problem that
>whenever I try for the wap push command given in the userguide. It shows
>that the message is snd but gives an error Request ignoring and the message
>havent reached the destination yet.
>Can u please tell me what is [EMAIL PROTECTED]
>Should I replace with some other sites? Can u recommend some sites or ways
>through which i can send a WAP Push? Please do let me know. i m stuck up
>here?
>Please also let me know how i can really try to send MMS using kannel.
>
>
>On Fri, 10 Mar 2006 Rayson Lee wrote :
> >Dear Nirav,
> >
> >
> >
> >The system is complaining about the PAP content. However I don't see
>thing wrong with it. Perhaps you can try set log-level to 0 for wapbox to
> >try getting more information about the problem.
> >
> >
> >
> >Best regards,
> >
> >
> >
> >Rayson Lee
> >
> >InnoAge Hong Kong Limited
> >
> >
> >
> >
> >
> > _____
> >
> > From: Nirav doshi [mailto:[EMAIL PROTECTED]
> >Sent: Friday, March 10, 2006 3:01 PM
> >To: Rayson Lee
> >Subject: Re: RE: Imp-Problem in using WAP PPG push
> >
> >
> >
> >
> >
> >
> >On Thu, 09 Mar 2006 Rayson Lee wrote :
> > >Dear Nirav,
> > >
> > >
> > >
> > >You don't need to put the full url here:
> > >
> > >ppg-url = "">
> > >
> > >just use
> > >
> > >ppg-url = "">
> > >
> > >
> > >
> > >Rayson Lee
> > >
> > >InnoAge Hong Kong Limited
> > >
> > >
> > >
> > >
> > >
> > > _____
> > >
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
>Behalf
> > >Of Nirav doshi
> > >Sent: Friday, March 03, 2006 7:29 PM
> > >To: users
> > >Subject: Imp-Problem in using WAP PPG push
> > >
> > >
> > >
> > >
> > >Hello
> > >
> > >I have been trying to send an ppg msg from kannel using the ppg
> > >configuration mentioned in the userguide. i m always getting an
error in
> >the
> > >WAP Box. After opening the initial bearerbox and WAPbox i m running
the
> > >command
> > >./test_http_server -p 8900
> > >and then on the next terminal running
> > >./test_ppg -q http://localhost:8900/ppgurl iptestppg.xml sl.xml.
> > >After running this i m getting an error.
> > >
> > >
> > >
> > >2006-03-03 17:20:19 [13506] [0] INFO: an input without a
configuration
>file
> > >assumed
> > >2006-03-03 17:20:19 [13506] [0] DEBUG: using iptestppg.xml as a
content
> >file
> > >2006-03-03 17:20:19 [13506] [0] DEBUG: using sl.xml as a control
file
> > >2006-03-03 17:20:19 [13506] [0] DEBUG: Started thread 1
> > >(test/test_ppg.c:push_thread)
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: Thread 1
> > >(test/test_ppg.c:push_thread) maps to pid 13506.
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: TEST_PPG: starting to push
job 0
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: Started thread 2
> > >(gwlib/fdset.c:poller)
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: Started thread 3
> > >(gwlib/http.c:write_request_thread)
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: push done
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Thread 3
> > >(gwlib/http.c:write_request_thread) maps to pid 13506.
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Parsing URL
> > >`http://localhost:8080//wappush':
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Scheme: http://
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Host: localhost
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Port: 8080
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Username: (null)
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Password: (null)
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Path: //wappush
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Query: (null)
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Fragment: (null)
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: HTTP: Opening connection
to
> > >`localhost:8080' (fd=12).
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Socket connecting
> > >2006-03-03 17:20:19 [13506] [2] DEBUG: Thread 2
(gwlib/fdset.c:poller)
>maps
> > >to pid 13506.
> > >2006-03-03 17:20:19 [13506] [2] DEBUG: Get info about connecting
socket
> > >2006-03-03 17:20:19 [13506] [2] DEBUG: Socket not connected
> > >2006-03-03 17:20:19 [13506] [2] ERROR: Couldn't fetch
> > ><http://localhost:8080//wappush>
> > >2006-03-03 17:20:19 [13506] [1] ERROR: push failed, no reason
found
> > >2006-03-03 17:20:19 [13506] [1] INFO: TEST_PPG: In thread 1 0
succeeded,
>1
> > >failed
> > >2006-03-03 17:20:19 [13506] [1] DEBUG: Thread 1
> > >(test/test_ppg.c:push_thread) terminates.
> > >2006-03-03 17:20:19 [13506] [0] INFO: TEST_PPG: 1 requests in
0.000000
> > >seconds, inf requests per second
> > >2006-03-03 17:20:19 [13506] [0] DEBUG: Waiting for 3
> > >(gwlib/http.c:write_request_thread) to terminate
> > >2006-03-03 17:20:19 [13506] [3] DEBUG: Thread 3
> > >(gwlib/http.c:write_request_thread) terminates.
> > >2006-03-03 17:20:19 [13506] [2] DEBUG: Thread 2
(gwlib/fdset.c:poller)
> > >terminates.
> > >2006-03-03 17:20:19 [13506] [0] DEBUG: Immutable octet strings:
10.
> > >
> > >And the response that i get in the WAP BOX is the below one.
> > >
> > >2006-03-03 17:03:51 [13413] [0] INFO: Debug_lvl = 1, log_file =
<none>,
> > >log_lvl = 0
> > >2006-03-03 17:03:51 [13413] [0] INFO: SSL not supported, no SSL
> > >initialization done.
> > >2006-03-03 17:03:51 [13413] [0] INFO:
> > >------------------------------------------------------------
> > >2006-03-03 17:03:51 [13413] [0] INFO: Kannel wapbox version 1.4.0
>starting
> > >up.
> > >2006-03-03 17:03:51 [13413] [0] INFO: HTTP: Opening server at
port 8080.
> > >2006-03-03 17:03:51 [13413] [0] INFO: Connected to bearerbox at localhost
> > >port 13002.
> > >2006-03-03 17:04:00 [13413] [14] ERROR: Request </wappush>
from
> ><127.0.0.1>:
> > >service not found.
> > >
> > >My config file is
> > >
> > >group = wapbox
> > >bearerbox-host = localhost
> > >#log-file = "/tmp/wapbox.log"
> > >#log-level = 0
> > >syslog-level = none
> > >
> > ># PPG CORE SETUP, for defining the push request interface
> > >
> > >group = ppg
> > >ppg-url = "">
> > >ppg-port = 8080
> > >#ppg-ssl-port = 8081
> > >concurrent-pushes = 100
> > >trusted-pi = true
> > >users = 1024
> > >#ppg-deny-ip = "*.*.*.*"
> > >ppg-allow-ip = "*.*.*.*"
> > >#ssl-server-cert-file = "cert.pem"
> > >#ssl-server-key-file = "key.pem"
> > >
> > ># PPG USER SETUP, for authorizing a specific push user
> > >
> > >group = wap-push-user
> > >wap-push-user = foo
> > >ppg-username = foo
> > >ppg-password = bar
> > >#country-prefix = +358
> > >#allowed-prefix = "40;60;70"
> > >#denied-prefix = 50
> > >#white-list = http://localhost:8082/whitelist
> > >#black-list = http://localhost:8082/blacklist
> > >#deny-ip = "*.*.*.*"
> > >allow-ip = "127.0.0.1"
> > >
> > ># SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or
whatever
>over
> > >SMS
> > >
> > ># group = smsc
> > ># smsc = fake
> > ># smsc-id = FAKE
> > ># port = 10000
> > ># connect-allow-ip = 127.0.0.1
> > ># SMSBOX SETUP (a kludge!)
> > >
> > >group = smsbox
> > >bearerbox-host = localhost
> > >#sendsms-port = 13013
> > >#global-sender = 13013
> > >#sendsms-chars = "0123456789 +-"
> > >#log-file = "/tmp/smsbox.log"
> > >#log-level = 0
> > >#access-log = "/tmp/access.log"
> > >
> > ># TEST PAP PROTOCOL
> > >
> > >group = test-ppg
> > >retries = 2
> > >pi-ssl = yes
> > >#ssl-client-certkey-file = /etc/kannel/certkey.pem
> > >
> > ># CONFIGURATION GROUP
> > >
> > >group = configuration
> > >push-url = "">
> > >#pap-file = /etc/kannel/ipnoqos.txt
> > >pap-file = /home/sachin/nirav/gateway-1.4.0/test/iptestppg.xml
> > >#content-file = /etc/kannel/si.txt
> > >content-file = /home/sachin/nirav/gateway-1.4.0/test/sl.xml
> > >username = foo
> > >password = bar
> > >
> > >and modem configuration is
> > >
> > >group = smsc
> > >smsc = at
> > >modemtype = ericsson_t68
> > >device = /dev/ttyS0
> > >speed = 9600
> > >pin = 2345
> > >validityperiod = 167
> > >
> > >Please let me know how i can move forward to solve this problem.
I have
> >also
> > >tried to solve it by changing the port no but nothing ig worth.
> > >My 2 .xml files are
> > >
> > ><?xml version="1.0"?>
> > ><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
> > >
"http://www.wapforum.org/DTD/pap_1.0.dtd">
> > ><pap>
> > > <push-message push-id="[EMAIL PROTECTED]"
> > > deliver-before-timestamp="2005-10-31T06:45:00Z"
> > > deliver-after-timestamp="2001-02-28T06:45:00Z"
> > > progress-notes-requested="false">
> > > <address
> >
>address-value="WAPPUSH=213.243.140.102/[EMAIL PROTECTED]">
> > > </address>
> > > <quality-of-service
> > > priority="low"
> > > delivery-method="unconfirmed"
> > > bearer-required="true"
> > > bearer="CSD"
> > > network-required="true"
> > > network="GSM">
> > > </quality-of-service>
> > > </push-message>
> > ></pap>
> > >
> > >and sl.xml
> > >
> > ><?xml version="1.0"?>
> > > <!DOCTYPE sl PUBLIC "-//WAPFORUM//DTD SL
1.0//EN"
> > >
"http://www.wapforum.org/DTD/sl.dtd">
> > ><sl
> > > href="">
> > > action="">
> > ></sl>
> > >
> > >Please do reply as early as possible.
> > >
> > >
> > >
> > >
> >
> ><http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/sign
> >a
> > >ture-home.htm/[EMAIL PROTECTED]>
> > >
> >
> >
> >Thanks for replying back.
> >I m getting another error in WAPBOX showing:This the error which i got
>after
> >wapbox connected to the bearerbox.
> >
> >INFO: PPG: Accept request </wappush> from <127.0.0.1>
> >2006-03-10 12:54:15 [12572] [14]
> >WARNING: PPG: pap control entity erroneous, the request unacceptable.
> >
> >Please can u help me to get sort out this problem. If possible do
reply
>back
> >as soon as possible.
> >
> >Thank you.
> >
> >
> >
> >
> >
> >
>
><http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/sign
>a
> >ture-home.htm/[EMAIL PROTECTED]>
> >
>
>
>
>
>
>Thank u very much
>
>I got the soluiton for the problem but now there is one problem that
>whenever I try for the wap push command given in the userguide. It shows
>that the message is snd but gives an error Request ignoring and the message
>havent reached the destination yet.
>Can u please tell me what is [EMAIL PROTECTED]
>Should I replace with some other sites? Can u recommend some sites or ways
>through which i can send a WAP Push? Please do let me know. i m stuck up
>here?
>Please also let me know how i can really try to send MMS using kannel.
>
>
>
>
><http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signa
>ture-home.htm/[EMAIL PROTECTED]>
>
![]()