use Jsmpp to receive SMS via SMPP

1,943 views
Skip to first unread message

Prat

unread,
Jul 23, 2008, 3:05:35 AM7/23/08
to jsmpp
Hi,
can we use Jsmpp to receive SMS via SMPP?
I mean a smpp clinet can connect to jsmpp and can send SMS via jsmpp.

I.e. can jsmpp work as SMS gateway?

regards,
Prat

uud ashr

unread,
Jul 23, 2008, 4:09:56 AM7/23/08
to js...@googlegroups.com
Hi Prat,

SMPP Client also called as ESME.
SMPP Server usually is SMSC.

JSMPP is API for both client side and server side, so the answer is yes.

Regards,
uudashr

Prat

unread,
Jul 23, 2008, 5:16:06 AM7/23/08
to jsmpp
Great Thanks for your answer,

As I am new to jsmpp may you pleaes guide, how can I run jsmpp as SMSC
on a specified port.

regards,
Prat

On Jul 23, 1:09 pm, "uud ashr" <uuda...@gmail.com> wrote:
> Hi Prat,
>
> *SMPP Client* also called as *ESME*.
> *SMPP Server* usually is *SMSC*.
>
> JSMPP is API for both *client side* and *server side,* so the answer is yes.
>
> Regards,
> uudashr
>
>
>
> On Wed, Jul 23, 2008 at 2:05 PM, Prat <pratikmachc...@gmail.com> wrote:
>
> > Hi,
> > can we use Jsmpp to receive SMS via SMPP?
> > I mean a smpp clinet can connect to jsmpp and can send SMS via jsmpp.
>
> > I.e. can jsmpp work as SMS gateway?
>
> > regards,
> > Prat- Hide quoted text -
>
> - Show quoted text -

uud ashr

unread,
Jul 23, 2008, 5:53:16 AM7/23/08
to js...@googlegroups.com
You can download the beta release or checkout from repo.

The examples can be found at:
src/java/examples/org/jsmpp/examples/ReceiveSubmitterMessageExcample.java (you can see how the basic use of SMPPServerSession)
or
src/java/examples/org/jsmpp/examples/SMPPServerSimulator.java (This is SMPP Server/SMSC simulator)
or
src/java/examples/org/jsmpp/examples/StressServer.java (This is like SMPPServerSimulator but for stress test purpose)

Regards,
uudashr

Prat

unread,
Jul 23, 2008, 6:01:48 AM7/23/08
to jsmpp
Thank you very much,
Just one last question ,
Have you stress tested jsmpp?
If yes please let us know.

Again thank you for all your support.
-Prat

On Jul 23, 2:53 pm, "uud ashr" <uuda...@gmail.com> wrote:
> You can download the beta release or checkout from repo.
>
> The examples can be found at:
> *src/java/examples/org/jsmpp/examples/ReceiveSubmitterMessageExcample.java
> (you can see how the basic use of SMPPServerSession)*
> or
> *src/java/examples/org/jsmpp/examples/SMPPServerSimulator.java (This is SMPP
> Server/SMSC simulator)*
> or
> *src/java/examples/org/jsmpp/examples/StressServer.java (This is like
> SMPPServerSimulator but for stress test purpose)*
>
> Regards,
> uudashr
>
>
>
> On Wed, Jul 23, 2008 at 4:16 PM, Prat <pratikmachc...@gmail.com> wrote:
>
> > Great Thanks for your answer,
>
> > As I am new to jsmpp may you pleaes guide, how can I run jsmpp as SMSC
> > on a specified port.
>
> > regards,
> > Prat
>
> > On Jul 23, 1:09 pm, "uud ashr" <uuda...@gmail.com> wrote:
> > > Hi Prat,
>
> > > *SMPP Client* also called as *ESME*.
> > > *SMPP Server* usually is *SMSC*.
>
> > > JSMPP is API for both *client side* and *server side,* so the answer is
> > yes.
>
> > > Regards,
> > > uudashr
>
> > > On Wed, Jul 23, 2008 at 2:05 PM, Prat <pratikmachc...@gmail.com> wrote:
>
> > > > Hi,
> > > > can we use Jsmpp to receive SMS via SMPP?
> > > > I mean a smpp clinet can connect to jsmpp and can send SMS via jsmpp.
>
> > > > I.e. can jsmpp work as SMS gateway?
>
> > > > regards,
> > > > Prat- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -

uud ashr

unread,
Jul 23, 2008, 12:18:04 PM7/23/08
to js...@googlegroups.com
Yes, as you see on http://code.google.com/p/jsmpp/ it can handle 3000 untiil 5000 transaction per second on a laptop with core 2 duo 2GHz 32bit, with memory 2G.

You can try it by your self. Execute runServer.bat and runClient.bat on <jsmpp-extract-dir>/stress directory.

Ashish Jain

unread,
Sep 20, 2017, 6:37:25 AM9/20/17
to jsmpp
Hi uudashr,

I was trying to use the SMPPServerSimulator.java file as a client as well.
Below is quick summary is what I did.
Pulled out the SMPPServerSession object from connections HashMap.
And then tried sending the message using deliverShortMessage method.

Can you please suggest where exactly am I making mistake?

Regards,
Ashish

Muhammad Mahbub Hasan Rony

unread,
Aug 13, 2023, 11:54:54 AM8/13/23
to jsmpp
Hi All,
I am a new developer for jSMPP. I want to create a ESME user and want to connect to from an incoming request like a SMSC. But I cant find any way to start it. Please anyone help me.

Reply all
Reply to author
Forward
0 new messages