How to send SMS via OpenEdge 10.2B - sms

I'm a beginner to this language. Please if anyone know a way to send SMS via Openedge 10.2B using a dongal or a modem. please educate me.
Thank You.

The only real way I know how to do this would be to write some code in another language to interface with the dongle or the modem and the then call that from within OpenEdge. You can't do it natively.

Normally you would communicate to the SMS provider via some sort of API. Without this information it is not possible to answer your question. Also relevant, do you want to send the SMS's from the client or the server (does that matter)?

Related

Creating a Server for phone or sms

This is my newest project which consists of making a Server for phone and sms. I would like to do something like google talk where one would be able to make calls and receive calls or even text through the internet.
I would than be able to connect a land line phone or even just a microphone and call my cellular and talk. Otherwise just sending a sms message through the internet to my cell would be awesome as well.
Any Reference or guides would be much appreciated.
Notes:
Yes I know there are websites that do these things. Not what I am asking.
I got a Windows Server 2008 r2 setup at home.
I think I am a decent programmer, enough to be able to program this if I have some clue what I should be searching for.
Do not tell me it is impossible, as not too long ago I saw usb hardware that allowed to make calls over the internet (I know it's more complicated than that but I want to have this knowledge)
Okay, as others have already suggested, Asterisk is one the most obvious ways to go. Some time ago we created an online solution which allows most of the things that you have described, voip calling, dial plan generation, pbx, connection with landlines, sms sending, payments.
Tools used:
- LAMP (linux, apache, mysql, php)
- Asterisk
- OpenSer (http://en.wikipedia.org/wiki/OpenSER)
- 3rd party for SMS sending
- 3rd party for billing.
For phone you have two options:
not buying hardware and use voip. You can use some voip to land line gateways. There are many ways for achieving that. The most "professional" would be buying did number: http://www.voip-info.org/wiki/view/DID+Service+Providers. But there are other ways for example using skype api.
second option is connecting server to landline using special hardware - http://www.voip-info.org/wiki/view/FXO
Probably the funniest part would be writing webgui since writing PBX part could be little tricky. You should consider using Asterisk (free, Open Source) - Linux or 3CX (non-free) - Windows.
Regarding sms:
You can use sms gateway i.e.: http://www.clickatell.com/
You can buy gsm modem to your server
For the SMS part there is the SMSLib (http://smslib.org/), where you can use an attached phone to send and receive SMS.
You could provide a webinterface to write and read the SMS then of course, that would be the easier part.
For the calling I don't know, but it should be possible too. I know there are GSM chips for e.g. arduino but I guess it is very hard to reroute them to the application on the server. It could be possible with a short delay though.
Another option is to look into a VOIP library, e.g. Asterisk (http://www.asterisk.org).

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 Send and Receive SMS through application? [closed]

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.

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