Hello!

Can anyone help me with sending wap push message through kannel ppg? I
have read documentation and dont understood how i can do it.
I have read WSP and WDP specification and knew  how to code UDH and SI
with wbxml, but i dont understood where i must send this message.

http://127.0.0.1:8080/wappush.cgi?user=*deleted*&;
pass=*deleted*=to=%2B358408676001&text=3D%02%06%17%AE%96localhost
%3A8080%00%AF%80%8D%CF%B4%80%02%05j%00E%C6%0C%03wap.iobox.fi%00%11%03
1%40wiral.com%00%07%0A%C3%07%19%99%06%25%15%23%15%10%C3%04+%02%060%01
%03Want+to+test+a+fetch%3F%00%01%01&udh=%06%05%04%0B%84%23%F0

when i send this message with Firefox browser i always got xml responce
<pap>
<badmessage-response code="2000" desc="Not understood due to malformed
syntax" bad-message-fragment="No MIME content"/>
</pap>

and my wapbox crashed with core dumped.

i have configured my kannel.conf :

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = foo
status-password = bar
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/tmp/access.log"
store-file = "/tmp/kannel.store"

group = smsc
smsc = smpp
smsc-id = MYSMSC
host = 127.0.0.1
port = 4000
smsc-username = "foo"
smsc-password = "bar"
system-type = "CPA"
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
connection-timeout = 1260
wait-ack = 420
transceiver-mode = true
log-file = "/tmp/smsc.log"
log-level = 0
address-range = ""

group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
log-level = 0
access-log = "/tmp/access.log"

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

group = ppg
ppg-url = /wappush.cgi
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = false
users = 1024
ppg-allow-ip = "127.*.*.*"

group = wap-push-user
wap-push-user = foo
ppg-username = foo
ppg-password = bar

group = sendsms-user
username = foo
password = bar

group = sms-service
keyword = default
catch-all=true
get-url="http://127.0.0.1:80/sms-srv?to=%P&from=%p&msg=%a&smsc_id=MYSMSC&coding=%c&charset=%C";
omit-empty=true

Cya


Reply via email to