Splitting up the server from the messaging

68 views
Skip to first unread message

K

unread,
Jan 31, 2012, 1:49:35 AM1/31/12
to rapidsms
We have RapidSMS installed on a hosted server, but we'd like to plug
the USB modem into an in-house server. Is there a way to configure
RapidSMS to talk to this server and use that for sending/receiving
messages?

Tobias McNulty

unread,
Jan 31, 2012, 7:33:04 AM1/31/12
to rapi...@googlegroups.com
Hello,

This is possible by setting up Kannel on the in-house server to talk to the USB modem, and then setting up Kannel/RapidSMS to talk to each other via HTTP over the internet.  It's not much different than setting up Kannel on the same machine as RapidSMS; you just need to ensure that both your firewall and your user-allow-ips setting (in Kannel) are setup to allow traffic from the remote hosts.  Here's a sample configuration:


Good luck!

Tobias
--
Tobias McNulty, Managing Member
Caktus Consulting Group, LLC
http://www.caktusgroup.com

K

unread,
Feb 8, 2012, 12:50:32 AM2/8/12
to rapidsms
Hi Tobias -

What is Kannel? This is the first time I've seen anything regarding
this product anywhere, so am now a bit more confused...

Kay

On Jan 31, 4:33 pm, Tobias McNulty <tob...@caktusgroup.com> wrote:

Tobias McNulty

unread,
Feb 8, 2012, 9:00:02 AM2/8/12
to rapi...@googlegroups.com
On Wed, Feb 8, 2012 at 12:50 AM, K <mehmet...@gmail.com> wrote:
What is Kannel?  This is the first time I've seen anything regarding
this product anywhere, so am now a bit more confused...

For our purposes Kannel is an SMS gateway that can easily be configured to talk to RapidSMS over HTTP.  Personally I've found it to be more reliable than PyGSM for connecting directly to a modem [1], but your mileage may vary.  It also provides seamless integration with SMPP gateways that can sometimes be obtained from telcos.  There's a "kannel" package in Ubuntu that you can install to get it running, and you can find out more on the Kannel website [2].  The gist I posted [3] shows both the Kannel configuration and RapidSMS settings necessary to get it working.

Somehow it doesn't look like we have a How To in the docs on setting up RapidSMS with Kannel yet, so I'll put something together in the next few days and post it to our lovely new documentation site on readthedocs.

Cheers,
Tobias

Tobias McNulty

unread,
Feb 15, 2012, 11:39:06 AM2/15/12
to rapi...@googlegroups.com
On Wed, Feb 8, 2012 at 9:00 AM, Tobias McNulty <tob...@caktusgroup.com> wrote:
Somehow it doesn't look like we have a How To in the docs on setting up RapidSMS with Kannel yet, so I'll put something together in the next few days and post it to our lovely new documentation site on readthedocs.

Hey all,

As promised, I put together some instructions for getting Kannel to work with RapidSMS and added them to the repository docs:


Please take a look and let me know if you run into trouble at any point!

Cheers,
Tobias

Lengani Kaunda

unread,
Feb 15, 2012, 3:08:08 PM2/15/12
to rapi...@googlegroups.com
Thanks Tobias!

Best regards,

Lengani

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

ashok!!!

unread,
May 21, 2012, 8:19:50 AM5/21/12
to rapi...@googlegroups.com, len...@gmail.com
i got struck at one point.......
i didnt get the message "INFO: Got message 1: <123 123 text hi>"
when i typed "/usr/lib/kannel/test/fakesmsc -m 1 "123 789 text echo hi" "
any clue wat went wrong??
Thanks Tobias!

Best regards,

Lengani

To unsubscribe from this group, send email to rapidsms+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages