Closed GoogleCodeExporter closed 8 years ago
Which version did you use?
Original comment by uuda...@gmail.com
on 22 Jan 2009 at 4:54
I am using jsmpp 2.0. I have tested deploying the web application on tomcat 6
and
Glassfish v2, under jvm 1.6. I get the same exception in both cases.
Original comment by felix.pedrera
on 22 Jan 2009 at 6:55
Hi,
You should specify the RegisteredDelivery when submitting short message.
Just replace the similar line with this:
String messageId = session.submitShortMessage("CMT", TypeOfNumber.UNKNOWN,
NumberingPlanIndicator.PRIVATE, "2342", TypeOfNumber.NATIONAL,
NumberingPlanIndicator.ISDN, "666326598", new ESMClass(), (byte)0, (byte)0,
null,
null, new RegisteredDelivery(SMSCDeliveryReceipt.SUCCESS_FAILURE), (byte)0, new
GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_DEFAULT),
(byte)0,
"Test".getBytes());
That should fix the problem.
Original comment by uuda...@gmail.com
on 23 Jan 2009 at 3:24
Original issue reported on code.google.com by
felix.pedrera
on 21 Jan 2009 at 8:14Attachments: