Send and Receive SMS from a django app

276 views
Skip to first unread message

Alessandro Ronchi

unread,
Jan 13, 2010, 7:53:17 AM1/13/10
to django...@googlegroups.com
Is it possible with linux and django to send and receive data from SMS from a django APP? Did anyone managed to do that?

--
Alessandro Ronchi

http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source

http://hobbygiochi.com
Hobby & Giochi, l'e-commerce del divertimento

Daniel Hilton

unread,
Jan 13, 2010, 7:55:21 AM1/13/10
to django...@googlegroups.com
<point>
http://www.rapidsms.org/
</point>

2010/1/13 Alessandro Ronchi <alessand...@soasi.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Dan Hilton
============================
www.twitter.com/danhilton
www.DanHilton.co.uk
============================

jenlu

unread,
Jan 13, 2010, 8:28:07 AM1/13/10
to Django users
RapidSMS is - if I can read it correctly - basically a GSM modem hw
and
some django stuff around it. So you install it on your hw and then
send your own SMS. Still, sort of 'old-school' ;-)

We have done it by interfacing our django app towards an SMS GW
provider
(actually both SMS, MMS and sending/recieving). There are several out
there and the trick will be to find someone with a decent priceplan
that
fits your traffic volume and that can send out SMS in the region you
want to send them in. This later part is especially important if you
want
the reciever to reply back or issue some type of commands - then you
want
them to send to a local e.164 number and not some out-of-country
(both expensive and they will be reluctant to do it).

For the nordic region (Sweden, Norway...) you can contact www.imez.se.
They actually have a decent priceplan all over europe if you only want
to send out SMS. To recieve you will get a local swedish number to.

mvh / Jens

On 13 Jan, 13:55, Daniel Hilton <daniel.hil...@gmail.com> wrote:
> <point>
>      http://www.rapidsms.org/
> </point>

jenlu

unread,
Jan 13, 2010, 8:28:19 AM1/13/10
to Django users

Tran Cao Thai

unread,
Jan 13, 2010, 8:00:11 AM1/13/10
to django...@googlegroups.com
Wow, there is an answer after 2 mins. This community really rocks :D

tback

unread,
Jan 13, 2010, 8:29:37 AM1/13/10
to Django users
Hi Alessandro,

yes, it's possible to send sms messages (I use this myself every day)
and to receive sms messages (that's an assumption).
The easiest way is through a sms gateway.
http://www.celltrust.com/ is a provider that advertisises two way
messaging.

cheers, Till

On Jan 13, 1:53 pm, Alessandro Ronchi <alessandro.ron...@soasi.com>
wrote:

Alessandro Ronchi

unread,
Jan 14, 2010, 6:02:30 AM1/14/10
to django...@googlegroups.com
On Wed, Jan 13, 2010 at 2:29 PM, tback <ti...@backha.us> wrote:
Hi Alessandro,

yes, it's possible to send sms messages (I use this myself every day)
and to receive sms messages (that's an assumption).
The easiest way is through a sms gateway.
http://www.celltrust.com/ is a provider that advertisises two way

I cannot use an SMS gateway for my app (I must use a SIM and an hardware modem).

Does RapidSMS include SMS receiving?

Thanks in advance.

Daniel Hilton

unread,
Jan 14, 2010, 6:26:28 AM1/14/10
to django...@googlegroups.com
2010/1/14 Alessandro Ronchi <alessand...@soasi.com>:

>
>
> On Wed, Jan 13, 2010 at 2:29 PM, tback <ti...@backha.us> wrote:
>>
>> Hi Alessandro,
>>
>> yes, it's possible to send sms messages (I use this myself every day)
>> and to receive sms messages (that's an assumption).
>> The easiest way is through a sms gateway.
>> http://www.celltrust.com/ is a provider that advertisises two way
>
> I cannot use an SMS gateway for my app (I must use a SIM and an hardware
> modem).
>
> Does RapidSMS include SMS receiving?
>
> Thanks in advance.

Yep take a look at this:

http://www.rapidsms.org/code/architecture/

You'll need a GSM modem though.

Cheers,
Dan

>
>
>
> --
> Alessandro Ronchi
>
> http://www.soasi.com
> SOASI - Sviluppo Software e Sistemi Open Source
>
> http://hobbygiochi.com
> Hobby & Giochi, l'e-commerce del divertimento
>

Alessandro Ronchi

unread,
Jan 14, 2010, 9:22:04 AM1/14/10
to django...@googlegroups.com


On Thu, Jan 14, 2010 at 12:26 PM, Daniel Hilton <daniel...@gmail.com> wrote:

You'll need a GSM modem though.


Perfect!

Are all RSR232 GSM modems compatible with pygsm, or everyone needs a proprietary or different library to be used?

Chris Withers

unread,
Jan 17, 2010, 1:18:47 PM1/17/10
to django...@googlegroups.com
Alessandro Ronchi wrote:
> I cannot use an SMS gateway for my app (I must use a SIM and an hardware
> modem).

Why? This is not a sane requirement for a web app...

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk

Alessandro Ronchi

unread,
Jan 18, 2010, 4:15:03 AM1/18/10
to django...@googlegroups.com
On Sun, Jan 17, 2010 at 7:18 PM, Chris Withers <ch...@simplistix.co.uk> wrote:
Alessandro Ronchi wrote:
I cannot use an SMS gateway for my app (I must use a SIM and an hardware modem).

Why? This is not a sane requirement for a web app...

Chris

Because of the number of the SMS I must write. I need a web app that makes intense use of SMS without any external dependences (like Unicef app).

Chris Withers

unread,
Jan 22, 2010, 5:03:51 PM1/22/10
to django...@googlegroups.com
Alessandro Ronchi wrote:
>
> Because of the number of the SMS I must write. I need a web app that
> makes intense use of SMS without any external dependences (like Unicef
> app).

If you want to send a *lot* of sms'es then you definitely want to be
using a gatway sending service rather than trying to rack up a load of
cell phones and writing to them...

Reply all
Reply to author
Forward
0 new messages