473,486 Members | 2,401 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Processing SMS Application

Hello,

I want to write an application that can accept and process sms
messages sent to it from cell phones.

But I have no idea how to setup and link a specific phone number to my
application. I searched this group and found numeous posts about how
to send out sms messages but not how to accept them.
If anyone could point me to the right direction i would greatly
appreciate it.

Cheers,
Justin

May 30 '07 #1
6 2512
justinblake wrote:
I want to write an application that can accept and process sms
messages sent to it from cell phones.
The easiest way is to buy a cheap mobile phone and place it in the server
room. Plug it in to the wall so that it doesn't run out of batteries, and
switch Bluetooth on. Then buy a USB Bluetooth dongle for your server --
usually about £10-15.

Now you write a script that polls your phone for new messages, does
something with them (e.g. inserts them into a database), and then deletes
them off the phone. Depending on how often you expect to receive new
messages, set cron to run this script every 1, 5, 15 or 30 minutes.

Writing the script is the hard part, but open source tools like gnokii make
it a bit easier.

If you're using a shared server, then the cheap solution above will likely
not work, as you won't have physical access to the server. You'll probably
need to find a third-party SMS-to-email gateway, and then write a script
to poll a POP3 e-mail account.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 16:02.]

Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/0...tive-surnames/
May 30 '07 #2
ju*********@mailinator.com wrote:
Hello,

I want to write an application that can accept and process sms
messages sent to it from cell phones.

But I have no idea how to setup and link a specific phone number to my
application. I searched this group and found numeous posts about how
to send out sms messages but not how to accept them.

If anyone could point me to the right direction i would greatly
appreciate it.
As Toby pointed out, you could get a mobile phone and attach it to your
server. But a simpler way is to hook up with an SMS gateway service
that supports incoming and outbound (two-way) SMS.

I've been quite satisfied with these:
http://www.clickatell.com/

More specifically, you'd be looking for this service:
http://www.clickatell.com/products/two_way.php

They're based out of South Africa, but they also offer shortcodes in
the USA.

--
Kim André Akerø
- ki******@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
May 30 '07 #3
ju*********@mailinator.com kirjoitti:
Hello,

I want to write an application that can accept and process sms
messages sent to it from cell phones.

But I have no idea how to setup and link a specific phone number to my
application. I searched this group and found numeous posts about how
to send out sms messages but not how to accept them.
If anyone could point me to the right direction i would greatly
appreciate it.
You might want to check this out:
Kannel: Open Source WAP and SMS gateway
http://www.kannel.org/

That's what we use in our business. Basicly the sms' are transformed
into http requests, and whatever you reply is sent in return message, so
you can route them to a php page, handle the message with php and
respond something. You should ask your local SMS operators.

--
Ra*********@gmail.com

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
May 30 '07 #4
Thanks everyone for all the great info.

All of your input is a great help,

Cheers,
Rob
May 30 '07 #5
>Now you write a script that polls your phone for new messages, does
>something with them (e.g. inserts them into a database), and then deletes
them off the phone. Depending on how often you expect to receive new
messages, set cron to run this script every 1, 5, 15 or 30 minutes
Hi Toby,

Any examples of such scripts?

Cheers

"Toby A Inkster" <us**********@tobyinkster.co.ukwrote in message
news:9u************@ophelia.g5n.co.uk...
justinblake wrote:
I want to write an application that can accept and process sms
messages sent to it from cell phones.

The easiest way is to buy a cheap mobile phone and place it in the server
room. Plug it in to the wall so that it doesn't run out of batteries, and
switch Bluetooth on. Then buy a USB Bluetooth dongle for your server --
usually about £10-15.

Now you write a script that polls your phone for new messages, does
something with them (e.g. inserts them into a database), and then deletes
them off the phone. Depending on how often you expect to receive new
messages, set cron to run this script every 1, 5, 15 or 30 minutes.

Writing the script is the hard part, but open source tools like gnokii
make
it a bit easier.

If you're using a shared server, then the cheap solution above will likely
not work, as you won't have physical access to the server. You'll probably
need to find a third-party SMS-to-email gateway, and then write a script
to poll a POP3 e-mail account.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 16:02.]

Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/0...tive-surnames/

May 30 '07 #6
Johny Begood wrote:
Any examples of such scripts?
Afraid not. I've written such things for polling POP3 accounts in the
past. The principle is the same; only the protocol is different.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 96 days, 5:03.]

Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/0...tive-surnames/
May 30 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
6974
by: gj | last post by:
I have an application in Access 97 I will be rewriting in the latest version of Access in 6 months. In the meantime, does anyone know of an ActiveX control I can add into an Access 97 form to...
8
12761
by: Jimbo | last post by:
I'm working on a win app that reads and processes each line of an ascii file until the end of the file. Since the file's 1.6 million lines long, after a while Windows displays the "Not Responding"...
8
3259
by: Raed Sawalha | last post by:
I have form with progress bar ,when application begin processing and progress bar moving if I minimized the form and try to restore it ,it is not showing until the processing completed ,how can I...
2
1485
by: Luiz Vianna | last post by:
Hi folks, I got a problem that certainly someone had too. After a user request, I (my server) must process a lot of data that will expend some time. During this process I must inform the user...
2
7225
by: devendra pardeshi | last post by:
hi friends/seniors i am stuck on one problem in VB 6.0 and need solution. see if u can help me. first i describe the problem. Can u imagin the WinZip scenario. we right click on some file...
6
4957
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
4
2092
by: hzgt9b | last post by:
Using VB .NET 2003, I have a windows application that performs a series of file actions (copy, move, delete) but the actions are completing before the window is painted on the screen... how can I...
0
5124
by: Kalpesh | last post by:
Hi All, I am using .net crystal reports to develop the reports. The version of crystal report assemblies is 10.2.3600.0. When i run the reports i got following error. #region Retry Report...
6
2946
by: Mark | last post by:
I'm building a web utility to do some processing that will run for several hours. Assume I have a valid reason for using the web for the utility. During the process I'd like to display an update...
14
1487
by: Rex | last post by:
Re: Looking for Tips/Writeup on overall approach to Exception Processing Hi All - I am fairly new to C# and am wondering how to best implement (overall) Exception Processing within my...
0
7132
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7180
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.