And this is what I get when trying to send wap through ppg: PUSH:
POST /wappush HTTP/1.1 Host: localhost:8080 Authorization: Basic Zm9vOmJhcg== X-Kannel-SMSC: telcel4 Content-Type: multipart/related; boundary=multipart-boundary; type="application/xml" Content-Length: 801 --multipart-boundary Content-type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd" > <pap> <push-message push-id="80655"> <address address-value="WAPPUSH=+525538957623/[email protected]"/> <quality-of-service delivery-method="unconfirmed" network="GSM" bearer="SMS" priority="high" network-required="true" bearer-required="true" /> </push-message> </pap> --multipart-boundary Content-type: text/vnd.wap.si <?xml version="1.0"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> <si> <indication action="signal-high" si-id="80655" href="http://www.perusms.net/downloads/SMS_logo1.jpg">Prueba WAP:wap</indication> </si> --multipart-boundary-- RESPONSE: <?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"><pap><push-response push-id="80655" sender-name="srvcom1.smsglobal.com.mx; WAP/1.3 (Kannel/1.4.3)" reply-time="2009-04-07T03:17:57Z" sender-address="/wappush"><response-result code ="1001" desc="The request has been accepted for processing"></response-result></push-response></pap> |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Mon, Apr 6, 2009 at 9:07 PM, Alvaro Cornejo <[email protected]> wrote: > Hi All > > > I'm trying to send wappush messges in different forms with no success. > > I coded a wappush like: > > lynx -dump > 'http://localhost:13013/cgi-bin/sendsms?username=user&password=pass&from=%2b525512345678&to=%2b525538957623&smsc=movistarmx&udh=%06%05%04%0B%84%23%F0&text=%1B%06%01%AE%02%05%6A%00%45%C6%0C%03%68%74%74%70%3A%2F%2F%77%77%77%2E%73%6D%73%67%6C%6F%62%61%6C%2E%63%6F%6D%2E%6D%78%2F%64%6F%77%6E%6C%6F%61%64%73%2F%69%6D%61%67%65%2E%67%69%66%00%01%03%41%76%69%73%61%20%73%69%20%74%65%20%6C%6C%65%67%61%20%65%73%74%65%20%6D%65%6E%73%61%6A%65%32%00%01%01' > > 0: Accepted for delivery > > and I get this on access log: > > 2009-04-06 20:29:45 Sent SMS [SMSC:telcel4] [SVC:playsms] [ACT:] > [BINF:] [FID:] [from:+525512345678] [to:+525538957623] > [flags:-1:1:-1:-1:-1] > [msg:96:1B0601AE02056A0045C60C03687474703A2F2F7777772E736D73676C6F62616C2E636F6D2E6D782F646F776E6C6F6164732F696D6167652E6769660001034176697361207369207465206C6C6567612065737465206D656E73616A6532000101] > [udh:7:0605040B8423F0] > > > on smsbox I get: > > 2009-04-06 20:29:38 [21923] [2] DEBUG: HTTP: Creating HTTPClient for > `10.10.5.2'. > 2009-04-06 20:29:38 [21923] [2] DEBUG: HTTP: Created HTTPClient area > 0xb2201368. > 2009-04-06 20:29:38 [21923] [3] INFO: smsbox: Got HTTP request > </cgi-bin/sendsms> from <10.10.5.2> > 2009-04-06 20:29:38 [21923] [3] INFO: sendsms used by <puser> > 2009-04-06 20:29:38 [21923] [3] INFO: sendsms > sender:<puser:+525512345678> (10.10.5.2) to:<+525538957623> msg:< � > j> > 2009-04-06 20:29:38 [21923] [3] DEBUG: Stored UUID > 8ed5c0be-4e0a-4e2d-992b-2f64985c0070 > 2009-04-06 20:29:38 [21923] [3] DEBUG: message length 96, sending 1 messages > 2009-04-06 20:29:38 [21923] [3] DEBUG: Status: 202 Answer: <Sent.> > 2009-04-06 20:29:38 [21923] [3] DEBUG: Delayed reply - wait for bearerbox > 2009-04-06 20:29:38 [21923] [0] DEBUG: Got ACK (0) of > 8ed5c0be-4e0a-4e2d-992b-2f64985c0070 > 2009-04-06 20:29:38 [21923] [0] DEBUG: HTTP: Destroying HTTPClient > area 0xb2201368. > 2009-04-06 20:29:38 [21923] [0] DEBUG: HTTP: Destroying HTTPClient for > `10.10.5.2'. > > however the message never arrive to mobile. I wasn able to send wap > using ppg and the script as in a thread from Juan Nin on Jan 08 > > my kannel config: > > #CORE BEARERBOX > group = core > admin-port = 13000 > smsbox-port = 13001 > wapbox-port = 13002 > dlr-storage = mysql > # usar en vez del MYSQL-DLR > # dlr-storage = internal > admin-password = admin > status-password = status > #box-allow-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1;10.10.5.2" > box-deny-ip = "*.*.*.*" > log-file = "/var/log/kannel/bearerbox.log" > log-level = 0 > access-log = "/var/log/kannel/beareraccess.log" > store-type = spool > store-location = /var/log/kannel/spool > > group = wapbox > bearerbox-host = 10.10.5.2 > log-file = "/var/log/kannel/wapbox.log" > access-log = "/var/log/kannel/wapaccess.log" > log-level = 0 > syslog-level = none > smart-errors = true > > group = ppg > ppg-url = /wappush > ppg-port = 8080 > concurrent-pushes = 100 > users = 1024 > ppg-allow-ip = "*.*.*.*" > trusted-pi = true > service-name = ppg1 > default-smsc = telcel > > group = wap-push-user > wap-push-user = wappush > ppg-username = foo > ppg-password = bar > allow-ip = "*.*.*.*" > > > any ideas? > > Regards > > Alvaro > > > > > > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com >
