SMS Gateway, SMPP, ESME, SMSC

10 posts / 0 new
Last post
shwetasabane
Offline
Joined: 06/06/2011
Posts:
SMS Gateway, SMPP, ESME, SMSC

Greetings!

I have just started working on a SMS application. Unfortunately I dont have any knowledge about technical terms. I have googled a lot about it but the answer always varies so its been more confusing for me.
So here is the list of questions I have in my mind as of now.

Lets say there is a message service provider say Emtel. the java application receives the message from this provider via SMPP. Stores the messages in MYSQL, processes and sends back the response.

1. Are smsc and smpp configured on same server always? The systemid and password provided are of SMPP?
2. Is the application which sends/receives sms to/from SMSC after message processing known as SMS gateway .If yes then what is ESME?
3. What if binding is done between ESME and SMSC but still in the request in pdu it displays command status, command id, seq number but no message. it shows enquire link as ....
there are no parameters after . which says its incomplete.
I have been scratching my head like hell for this. the provider says it must be application error. But I have tested with SMPPTest from Logica. It also gives me same request string.
The only thing that has changed is username and password for SMPP. But its consistent in both SMPP server and application now.
Along with these questions, if you can tell me difference between SMSC, SMPP, SMS gateway, ESME it would be great. If possible answer these with respect to my application

Thanks in advance,
Shweta

Anil
Offline
Joined: 06/26/2007
Posts:
Re: SMS Gateway, SMPP, ESME, SMSC

Hi

>> 1. Are smsc and smpp configured on same server always? The systemid and password provided are of SMPP?

SMSC is at the telco. You just need to connect to SMSC using SMPP protocol on TCP/IP and authenticate using the system id, password.
Please read SMPP 3.4 Spec.

>> 2. Is the application which sends/receives sms to/from SMSC after message processing known as SMS gateway.If yes then what is ESME?
Here is case you have only SME. SMS gateway is generally handles multiple SMSC connections one one side and ESME connections on the other.

Also, have a look and Kannel open source sms gateway, it could serve your purpose. It can receive messages from SMSC ( on either SMPP or HTTP) also respond back ( can also pull the response text from HTTP GET url and send).
Also, you can check NowSMS Gateway, (not free but trial version available)

>>3. What if binding is done between ESME and SMSC but still in the request in pdu it displays command status, command id, seq number but no message. it shows enquire link as ....
there are no parameters after . which indicates its incomplete.
Please read SMPP 3.4 Spec.

>>Along with these questions, if you can tell me difference between SMSC, SMPP, SMS gateway, ESME

|SMSC | --<-- SMPP or HTTP protocol on TCP/IP --->-- ESME

|SMSC1|
|SMSC2| -----<---SMPP/HTTP---->------- SMS Gateway ---- >> Multiple ESMEs on SMPP/HTTP.
|SMSC3|

Hope it helps you!

shwetasabane
Offline
Joined: 06/06/2011
Posts:
Anil, Thanks for your time

Anil,

Thanks for your time and detailed reply.
I have following questions wandering in my head now :

What is SME?
What is difference between ESME and SME?
Also as every telecom would have a separate SMSC, would it have separate ESME?
What is the role of SMS gateway?
In my project, if java ap which pulls/pushes the messages is SME, then what exactly is SMS gateway here?

Thanks,
Shweta

Anil
Offline
Joined: 06/26/2007
Posts:
SME - Short Message Entity -

SME - Short Message Entity - Ex: Your mobile handset
ESME - External Short Message Entity ==> any application which can either recieve or send or both is an ESME.

Telcos will have one or more SMSCs,
and EMSEs can be any number.. all your content applications like weather, sms balance query .. etc all.

In your app EMSE and SMS GW are the same, so you can ignore SMS GW for timebeing.

shwetasabane
Offline
Joined: 06/06/2011
Posts:
Dear Anil, I would like to

Dear Anil,

I would like to confirm my understanding as per your reply and what I have read on net :

1. SME is like sending short messages via mobile handsets.
2. ESME is like sending short messages by any device but mobile.(as per ppt u shared on slidesshare)

the confusing part is my project seniors call the application(which pulls/pushes messages from/to SMSC) as SMS GW.
Also you said that SMS GW can be termed as which handles SMSC's on one side and ESME/SME's on other.

But w.r.t my project, messages would be coming to SMSC via SME, then the messages would be pulled from SMSC to SMS GW(pull) and inserted into MySQL. the processing would be done and response messages would be send back(PUSH) to SMSC to SME.

This happens for several message providers with different SMSC's.

SO here its like

|SMSC1|
MYSQL<------->--SMS Gateway-- <---->|SMSC2| -----<---SMPP---->> Multiple SMEs on SMPP
|SMSC3|

Is it correct? Does the SMS gateway definition changes here then?

Thanks,
Shweta

Anil
Offline
Joined: 06/26/2007
Posts:
Re: SMS Gateway, SMPP, ESME, SMSC

Ok, In your case ESME and SMS GW are the same.

Just connect to the SMSC on TCP/IP using SMPP protocol and recieve/send messages.

shwetasabane
Offline
Joined: 06/06/2011
Posts:
Thanks

Ok Anil. Lots of thanks for your patience and replies to my queries :)
Am a newbie in SMS app world.
Would bug you again for the upcoming queries if any :)

manoj@mobisoftt...
Offline
Joined: 07/07/2011
Posts:
smpp in PHP

Hi
Anil m manoj from mobisofttechnology india pvt ltd
m new in sms industry i want to develop my own smpp aplication as well as front end in php please help me on this i want client reseller module for whitelabeling

Anil
Offline
Joined: 06/26/2007
Posts:
smpp in PHP

Hi Manoj,

Please read SMPP 3.4 spec.
And, SMPP application you can develop in Java/C++ or PHP also.
and the following resources could help you..

http://www.phpclasses.org/package/1373-PHP-Sends-SMS-messages-via-an-SMP...
http://sourceforge.net/projects/php-smppv3-4/
http://sourceforge.net/projects/phpsmppapi/

rameshrai
Offline
Joined: 12/03/2011
Posts:
SMSC reply

SMSC is the central SMS server that handles sms messaging. In order to communicate with SMSC server, SMPP server is needed. ESME stands for external short message entity, meaning it is outside the telecommunication core network owned usually by private companies. SMS Messages between ESME Server and SMSC Server wherein binding, sending message, unbinding takes place. One SMSC server can handle many ESME.