WAP PUSH MESSAGE
Posted: Thu May 24, 2012 3:35 pm
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
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