rubima13 / jsmpp

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

how to send messages to cellphones using JSMPP? #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have downloaded the JSMPP as stated in the GettingStarted and able to start 
the server and run the client

2. I see the ouput being printed in the server output log
3. I had changed the SimpleSubmitExample.java to send the messages to my att 
cellphone,I see the message that I had added in the server log.

Following is the syntax I used            
String messageId = session.submitShortMessage("CMT", TypeOfNumber.NA
TIONAL, NumberingPlanIndicator.UNKNOWN, "NULL", TypeOfNumber.NATIONAL, 
NumberingPlanIndicator.UNKNOWN, "mycellnumber", new ESMClass(), (byte)0, 
(byte)1,  timeFormatter.format(new Date()), null, new 
RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT), (byte)0, new 
GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_DEFAULT), 
(byte)0, "testingjsmpp".getBytes());

What is the expected output? What do you see instead?

Did not get any SMS messages to my cellphone
What version of the product are you using? On what operating system?
JSMPP-2.1.0

Please provide any additional information below.
In the connectAndBind do I have to have the correct SMSC hostname and port to 
send the SMS messages out,what will the GettingStarted example does?

Original issue reported on code.google.com by neelu.tu...@gmail.com on 12 Aug 2010 at 8:27

GoogleCodeExporter commented 8 years ago
You need to know VALID smpp gateway from provider.

Original comment by farafon...@gmail.com on 19 Aug 2010 at 11:30