How to Send and Receive SMS through application? [closed] - sms

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
In windows I want to make an application, which can send and receive and process sms. How it is possible? I am from India and this app will be used in India.
How can I receive sms in computer, I think through cellular GSM modem, It is possible to send and receive sms. Where can I find APIs to connect to modem to send and receive sms?
I am comfortable in Qt & MFC programming.
Thanks,
Sunny.

Assuming you have a GSM modem which supports it, then you can send a set of AT commands to send and retrieve SMS from it.
If you are dealing with message in bulk, you'll probably want to sign up for an SMS gateway service instead. These usually provide an HTTP API and don't require a GSM modem.

If you want to send/receive SMS using Modem then this link might be helpful. If you want to have large scale capabilities to send/receive SMS then you can contact SMS Resellers like Gateway4SMS. Search google for more such providers. There are plenty of them in India.
Besides these technical things, you need to be aware that it is illegal to send bulk SMS from your mobile phone in India. You need to have 5 digit special codes (like 57575) or 11 character (TD-IRCTC) name to send bulk SMS which will be provided to you by bulk SMS resellers.
If you are thinking to contact service providers like Airtel or Vodafone to connect to their SMSC (SMS center) then be aware that Airtel has pulled out of this business because it is ethically not so right. Your only options are Vodafone/Tata teleservices but those guys don't respond to you if you are small time player.

The easiest way to accomplish this is by using a third party API. Some I know that work well are:
restSms.me
Twilio.com
springedge.com
Clickatell.com
I have used all of them and they easiest/cheapest one to implement was restSms.me
Hope that helps

You will need to get a modem that is capable to receive AT COMMANDS.
take a look at this article.
I used the following modem, and it works perfectly.
Another way would be to use an SMS gateway such as CLICKATELL I use my own modem to receive messages, and their gateway for sending.

No, you cannot send SMS through your modem. There are third party SMS gateway services, but I'm uncertain of how well or if they work in India.
Start reading here SMS Gateways and then you should be able to google for gateway services.

There are several ways to do this task, either to use AT commands for GSM modem or to use some gateway. Remember AT commands are not easy to handled, specially you feel difficult to handle incoming messages,
Using GSM Modem, GSM Modem with proper multi threadingYou can find a library or exe here. This is i think a ready made product but you can ask them for free liscence or may be some notes to study how did they make it, its name is rapidsmsserver and it is very nicely made.
There is another way to build this, sending sms using HTTP protocol, but what you required is available in the link i made above.

Related

Reading sms without using GSM Modem?

I want to read sms in a mobile and process it in my server. I think it can be done with the help of GSM modem. But, i have been asked to do it without using GSM modem.Is there any other way to make it done?. If there is any other way, pls let me know.
(preferred languages to implement-java,c#/vb.net,php,c/c++)
Update based on comment:
I am planning to develop a SMS polling system using which our company employees can vote by sending SMS.
For example, the users will be asked to send sms in a particular format(say VOTE ) to a mobile number. I need to read the sms(which is in a mobile) from my server and it should be processed to calculate the result.
I think what you are looking for is a SMS Gateway. There are plenty of services out there; like For example this service http://clickatell.com/products/gateway.php
They usually provide an API that you can use to integrate it with your servers.
You have some basic information on SMS Gateways available on Wikipedia here:
http://en.wikipedia.org/wiki/SMS_gateway
And a list of SMS Gateways available here:
http://en.wikipedia.org/wiki/List_of_SMS_gateways

Send SMS over IP

I hope to create a web server that can give some extra facilities for SMS Service Providers. Can I send SMS through internet? If its possible then, Are there any libraries for Send and Receive SMS over the internet?
There are many different options to send SMS over Internet, but most popular are the following:
Connecting to SMSC of mobile carriers directly (usually via SMPP protocol).
Connecting through some SMS aggregation service like Clickatell mentioned in previous answers.
Choice between these options depends mostly on non-technical issues:
Required coverage (mobile carrier will provide only messaging inside it's network).
Premium Rate billing possibility (this requires closer work with carrier).
Well, price too... :-)
Technically most popular options are:
Specialized protocols like SMPP (Short Message Peer to Peer).
HTTP based protocols provided by SMS aggregators.
If you need unified solution, I recommend to use Kannel open source SMS gateway that support many popular transports (SMPP, CIMD, UCP, HTTP, etc).
You've got www.Nexmo.com www.tropo.com www.twilio.com www.smsified.com ... and so on...
You can use http://www.clickatell.com/ which gives you a few options such as sending SMS one by one, or by using bulk files such as XML.
I found the clickatell API to be really usefull and easy, I managed to add SMS capability to an existing website in a few hours by creating a simple class to wrap up all the methods.
One thing to remember though this is not going to be free for you, there will be costs involved depending on where you send the text to, and where you are based.
You can send SMS programmatically through TheTexting API, They provide cheap rates and their service is really good.
Full disclosure: I work for company that makes this product.

GSM Modem is very slow. Sending 10 to 12 SMS Per Minutes [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am using nokia 5233 GSM Modem with SMS Caster. I want to send bulk SMS to my clients but my GSM Modem is very slow to do that. It is sending only 10 to 12 SMS Per minutes. I want to use my cell number and sim to send SMS but with very high speed. How cold I find an altrnate to my Cell's GSM Modem.
GSM Modems or phones are not designed for sending bulk messages at high rate. You will need to either get in touch with some bulk SMS providers or virtual-number providers that lets you do this. If you need a phone number to appear as sender-id in India, you will need to do this using a virtual number only.
I've been trying to send bulk messages via a GSM modem and found that the GSM network architecture makes clients incapable of sending more than ~10 sms/minute or, allegedly, ~30 sms/minute using GPRS. Exact limits depend on the modem/device, provider and reception. To send more, as was suggested already, you need to look into a (paid) gateway service connected directly to a messaging centre.
i had experience sending 40000 sms at once. to do this contact gsm operators directly. they can send about 50 sms per second via direct connection to sms center. usualy they have web interface connected to sms center, have ways to provide basic data about people (gender, day of birth etc). You upload phone database to web interface and fire up your delivery. you get wholesale price for your delivery
Yes, it is true that GSM/GPRS modems cannot send messages at a high rate. You would need access to an SMS Centre or SMS Gateway as mentioned here!
This is because of synchronous messaging model.
If you want to send 100 messages, only one thread will be executing this messaging sending activity.
In case you use python there is a multiprocessing module
http://docs.python.org/library/multiprocessing.html.
There will be similar method in your programming language.

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

Receive SMS messages by web application

We are building a web app that should be able to receive SMS messages and store the information contained in it in database.
Which methods have you used? Which service providers are out there that can assist?
http://www.clickatell.com/ are massive and it works exactly like it says on the tin. You pay for a phone number and sms messages sent to that end up hitting a URL on your site to deliver them just like someone posting a form.
I'd recommend using a service such as TextMarks. TextMarks is free, and lets you pick a keyword for your service that allows users to route messages to you through TextMarks' shared short code, 41411. The only catch here is that they reserve 20 characters in each message for short advertisements to pay for their services.
If you ever outgrow their ad-sponsored services, you can upgrade to a premium version that doesn't include ads.
Another (cheaper) alternative is to have your users send text messages to an email address like sms#yourapp.com. Then you can have a background thread that's looking at the email account and puts the messages into the database.
I've implemented and tested this approach with major US carriers with everything from smart phones to pay-as-you-go "crappy" phones without a hitch.
When the user sends the SMS to your email address you get the SMS email gateway address (e.g. 8055551234#vtext.net) so you can send response messages.
The only downside is that it's a bit more difficult to find the "send to email address" options on most phones, but it is (basically) free for you. This is especially helpful for reducing costs while testing out workflows. Those ~3 cents for each SMS add up pretty quickly, especially during automated testing.
When you want to support SMS numbers you can configure most SMS gateways to send an email to an address, so you won't have to change your infrastructure to support a "real" SMS messages.
I haven't done it yet, but I guess you could also setup an Asterisk system on your server, then get a regular VOIP acccount (which Asterisk hooks into) and configure the Asterisk server to forward all SMS to your application. This article might help setting up the Asterisk server.
I've had experience using MX Telecom as an SMS Gateway. Essentially they posted data to our web service every time we received an incoming SMS. The application in question was also sending SMS messages as well and we just did an http GET to a web page of theirs.
I can't speak to the business end (i.e. cost), as I was just in charge of implementing the features - but working with an SMS gateway is really very simple from a development perspective.
+1 on sebastian i was jsut writting pretty much the same
if you are working with ruby you might want to have a look at adhearsion
You can use SMS gateway software which will receive SMS messages through a GSM modem or 3G dongle connected to a PC and POST them to your website via HTTP. Eg: this software

Resources