Receiving Wap Push Messages
Posted: Thu Jun 29, 2017 9:47 am
Hi alt,
I've been using your library to handle MT/MO for quite sometime and it has been very helpful!
However recently I have new requirement to build WAP related gateway module, based on my current understanding, there's a couple primary info for a WAP Message, eg:
1. esmClass = 64
2. dataCoding = 4
3. source and destination
4. title
5. url
After doing some searching I found out how to send WAP Push using your libray, but may I ask how about the receiving part?
I'm actually having trouble with getting the title and URL because the data in Inetlab.SMPP.PDU.SubmitSm.MessageText seems to be corrupted.
Sample code of sending below:
And the data.MessageText on server side actually shows "\t®j\0EÆ\rgoogle.com\0\aGoogle\0", which doesn't really make sense.
Can you kindly guide me on how to retrieve the Title and URL from SubmitSm object?
Thank you so much.
I've been using your library to handle MT/MO for quite sometime and it has been very helpful!
However recently I have new requirement to build WAP related gateway module, based on my current understanding, there's a couple primary info for a WAP Message, eg:
1. esmClass = 64
2. dataCoding = 4
3. source and destination
4. title
5. url
After doing some searching I found out how to send WAP Push using your libray, but may I ask how about the receiving part?
I'm actually having trouble with getting the title and URL because the data in Inetlab.SMPP.PDU.SubmitSm.MessageText seems to be corrupted.
Sample code of sending below:
Code: Select all
_client.Submit(SMS.ForWapPush()
.TransactionId(transactionId)
.From("1111").To("60166609999")
.Title("Google").Url("http://www.google.com")
);
Can you kindly guide me on how to retrieve the Title and URL from SubmitSm object?
Thank you so much.