Open GoogleCodeExporter opened 8 years ago
I try to add receipt_message_id by COctetString but it doesn't help(
OptionalParameter op2 = new OptionalParameter.COctetString(Tag.RECEIPTED_MESSAGE_ID.code(), messageId.toString());
It always said Malformed Packet:SMPP
Original comment by sokun...@gmail.com
on 12 Mar 2012 at 8:36
Hi Sokun,
I have same problem with you, did you solved it?
Can you help me?
Best Regards.
Original comment by harunate...@gmail.com
on 19 Jun 2014 at 3:05
Hello,
Now I am using com.logica.smpp package (this library has all functionality that
I need)
Best Regards.
Original comment by sokun...@gmail.com
on 26 Jun 2014 at 10:08
Hi, I found the problem and actually I have fixed it. I am using jsmpp 2.2.1
and the fix was a small change in the class Receipted_message_id that is inside
org.jsmpp.bean.OptionalParameter
from:
public static class Receipted_message_id extends OptionalParameter.COctetString
{
public Receipted_message_id(byte[] value) {
super(Tag.RECEIPTED_MESSAGE_ID.code(), value);
}
}
to:
public static class Receipted_message_id extends OptionalParameter.COctetString
{
public Receipted_message_id(byte[] value) {
super(Tag.RECEIPTED_MESSAGE_ID.code(), new String(value));
}
}
I hope that solve your issue,
bye
Original comment by cfo...@itdchile.cl
on 23 Mar 2015 at 9:27
Original issue reported on code.google.com by
sokun...@gmail.com
on 12 Mar 2012 at 4:57