GAMMU integrated with Civicrm for sending SMS

Opublikowane
2008-09-11 04:30
Written by
haggan - member of the CiviCRM community - view blog guidelines
Iam using drupal 5.10 and civicrm 2.0 on a server that I maintain. The server is running Scientific Linux 5.2 and I have compiled Gammu version 1.20.0 on it. http://www.gammu.org is "Free tools and software for cellular devices and phones". I can use it for sending SMS via a old cellular phone in my case an Sony Ericsson T290i connected with the usb cable DCU-11. I have set up Gammu to use an mysql db for reciving and sending sms. I then copied the "send mail to contact" Task and added my own version but change it to "send sms to contact" and I then use gammu for sending the sms. Some help from this page http://wiki.civicrm.org/confluence/display/CRMDOC/How+to+Add+Actions+to+the+Contact+Search+Dropdown . Integrating it with civicrm is really cool I can use all of civicrms tokens to put it in my sms. I use a cheep phone card with a lot of free sms in my phone so I sort of got my own SMS gateway integrated into Civicrm. Right now I have no way for getting sms into civicrm if some one reply on an sms It is stored in Gammus sms DB and a mail is sent to me with the number and message. It would be really cool to have an opt in opt out thing with sms also. I will look in to that later perhaps. Conclusion Civicrm and Gammu is a easy, cheep and good way to contact people via SMS. I will try to write down what I have done.
Filed under

Comments

any chance you can share the code under an open source license? If so, can you create a wiki page under here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Third+Party+Modules

and add a description along with the code

thanx

lobo

Just need to get the time for it! And Perhaps need to clean it up and create more of a standalone module. But I have it on my to do list.

Anonymous (niezweryfikowany)
2008-09-11 - 08:58

One of our clients would be very excited about this functionality--any documentation you can do will be GREATLY appreciated. Also, if you can assign my team a task I can have my programmer look at it to help move this forward. Awesome!

What is most important the civicrm code or the whole phone connection with gammu?

Anonymous (niezweryfikowany)
2008-09-26 - 09:08

It would be great to have this documented - it would be useful for many people.

In addition, I really think that the SMS linkages through existing Drupal modules and Joomla extensions make sense rather than a purpose built CiviSMS.

But it was the easiest way to do this for me right now!

I have written down my code http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=9437234
it is not so good but I dont really have the time right now! But I will try to help as much as I can to help intigrate gammu with drupal module and civicrm!