PammyS / jsmpp

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

How to send SMS to mobile #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am new in jsmpp. I have downloaded latest version of jsmpp 2.0.1 and add
all required jar files in classpath as mentioned in wiki docs. I have
successfully start the server and run the client SimpleSubmitExample. Got
log message in both server and client console as mentioned in
http://code.google.com/p/jsmpp/wiki/GettingStarted.

I am not so clear about the output - what happens to the submitted message?
How i can send the message to mobile? Please clarify me.

Regards,
Morshed Akther

Original issue reported on code.google.com by makthe...@gmail.com on 19 Aug 2009 at 6:21

GoogleCodeExporter commented 8 years ago
I have the same question as above did all the setup and changed the 
SimpleSubmitExample.java to below my cell number
String messageId = session.submitShortMessage("CMT", TypeOfNumber.NATIONAL, 
NumberingPlanIndicator.UNKNOWN, "NULL", TypeOfNumber.NATIONAL, Number
ingPlanIndicator.UNKNOWN, "mycell#", 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, "testing jsmpp".getBytes());
            System.out.println("Message submitted, message_id is " + messageId);
seeing my text in the simulator server log that the submit_sm was successful 
but did not get a SMS text to my cell,what did I miss?

Original comment by neelu.tu...@gmail.com on 12 Aug 2010 at 6:53

GoogleCodeExporter commented 8 years ago
Even I am also facing same problem. 
I understand the SimpleSubmitExample java program connects with the jsmpp 
server simulator. I have connected my mobile with the PC using data cable. i 
don't know how to make this as jsmpp server? in other ways What is SMSC 
host/port how can i get the real smsc host and port?

Original comment by Malligar...@gmail.com on 28 Sep 2010 at 1:16

GoogleCodeExporter commented 8 years ago
Hello, 
I experienced the same problem with my application. I submitted a short message 
, but nothing appeared in my cellphone. 
Did someone solve this problem ?
Thanks

Original comment by panda.co...@gmail.com on 30 Nov 2011 at 12:26

GoogleCodeExporter commented 8 years ago
I have the same doubt. I've set the host, port, system_id (wich I believe is 
the username) and password of my sms gateway in the SimpleSubmitExample.java.

I've tried to look deep further in the code, but for now I've got confused.

Original comment by gabriel...@gmail.com on 20 Jul 2012 at 12:49

GoogleCodeExporter commented 8 years ago
I also having the same problem in my app.In simulator server log that the 
submit_sm was successful but did not get a SMS text to my phone.How to resolve 
this problem?
Did someone got it?
Thanks

Original comment by devonrav...@gmail.com on 27 Nov 2013 at 3:59