Can you resend your question, with character equivalent of http escapes. Specifally,
what is the push body you are sending.

Aarno

On 10 Jan 2006, at 19:04, M Amedeo Alaimo wrote:

Our provider does not want us to send them multipart wap pushes.
This is what we send them UDH - WTP Payload and Headers - and A WB-XML Binary SI.

This is what I am doing right now

I am sending this as a post to my PPG in kannel

"dlr-mask=31&dlr-url=""> time%3D%25t%26message%3D%25a%26udh%3D%25u%26smsc%3D%25i%26coding%3D%25c%26smsc-id%3D%25I
%3A%3A%25i%26smscReply%3D%25A%26billing%3D%25B%26account%3D%25o%26serviceName%3D%25n%26
dlr-type%3D%25d&to=5712657448&from=108019&dlr-mask=31&udh=%06%05%04%0B%84%23%F0&
text=%40%06%04%01%AE%81%04%02%05%6A%00%45%C6%0b%03
http://[EMAIL PROTECTED]
%00%08%0A%C3%07%20%01%10%21%20%02%23%10%C3%04%20%02%06%30%01%03yeah%00%01%01"

My headers are as follows
authorization  => "Basic Zm9vOmJhcg==\n",
"content-type" => "application/xml",

Now I know that the content type is inccorect.  I obtained the encoded xml from the sendsms.php in the contrib dir of the cvs version of
gateway.

The message mayb be wrong, but for now wapbox tells me this
<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"><pap><badmessage-response code="2000" desc="Not understood due to malformed syntax" bad-message-fragment="application/xml"></badmessage-response></pap>
AN2006-01-10 12:54:33 [27691] [14] WARNING: PPG: headers_acceptable: got unacceptable push headers
2006-01-10 12:54:33 [27691] [14] WARNING: PPG: Unparsable push headers, the request unacceptable
2006-01-10 12:54:33 [27691] [14] DEBUG: PPG: send_bad_message_response: telling pi


Thanks!



--
M Amedeo Alaimo

Reply via email to