Garbage in Push message

Garbage in Push message SearchSearch
Author Message
Hugh McLenaghan
New member
Username: Hughmcl

Post Number: 1
Registered: 12-2006
Posted on Tuesday, December 19, 2006 - 05:19 am:   

We're trying to send a service indication message (Pretty basic, with text and a URL), and when it gets to the phone all it displays is garbage. The GO button is lit, but the link doesn't seem to work.

If we send just Text in the SI, it displays OK. If we send just the URL in the SI, it displays it OK. When we send Text + URL it's garbage.

This is either using the web interface and also using a PAP Push message. We're using the Trial version 2006.10.31 with patch.

We have an SMPP v3.4 connection to Sprint.

I've tried multiple combinations of settings in the SMSC section but none of the combinations seem to fix the issue.

I'm pasting below a copy of the PAP Push message we're using:-


POST /pap HTTP/1.0
User-Agent: MVNO Sherpa Push Agent 1.0
Host: 10.200.49.20:8800
Date: Mon, 18 Dec 2006 22:58:32 CST
Accept: */*
Accept-Charset: utf-8
Content-Type: multipart/related; boundary=BoundaryString; type=application/xml
Content-Length: 875

--BoundaryString
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="x_1166504312" source-reference="1234567890@provider.com" deliver-before-timestamp="2008-12-31T09:09:00Z" deliver-after-timestamp="2005-01-01T09:09:00Z">
<address address-value="/WAPPUSH=1234567890/TYPE=PLMN@xmg"></address>
<quality-of-service bearer="SMS" bearer-required="true" delivery-method="unconfirmed"></quality-of-service>
</push-message>
</pap>

--BoundaryString
X-Wap-Application-Id: x-wap-application:wml.ua
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 href="http://www.google.com" si-id="1166504312" >
Click
</indication>
</si>
--BoundaryString--



response: HTTP/1.0 202 Accepted
Content-type: application/xml
Connection: close
Content-length: 224

<?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="x_1166504312">
<response-result code="1001"/>
</push-response>
</pap>
Malcolm - Now Support
New member
Username: Malcolm

Post Number: 44
Registered: 12-2006
Posted on Thursday, December 21, 2006 - 03:16 pm:   

Hi Hugh,

Sprint is a CDMA operator.

Do you have the "Use WDP Adaptation" setting enabled under "Advanced Settings" in the definition of the SMPP connection within NowSMS?

Without this setting in place, NowSMS submits messages to SMPP with the GSM UDH (user data header) settings for binary messages types like WAP Push.

Unfortunately, we do not have any experience directly connecting to Sprint, but this particular setting is what is normally required when connecting directly to CDMA operators.

If this setting also results in garbage messages, then we would be interested in producing a test version with some other alternate settings that might make a difference. (Unfortunately, development staff is light through the holidays, but I might be able to come up with a send binary message test URL to test one theory that we have wondered about for situations when a CDMA operator SMSC does not support WDP Adaptation.)

--
Malcolm
Now Wireless Support
Hugh McLenaghan
New member
Username: Hughmcl

Post Number: 2
Registered: 12-2006
Posted on Friday, December 22, 2006 - 09:26 pm:   

Hi Malcolm,

The "Use WDP Adaptation" setting is already enabled in our configuration. We've tried other things too.

Anything you can help in testing would be great. I believe our trial license has also just expired.
Malcolm - Now Support
Frequent Contributor
Username: Malcolm

Post Number: 59
Registered: 12-2006
Posted on Tuesday, January 02, 2007 - 08:39 pm:   

Hi Hugh,

We're having a bit of a challenge catching up post-holiday.

I've sent you a direct e-mail with an idea of something to try.

--
Malcolm
Now Wireless Support