Hi there,
Our intention is to replace a commercial lib with your lib in our project.
I wanted to start with a very simple example with SMPP. So I modified your
example and with my userId and passwd . It look like this
JSMPPGateway gateway = new JSMPPGateway("smppcon", "X.Y.Y.W", 4200, new
BindAttributes("userId", "passwd", "cp", BindType.TRANSMITTER));
msg = new OutboundMessage("+41XXXXXXX", "Hello from SMSLib and JSMPP");
I can compile my class in Linux environment and it seems to be all right.
But if I start the example I get this exception:
>>> Gateway Status change for smppcon, OLD: STOPPED -> NEW: RESTART
>>> Gateway Status change for smppcon, OLD: RESTART -> NEW: STOPPING
>>> Gateway Status change for smppcon, OLD: STOPPING -> NEW: STOPPED
java.io.IOException: Receive negative bind response: Negative response
00000065 found
at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:246)
at
org.jsmpp.session.SMPPSession.connectAndBind(SMPPSession.java:200)
at
org.smslib.smpp.jsmpp.JSMPPGateway.startGateway(JSMPPGateway.java:144)
at org.smslib.Service$1Starter.run(Service.java:277)
This means that our SMSC server can not be found. My question is do you
have any idea how to handle this issue? I appreciate any help or advice
from your site.
Best regards,
Saeed
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/smslib/-/ahwN5S01OKMJ.
For more options, visit https://groups.google.com/groups/opt_out.