How to simulate ESME send SMS to a mobile client - sms

I want to simulate the process of ESME sending an SMS to a Person B. How can I do this? I tried with LogicaOpenSMPP. I can send SMS to SMSC from ESME but i don't know how to forward that message to a another client.
how can i do so? or is there any alternatives?
Thanks

LogicaOpenSMPP doesn't have any forward function as the website stated
The application behaves as a real SMSC with SMPP interface, your
application can bind to it, send messages, unbind etc., however
nothing will get delivered anywhere as all the responses are only
made-up by the Simulator.
If you really need to do that, download the source and try to inject your forward functions.

I was able to achieve my goal using Smscsim. With the use of SMSCSim we can simulate the process of A sending a message to B quite easily.

Related

Stateful SMS Gateway Utility

I have installed Kannel as my SMS gateway service on my Server.
And it's running at a long time ago.
Basically, the default sms long text is 140 chars.
And i want to make it two step sending message, i mean i can send text message twice and sms gateway hold my first session (Stateful).
It impossible to replace production with the newest technology.
Cause right now, it just stateless. I send message and sms gateway just pass through it.
I think i need third party engine that can hold and manage sms sending session.
But i don't know, what that engine is. Cause it send as SMS message.
Any idea?
Thank you very much :)

Receive SMS Programmatically

I need to send and receive SMS messages, but not on a phone. Sending is somewhat easy, as there are oodles of gateways that can be used. The challenge that I'm running into is handling responses received.
Can anyone point in me in the right direction of services or devices that can handle 2 way SMS short of an actual phone.
SMS GATEWAY ME is an android app that you can download for free.
I like it because it's free and easy to use. All you do is send a HTTP post to their server and it sends out a message from your phone.
You can set up rules on the site to get it to forward incoming messages to your server using HTTP / Email as well.
There are some 2 way SMS gateways out there. A quick search found this one: http://www.txtimpact.com/api.asp all I did was google for 2-way sms gateway.
Here's an example that uses Wammu under Linux:
http://www.techytalk.info/send-receive-sms-using-gsm-modem-phone-ubuntu/
Here's another link:
http://www.developershome.com/sms/smsLinux.asp
And:
http://www.developershome.com/sms/
Good luck!

Sending SMS, MMS messages from mobile device and getting that message to a Java application server

I've been tasked with a project where the customer would like to send SMS, MMS messages from a mobile device. They would like to have a dedicated phone number to send these messages to. We would like these messages get routed through a gateway so it can be processed in a Java Application Server and have the server generate a response that will make its way back to the users mobile device. The server side of this will be done in Java.
I'm new to this and trying to understand the best approach. Please let me know what services and APIs are available that will allow me to do this. It seems like there are plenty of services available to get the message from the server to the phone, but I'm not clear on the mechanism for getting the message from the device routed to the Java application server.
Any suggestions are greatly appreciated.
Thanks in advance.
Seth
You could get yourself an old Nokia 3210 or something with a data cable and connect it to a server.
There are a bunch of companies that can provide a phone number to receive incoming sms messages as well as send them (not sure about MMS; that is a different story). One of them is Clickatell. They have a variety of API's you can use from Java.
http://www.clickatell.com/products/gateway.php
There are some services which allow you to define a callback URL, so when their server receives an SMS, they forward the data to you via HTTP POST. Of course, there are several proprietary protocols, and SMPP (e.g. http://opensmpp.logica.com/), but that's a lot more complicated.
An example of such a service is http://www.textmagic.com/app/pages/en/products/bulk-sms-gateway-api

How to setup a SMS Gateway on Windows 7 and test with .NET

My company is working for a Telco who will allow us to send/receive sms using their gateway eventually but for now I need a sms gateway setup on my Win7 box that I can used to test and build an applicaton that sends and optionally receive sms messages.
I have had a look at Kannel but I cant seem to find a Win7 version or dont know how to compile and setup one on Win7.
If someone has any experience in this then please help me. Thanks
If you will be connecting to the telco it will probably be to their SMSC directly via SMPP or similar protocols, which means you will need to setup something to talk to that. Kannel is an excellent open source implementation of an SMS Gateway, and probably your best bet at this. It will take care of talking with the telco's SMSC, and will provide you with a simple HTTP based interface to submit messages to from your application.
In that case, you are better off trying to set it up sooner rather than later, because quite a bit is involved in Kannel's configuration. It requires linux based systems to run and there is no windows port.
However, in order to get started developing your application, you can look into a fake SMS Gateway that will accept the same HTTP interface as Kannel, and return back made up replies. A quick and dirty way would be to write a simple web page in any language you wish, that will accept a few parameters over a web request and print out "55124" for the new message id, or similar. Then your application can do a simple HTTP call to it to simulate sending an sms:
http://smsgateway.local/simulator.php?to=12345678&from=12345&body=hello+there
If you want something more realistic look at this list of software. There are some libraries for sending sms via mobile phone connected serially, and SMPPSim which looks like it could work for you for this.

Sending an SMS myself

I'm taking shots in the dark here. I'd like to create a web service where eventually I send an SMS by using my own hardware. I'm not sure what I need in order to send an SMS myself. I don't want to use any of the existing SMS send services out there, I need to be able to send these SMS myself.
It looks like there's one opensource project in particular that deals with this, "Kannel":
http://www.kannel.org/
what I don't understand is, do I need to get a GSM modem to be able to send SMS? Do SMS gateways (like Kannel) eventually need to get to a GSM modem to send messages, or is there some other hardware you need to be able to actually send the messages?
Thanks
Just find an online SMS Gateway. These Gateway providers are your best bet since they have handled all the heavy lifting for you. Just utilize their API and you should be able to do whatever you want. Some of these gateways are free and some are not. I've included a short list below.
https://www.clickatell.com/pricing/message_cost.php
http://www.zeepmobile.com/
(Carrier based SMS transit)
http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit
I'm sure there are a ton more, but this will get you started.
You always need a GSM modem to send the SMS unless you use a provider that handles this for you (but they usually want money for this).
If you want to setup your own Hardware infrastructure, you have to get GSM Modem, A Sim card and use it to send SMS.
Other option, which I recommend, is to use SMS getways and use
SMPP protocol
XML or HTTP Apis
In later, you dont have to create any infrastructure and the starting cost will be very low compared to GSM Modem. You can get up and running in a day.
Note : to reduce the SMS costs, you should choose different getways for different countries. In India you can easily find getways who provides SMS at merely 3 paise
You will have to download an API that handles the sending and recieving of messages for you. I once used this in one project where i had my GSM Phone connected to my computer thru one of the COM ports. Configured the API to communicate thru the COM Port to listen to any incoming text messages also send messages thru my GSM Phone. Here is a great link to the resources i used for that project. I hope this will help. http://www.codeproject.com/KB/cs/SMS.aspx

Resources