Hello Alt,
I tried to send wap push message with your dll but it is complaining about the first parameter i.e transaction ID. what am i suppose to add there. see may code below. Kindly share with me a working sample if you have it.
Public Sub WapPushSubmit(ByVal originator As String, ByVal destination As String, ByVal textmessage As String, ByVal title As String)
' Use this commented example to prepare and send Wap Push message.
Dim packets As List(Of Inetlab.SMPP.PDU.SubmitSm)
packets = client.PrepareWapPush(Byte.Parse("1"), Byte.Parse(tbSrcAdrTON), Byte.Parse(tbSrcAdrNPI), originator, Byte.Parse(tbDestAdrTON), Byte.Parse(tbDestAdrNPI), destination, textmessage, title)
client.SubmitAsync(packets)
End Sub
WAP PUSH MESSAGE
-
- Posts: 54
- Joined: Mon Nov 16, 2009 3:48 pm
- Location: United Kingdom
- Contact:
Re: WAP PUSH MESSAGE
Hi majortargets,
Did you get any error message?
I think you need to replace parameter "textmessage" with url to wap page.
Did you get any error message?
I think you need to replace parameter "textmessage" with url to wap page.
-
- Posts: 54
- Joined: Mon Nov 16, 2009 3:48 pm
- Location: United Kingdom
- Contact:
Re: WAP PUSH MESSAGE
Hi Alt,
Thanks for your reply.
I got an error message which is related to the first parameter Byte.Parse("1"). I will update you with the exact error message.
The parameter text message is a url string, not a text
Thanks for your reply.
I got an error message which is related to the first parameter Byte.Parse("1"). I will update you with the exact error message.
The parameter text message is a url string, not a text
-
- Posts: 54
- Joined: Mon Nov 16, 2009 3:48 pm
- Location: United Kingdom
- Contact:
Re: WAP PUSH MESSAGE
Hello,
I have tried it again and it is working now.
Thanks
I have tried it again and it is working now.
Thanks