Re: wap push alert
hii alll, im new in wap_push ..i send sms succefully from kannel..but i can use it as wap gateway...after saerching finally i can configure my kannel to send wap push ...the problem that i can understand the pap xml . exactely 1* what do you mean by TYPE=IPv4 at ppg.carrier.com ? and has this any relation with the operator or the type of mobile. ps: the error that i get from the file log bearer missing thankss for your help
Re: wap push alert
Hi, Please do not report what log says, just paste relevant detailed lines from log, with context. Also read User's guide to learn about PPG pap variables. BR, Nikos - Original Message - From: sisi85 rabeb.ab...@gmail.com To: users@kannel.org Sent: Wednesday, May 19, 2010 2:50 PM Subject: Re: wap push alert hii alll, im new in wap_push ..i send sms succefully from kannel..but i can use it as wap gateway...after saerching finally i can configure my kannel to send wap push ...the problem that i can understand the pap xml . exactely 1* what do you mean by TYPE=IPv4 at ppg.carrier.com ? and has this any relation with the operator or the type of mobile. ps: the error that i get from the file log bearer missing thankss for your help
RE: wap push alert
Hi Mary, As you said you are using confirmed method, but in your pap control file nothing is mentioned whether it's confirmed method or unconfirmed method. Use following file and make correspoding changes and try it out. ?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=2003-04-04T06:45:00Z deliver-after-timestamp=2000-02-27T06:45:00Z progress-notes-requested=true address address-value=WAPPUSH=192.168.1.19/[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=GSM bearer-required=true bearer=SMS / /push-message /pap BR sunil -Original Message- From: Mary McCarter [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 21:19 To: sunil baburaoji Cc: [EMAIL PROTECTED] Subject: RE: wap push alert Hi Sunil, Thanks for your help I'm not sure if you have received my last mail because I had some problems with my mail. -My gateway version: 1.3.1 -Method: confirmed, I was trying with unconfirmed method but I don't get my phone to receive an alarm, so I want to try with a confirmed method, but I don't know well how to do it. -My testing phone is a i550 plus Motorola by now and it uses WTLS, do you have any experience with a idem Motorola? I try many ways and differents configuration and control files, I don't see any error in the debug, but my telephone doesn't receive any alert,yet. I'm using the kannel 1.3.1 and the patch kwtls. I don't know if it is a problem that my phone use WTLS. When I send an alert I don't see that the kwtls patch was involved in the process! WTLS would be a problem to use kannel ppg, it could be a cause why my phone don't receive an alert when I send one? I'm sending you my conf file and my queries, please let me know if I'm doing something wrong, I will very grateful with any comment. Regards, Mary * This is the output I'm getting from test_ppg: [EMAIL PROTECTED] test]# ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wappush.cgi?username=foo''password=ba r SI.xml PAP.xml 2003-04-01 18:52:58 [0] INFO: an input without a configuration file assumed 2003-04-01 18:52:58 [0] DEBUG: using SI.xml as a content file 2003-04-01 18:52:58 [0] DEBUG: using PAP.xml as a control file 2003-04-01 18:52:58 [0] DEBUG: Started thread 1 (test/test_ppg.c:push_thread) 2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: starting to push job 0 2003-04-01 18:52:58 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2003-04-01 18:52:58 [1] DEBUG: Started thread 3 (gwlib/http.c:write_request_thread) 2003-04-01 18:52:58 [1] DEBUG: push done 2003-04-01 18:52:58 [3] DEBUG: HTTP: Opening connection to `172.24.249.44:3128' (fd=13). 2003-04-01 18:52:58 [3] DEBUG: Socket connecting 2003-04-01 18:52:58 [2] DEBUG: Get info about connecting socket 2003-04-01 18:52:58 [2] DEBUG: HTTP: Sending request: 2003-04-01 18:52:58 [2] DEBUG: Octet string at 0x812e1d0: 2003-04-01 18:52:58 [2] DEBUG: len: 1085 2003-04-01 18:52:58 [2] DEBUG: size: 1086 2003-04-01 18:52:58 [2] DEBUG: immutable: 0 2003-04-01 18:52:58 [2] DEBUG: data: 50 4f 53 54 20 2f 63 67 POST /cg 2003-04-01 18:52:58 [2] DEBUG: data: 69 2d 62 69 6e 2f 77 61 i-bin/wa 2003-04-01 18:52:58 [2] DEBUG: data: 70 70 75 73 68 2e 63 67 ppush.cg 2003-04-01 18:52:58 [2] DEBUG: data: 3c 2f 73 69 3e 0d 0a 2d /si..- 2003-04-01 18:52:58 [2] DEBUG: data: 2d 61 73 64 6c 66 6b 6a -asdlfkj 2003-04-01 18:52:58 [2] DEBUG: data: 69 75 72 77 67 68 61 73 iurwghas 2003-04-01 18:52:58 [2] DEBUG: data: 66 2d 2d 0d 0af--.. 2003-04-01 18:52:58 [2] DEBUG: Octet string dump ends. 2003-04-01 18:52:58 [2] DEBUG: HTTP: Status line: HTTP/1.1 202 Foo 2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: push 0 done: reply from, http://172.24.249.44:3128/cgi-bin/wappush.cgi?username=foopassword=bar 2003-04-01 18:52:58 [1] DEBUG: PAP COMPILER: doing semantic analysis for address type unknown address 2003-04-01 18:52:58 [1] DEBUG: using defaults instead of anys 2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: and type push response 2003-04-01 18:52:58 [1] INFO: TEST_PPG: In thread 1 1 succeeded, 0 failed 2003-04-01 18:52:58 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates. 2003-04-01 18:52:58 [0] INFO: TEST_PPG: 1 requests in 0.00 seconds, inf requests per second 2003-04-01 18:52:58 [0] DEBUG: Waiting for 3 (gwlib/http.c:write_request_thread) to terminate 2003-04-01 18:52:58 [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread) terminates. 2003-04-01 18:52:58 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) terminates. 2003-04-01 18:52:58 [0] DEBUG: Immutable octet strings: 41
Re: wap push alert
You must escape (it is, write '' ). has a special meaning for the shell (run the process background). Aarno On Monday, March 31, 2003, at 08:42 PM, Mary McCarter wrote: Hi friends, Thank very much Arnoo for reply me, but I think I don't understand you about the cgi-bin/wap-push.cgi When I run this command ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap- push.cgi?username=foopassword=bar SI.xml PAP.xml I get this error: [EMAIL PROTECTED] test]# ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap- push.cgi?username=foopassword=bar SI.xml PAP.xml [1] 18772 2003-03-31 12:55:29 [0] INFO: a configuration file input assumed 2003-03-31 12:55:29 [0] ERROR: fopen failed: couldn't open `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo' 2003-03-31 12:55:29 [0] ERROR: System error 2: No such file or directory 2003-03-31 12:55:29 [0] PANIC: Failed to load main configuration file `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo'. Aborting! bash: SI.xml: command not found [1]+ Exit 1 ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo I don't know which step I'm doing bad,when it said fopen failed: couldn't open If my ppg-url= /cgi-bin/wap-push.cgi, I guess it is because the /cgi-bin/wap-push.cgi has to exist, do I have to create it?, but what does wap-push.cgi has to have? Thanks in advance, I will be very grateful with any contribution, ** This is my conf file::: ... ... # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi ppg-port = 3128 concurrent-pushes = 100 trusted-pi = true users = 1024 ppg-allow-ip = *.*.*.* # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever 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 send-url=http://host:port/path # SMSBOX SETUP (a kludge!) group = smsbox bearerbox-host = localhost *** The SI.xml and PAP.xml ?xml version=1.0?!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN = http://www.wapforum.org/DTD/si.dtd;siindication = href=http://mm.yahoo.com si-id=[EMAIL PROTECTED] = action=signal-medium created=2002-12-11T01:06:45Zwant to = test/indication/si ?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN = http://www.wapforum.org/DTD/pap_1.0.dtd;pappush-message = push-id=[EMAIL PROTECTED] = deliver-before-timestamp=2003-04-04T06:45:00Z = deliver-after-timestamp=2000-02-27T06:45:00Z = progress-notes-requested=falseaddress = address-value=WAPPUSH=+51198196125/[EMAIL PROTECTED]/= addressquality-of-service priority=low = delivery-method=unconfirmed network-required=true = network=GSM bearer-required=true = bearer=SMS/quality-of-service/push-message/pap The SI.xml and PAP.xml are int /test, too. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: wap push alert
Hi, On Thursday, March 27, 2003, at 01:12 AM, Mary McCarter wrote: I have the kannel 1.3.1 and I'm using it as a wap gateway, but I'm trying to setting up a push proxy gateway...I'm new with this topic, so I hope you could understand me :) and sorry for the length of my my mail but I have a lot of doubts and I hope you can help me. I'm using a Motorola phone (idem motorola). - How can I send an alert to my phone? I don't understand very well how to try it.. - This is my configuration file # BEARERBOX SETUP, for Kannel core operations group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = bar wdp-interface-name = * log-file = /usr/local/gw_131/log/bearerbox.log box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /usr/local/gw_131/log/acces.log store-file = /usr/local/gw_131/log/store.log # WAPBOX SETUP, for pushing and for pulling (fetching) the wap data group = wapbox bearerbox-host = localhost device-home = http://172.24.249.34/prueba/prueba.asp; log-file=/root/gatewayultver/wapbox.log syslog-level = none smart-errors = true # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi #ppg-url = /wappush #ppg-port = 8080 ppg-port = 3128 concurrent-pushes = 100 trusted-pi = true users = 1024 ppg-allow-ip = *.*.*.* # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever 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 #send-url=http://mykannel_ip:port/path # SMSBOX SETUP group = smsbox bearerbox-host = localhost - I have to run the bearerbox kannel.conf wapbox kannel.conf and is it necessary to run the smsbox kannel.conf? If you want delivery reports, then you must run smsbox, otherwise, you dont. - I have read (in the user guide and other mails) that I can test sending an alert like it: In the command line: test/test_ppg -q = http://mykannelip:3128/cgi-bin/wappush.cgi? username=foopassword=bar si.xml pap.xml but I don't know what is mykannelip:3128/cgi-bin/wappush.cgi? This is simple a tag telling service name. You can set it with ppg-url configuration directive. -About SI.xml ?xml version=3D1.0?!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN = http://www.wapforum.org/DTD/si.dtd;siindication = href=http://www.yahoo.com si-id=[EMAIL PROTECTED] = action=signal-medium created=2002-12-11T01:06:45Zwant to = test/indication/si what is the: si-id=[EMAIL PROTECTED] I can use the same or it should be my [EMAIL PROTECTED] You should use different si-ids for every si. it indeed should be of form [EMAIL PROTECTED] -About PAP.xml ?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN = http://www.wapforum.org/DTD/pap_1.0.dtd;pappush-message = push-id=3D[EMAIL PROTECTED] = deliver-before-timestamp=2003-04-04T06:45:00Z = deliver-after-timestamp=2000-02-27T06:45:00Z = progress-notes-requested=falseaddress = address-value=WAPPUSH=+9191232323231/[EMAIL PROTECTED]/= addressquality-of-service priority=low = delivery-method=unconfirmed network-required=true = network=GSM bearer-required=true = bearer=SMS/quality-of-service/push-message/pap the address-value=WAPPUSH=+9191232323231/[EMAIL PROTECTED], the 9191232323231 have to be the sender or receiver phone? the receiver. Aarno
Re: wap push alert
Hi friends, Thank very much Arnoo for reply me, but I think I don't understand you about the cgi-bin/wap-push.cgi When I run this command ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foopassword=bar SI.xml PAP.xml I get this error: [EMAIL PROTECTED] test]# ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foopassword=bar SI.xml PAP.xml [1] 18772 2003-03-31 12:55:29 [0] INFO: a configuration file input assumed 2003-03-31 12:55:29 [0] ERROR: fopen failed: couldn't open `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo' 2003-03-31 12:55:29 [0] ERROR: System error 2: No such file or directory 2003-03-31 12:55:29 [0] PANIC: Failed to load main configuration file `http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo'. Aborting! bash: SI.xml: command not found [1]+ Exit 1 ./test_ppg -q http://172.24.249.44:3128/cgi-bin/wap-push.cgi?username=foo I don't know which step I'm doing bad,when it said fopen failed: couldn't open If my ppg-url= /cgi-bin/wap-push.cgi, I guess it is because the /cgi-bin/wap-push.cgi has to exist, do I have to create it?, but what does wap-push.cgi has to have? Thanks in advance, I will be very grateful with any contribution, ** This is my conf file::: ... ... # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = /cgi-bin/wap-push.cgi ppg-port = 3128 concurrent-pushes = 100 trusted-pi = true users = 1024 ppg-allow-ip = *.*.*.* # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever 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 send-url=http://host:port/path # SMSBOX SETUP (a kludge!) group = smsbox bearerbox-host = localhost *** The SI.xml and PAP.xml ?xml version=1.0?!DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN = http://www.wapforum.org/DTD/si.dtd;siindication = href=http://mm.yahoo.com si-id=[EMAIL PROTECTED] = action=signal-medium created=2002-12-11T01:06:45Zwant to = test/indication/si ?xml version=1.0?!DOCTYPE pap PUBLIC -//WAPFORUM//DTD PAP//EN = http://www.wapforum.org/DTD/pap_1.0.dtd;pappush-message = push-id=[EMAIL PROTECTED] = deliver-before-timestamp=2003-04-04T06:45:00Z = deliver-after-timestamp=2000-02-27T06:45:00Z = progress-notes-requested=falseaddress = address-value=WAPPUSH=+51198196125/[EMAIL PROTECTED]/= addressquality-of-service priority=low = delivery-method=unconfirmed network-required=true = network=GSM bearer-required=true = bearer=SMS/quality-of-service/push-message/pap The SI.xml and PAP.xml are int /test, too. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail