How to send a sms from unix server - web-services

My query is,per day i will get approximately 500 mails from the unix server. some sort of mails are very critical and these critical mails are need to send to some mobile numbers.
Is there any plug-in need to install in unix server like "sendmail" to send a mail to desired people???
If so could any one please guide me where i need to download or get such kind of plug-in's.
I got a option while browsing through internet but it doesn't works. It is
echo "text-message" | mailx -s "test" #yourcarrier.(net/com)
"text-message" : message body
"test" : subject of message
My mobile carrier is Airtel and it belongs to chennai circle : 919840number#airtelchennai.com
number#airtelchennai.com
above both options i tried but i didn't receive any sms to my mobile.
Your help will be very useful for me...!!!
Regards,
Sreeni.

Buy a GSM serial modem. For example Siemens MC35i is good choice. The you can issue modem AT commands to send SMS. Or alternatively there's Gammu cmdline tool which you can use for sending messages. Gammu also support various GSM USB dongles. Finally order SIM with plan dedicated to sending SMS, to get best price.

Related

How does Twilio interface with Echo (Alexa) to transmit voice signals to and from another device?

I am trying to build an Alexa voice skill which will enable users to place VoIP calls to another device (not an Echo device but a mobile or phone) through an existing voice network (not Twilio' infrastructure) with an Echo device. I am quite clear on the implementation logic in AWS Lambda to initiate call to the receiving end. But what I am not clear on is how this voice signal is interfaced with Echo. From intensive research it is evident that Amazon Alexa doesn't have an SIP client to receive SIP calls. Apparently, Twilio has managed to do this. It has used its existing APIs to make calls through Echo. Its not very clear on how Twilio has managed stream the voice call back to an Echo device. I looked at Alexa's SDK but SDK is supposed to be used with 3rd party hardware not on an existing Echo unit. If someone could give me a few areas/topics to read up, it will be really helpful.
I think we are facing the some problem. I am trying to combine the Twilio Autopilot with Echo Skill. I was trying to collect some info using echo skill and then put them to our routing system which based on the twilio, then create a call back phone call to connect with phone though echo, then merge back to twilo programable voice, then I had fully control. But, the problem is :
echo can not handle inbound call except alxe to alxe call (drop in call, using alex app)
echo skill can not trigger call function. so you can only send message not real time steaming, and twilio also don't have sdk for echo to support it
so if you want communicate though echo, the only way is set up a number in your alxe apple contact with a "", and the number should be twilio programmable phone number, then you can control the request. But I have to say this is useless! because you can not do any thing with alxe, it just become a speaker and mic. :>

How to manage the received SMS's in a gsm modem connected to a pc?

i am working on a project that a computer should manage the data receiving as sms text in standard predefined coding from multiple senders. the senders are some embedded sytems that send error situations of a machine via sms messages.
i am an electronic engineer not software and i made the senders circuits those send the information (errors) to a central monitoring site.
therefore in the site should be a gsm modem connected to a pc which receives the messages and the pc should have a software to be able to read the messages from gsm modem and sort them and log them and give the operator some reports based on for example which kind of errors has been occurred more and etc.
my question is about developing this software to be able to read data from usb port and then manage them.
This will hardly define by the specification of your GSM modem.
Maybe this OP will help you :
How to communicate with GSM modem from c++ code
Many GSM modem use the AT command, see also GSM section on this page :
https://en.wikipedia.org/wiki/Hayes_command_set#GSM
and this :
output of AT command c++ code
and look at the at-command tag also

How to send SMS through 'Dongle' using C++

I have a USB dongle connected to my laptop which is used to get the internet connection. No need to say it has a sim card and it is possible to send/receive SMS as well. I want to know how can I get the SMS and send SMS using my own C++ windows program, through this SIM card. Is there a way to access the SIM card and do these? Any libraries? I haven't done any USB programming anyway.
Edit
I just found it is possible with something called "AT Commands" - How to Auto send SMS via Broadband USB dongle?
But the link in the answer is dead. Even though it is AT Command, which lib should I install in order to use it?
At (Attention) commands can be used to interact with the USB dongle. Each manufacturer has their own At-commands, so you will have to find out one which suits your model (mine was Huawei e173-u). Some of the common ones can be found in the Hayes command set :
Hayes Command Set (Wikipedia)
Introduction to At commands
You will need to find out which COM port your dongle uses from the Device Manager, then use a serial-port terminal like Putty to test out whether the commands are supported by your dongle. As the libraries developed for sending SMS's are mostly for .Net, you may need to use an SMS gateway instead.

How to receive SMS "from around the world" and save in website database?

From few months ago when i was using twitter, i was able to send twitter a SMS and when i go home and check my twitter page, i see the SMS i sent is on the website as a tweet. "That was great"
Now, i want to make the same in my website, so someone will send my website SMS as a command and my website will save this command in the db for future processing.
My problem that i don't know where to begin.
1- How users will send from around the world while there are different mobile companies in each country, or thats not a problem?
2- How my website will receive and read these SMS? there is a service for that?
3- Do you know any articles which simplify these tasks for me?
If someone worked on something like that before, please advice, any info will be helpful.
Contact your messaging provider, they will have solutions for each country they support.
In practice these things need to be agreed on a per-country bases (e.g. shortcodes etc), but the providers will do a lot to help.
Depending on what countries you want to cover, a single provider will probably do it - if you need absolutely every country with a mobile network, then you might need several, in which case integration is more complicated.
Typically they send either a HTTP POST, or a SMTP email to your server when they receive a message to your company's shortcode or shortcode prefix. But the integration options that exist are agreed per provider; there is no real standard or de-facto standard.
Well, first of all you need a sms-gateway. This is a service which you can buy a lot of places with varying prices. Your site can communicate with this gateway in different ways depending on the gateway-host.
Now, you can send messages to the number you bought on the sms-server and poll them (or push, again depending on your sms-provider) to your site. Just as with any other sms "IRL", you can use country codes to send a very costly SMS from around the globe. If you wish to keep this price lower, you need to rent a SMS-gateway which is internationalized or you need to rent one in each country...
.. In conclusion, doing this is not really a feasable option for your small "hobby-type" project :) Renting a SMS-gateway is rather cheap though, so the problem is really in your "multiple countries" request ..
I have created a web service for sending and receiving SMS messages. We are connecting through VPN to the SMS gateway of the local GSM operator: they have assigned us an public number as well as the option to send messages worldwide.
It doesn't matter if we send sms worldwide or receive from anyone - it just work :)
International sms might be a bit more expensive to send.
Edit:
theoretically there is a possibility to send sms thgrough an sip provider (like betamax /voipdiscount.com/) but this is not so fast and reliable comparing to traditional service.
I've had some success in the past with http://www.aspsms.com/
This is a paid service (per SMS) and be aware that you need to pay and FAX (yes, FAX...) your identity information to the before you get an API key.

Windows Mobile WAP Wakeup

could anyone please give me directions, or better - a working sample, of using the "WAP Wakeup" feature in Windows Mobile?
I'm trying to follow directions from http://msdn.microsoft.com/en-us/library/aa919167.aspx . Unfortunately, they only give the beginning of the solution.
Step 1: register your application to listen to SMS messages coming from a specific port.
Step 2: send an SMS message to that port
Step 3: the application opens up and sends a message to the application listener class window
Step 4: receive that message and bubble up an event
I am clueless about steps 2-4.. are those even the right steps?
I have not done this myself but I have worked in a simlar area.
There are two ways to send the WAP SMS Message (basically a binary Wireless Datagram Protocol (WDP) formatted binary SMS message)
By Phone using the WAP api.
Using a SMS gateway.
A SMS Gateway allows you to send sms messages from the internet. If you search on the web for SMS gateways you should get lots of them. Pick one that supports sending Binary SMS Messages.
As part of the WDP header you have to specificy a port number, which is the port number they go on about.
Before you send the sms message, you need to check with your cellular provider that they support binary sms messages, not all cellular networks do.
The rest of it is pretty much following the Microsoft Example:
Create the registry setting.
A WDP SMS messages arrives at the WDP layer on port WDPport1.
The WDP layer checks if the application is registered with the WDP
layer on Port Number WDPport1. In this
case, no application is registered.
The application checks the registry to determine if any application is
registered for WDP messages on Port
WDPport1., The application finds that
Chess.exe application is registered.
If Chess.exe is loaded, the application launches Chess.exe.
The chess application opens "ListenerWnd" Listener Window Class.
"ListenerWnd" receives a message with DWORD value
Chess.exe recognizes this message as an indication that a WDP message is
awaiting on port WDPport1 and
registers WDPport1 as it's own with
the WDP layer.
Chess.exe receives and processes the awaiting WDP message.
Chess.exe closes.
i sent a binary sms by all rules, created a registry settings, application... all as written at the Microsoft forum about WAP Wakeup... but when mobile receives sms, its directly goes into Inbox....
may by anybody can tell on which aspects a need to make a point.. because.. 3 days on this problem.. this is not good :-(