LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-07-2014, 06:15 PM   #1
g_paschoal
Member
 
Registered: Oct 2009
Posts: 131

Rep: Reputation: 15
cloud server to receive incoming sms messages.


Hi Guys,

I wanted to check if some of you can tell me how do I get a sms message on my cloud server ?

I am working on a monitoring software, and the device will send sms message to share the location, let's say every 30 minutes. We know how to send messages, but how to receive these messages on a cloud server ?

Thanks for the help.
 
Old 09-07-2014, 06:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
- Phone (any working device with an activated SIM card?) attached to computer,
- SMS-to-email gateway,
- have your monitoring software offer a choice between SMS, email, smoke signals and coconut-carrying swallows?
 
Old 09-08-2014, 02:17 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,689

Rep: Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030
"Inbound" SMS is considerably more complicated than outbound as you effectively need your own unique MT (Mobile Terminated) number.

I'm assuming you want to use inbound SMS so that when someone gets an SMS alert that can send an acknowledgement back to your service.

The two main options for this are to use a phone or GSM modem attached to the physical server (so good luck with that if you're on cloud / virtual hosting!) or to use a third party service.

For the first, I've previously used a Siemens GSM modem device for this and some off the shelf SMS daemon software to do Nagios acknowledgements, worked really well.

For the second, look around and you'll find a few providers. One that I use personally (for outbound) and that my "day job" uses for inbound is Clickatel, who offer inbound SMS service and their prices are competitive for this type of product: https://www.clickatell.com/pricing-a...two-way-costs/
 
Old 09-08-2014, 07:25 AM   #4
g_paschoal
Member
 
Registered: Oct 2009
Posts: 131

Original Poster
Rep: Reputation: 15
To use a third party service is going to be very expensive because I will need to receive sms messages every 30 minutes.

The device will have GPS and GSM. With gps we will gather geolocation, and then send it to our server via sms and add to google map to show the location to the user. The solution then would be to build my own physical server. Do you know any online tutorial for that ? I google a little but couldn't find anything..

Thanks for the help
 
Old 09-08-2014, 07:40 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,689

Rep: Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030
Why not just use a GPS tracking device that can give coordinates etc. over GPRS/Mobile Data rather than rely on SMS.

SMS is unreliable as a transport mechanism. Also, if you pick a GPRS device then you could track it pretty much in "real time" rather than SMS in 30 minute intervals.

As for building your own server, pick a "server based" distribution like CentOS, there's millions of tutorials available for it.
 
Old 09-08-2014, 07:54 AM   #6
g_paschoal
Member
 
Registered: Oct 2009
Posts: 131

Original Poster
Rep: Reputation: 15
But how would I access gps information ? I mean, I am building my own frontEnd to let the users know the location of the device. So with GPS tracking device over GPRS, how I am going to send the information to my server in the cloud ? Sorry I did not understand.... I am more a programmer guy not a server / mobile expert.




Quote:
Originally Posted by TenTenths View Post
Why not just use a GPS tracking device that can give coordinates etc. over GPRS/Mobile Data rather than rely on SMS.

SMS is unreliable as a transport mechanism. Also, if you pick a GPRS device then you could track it pretty much in "real time" rather than SMS in 30 minute intervals.

As for building your own server, pick a "server based" distribution like CentOS, there's millions of tutorials available for it.
 
Old 09-08-2014, 08:06 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,689

Rep: Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030Reputation: 1030
Quote:
Originally Posted by g_paschoal View Post
I am more a programmer guy not a server / mobile expert.
If you're going to offer this as a "closed" service to clients, e.g. "Buy this service from us and we will supply the tracking device" then go read up on the various devices that are available and how to access them programmatically. Then you'll be able to decide on what the best device is to offer.


Or were you rather hoping to just have a "Sign up here and make your device send SMS to XXXXXXXXX to track it"?
 
Old 09-08-2014, 08:39 AM   #8
g_paschoal
Member
 
Registered: Oct 2009
Posts: 131

Original Poster
Rep: Reputation: 15
I am going with the #1 option.

Does this device have some kind of SDK ? So I can integrated it on my server ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GSM device for sending SMS messages: Siemens TC35 SMS Wireless Module UART/232 bicpen Linux - Hardware 1 01-12-2012 07:42 AM
what all is to be done in order to receive sms messages using kannel swarna_tripathi Linux - Newbie 1 11-22-2011 02:11 PM
Kannel - incoming SMS is not detected but outbound works edwinsky Linux - Networking 0 02-23-2009 12:56 AM
working 3g connection but how do I read incoming SMS rosv Linux - Networking 1 01-17-2009 12:28 PM
linux mail server cannot receive messages Rainel Linux - Newbie 19 01-11-2008 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration