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/signa
>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.
![]()