tunsoekhaing / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Error Sending SMS #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

Im traying to send a SMS to Hardware Voice Blue Next, here is my code:

 String house = "Hola Mundo";
 byte[] data = house.getBytes();

 String messageId = session.submitShortMessage("CMT",TypeOfNumber.INTERNATIONAL,NumberingPlanIndicator.UNKNOWN, "1111111111",                                          TypeOfNumber.INTERNATIONAL, NumberingPlanIndicator.UNKNOWN,"1111111111", 
new ESMClass(), (byte)0, (byte)1, timeFormatter.format(new Date()), null,
registeredDelivery, (byte)0, new GeneralDataCoding(Alphabet.ALPHA_DEFAULT),
(byte)0, data);

My conection is ok, but when im sending the SMS this not go out.

The only error can i see in the hardware log is:

date     time     type  error user/grp/mo ssec  date     time     pn/pt gid
------------------------------------------------------------------------------
21.01.15/14:05:28 S-FD  E-021 U-000/00/00  2.8  21.01.15/14:05:25 01/01      

but i cant understand what is the problem.

Im conect to the hardware with one sms server and can send SMS's, but whit the 
API cant.

Version API 2.1.0

thank you for your help

Original issue reported on code.google.com by AdrubalC...@gmail.com on 21 Jan 2015 at 8:20