CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Sending text messages (SMS) and voice communications
Pages: [1]

Author Topic: Sending text messages (SMS) and voice communications  (Read 2202 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Sending text messages (SMS) and voice communications
February 23, 2010, 03:25:22 pm
I am trying to plan the best approach to allow text messaging ( SMS ) from CiviCRM.  My current plan is to implement the hook function:  hook_civicrm_searchTasks( ) so there is another action in the "Actions" menu.

I am looking at the APIs of 2 different SMS providers:
EZTexting  ( http://www.eztexting.com )
Twilio ( http://www.twilio.com )

Twilio looks promising in that they also allow PHP ( and other languages) to make voice calls. I think that would be a great tool within CiviCRM. Especially for events that are canceled/rescheduled due to snow, etc.

Both offer pay-per-message pricing as well as bulk pricing.


Thoughts?
« Last Edit: February 23, 2010, 03:26:58 pm by sgladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Sending text messages (SMS) and voice communications
February 23, 2010, 03:38:16 pm
This is a link to a simple code sample of a Twilio call made from a PHP script:
http://mikehillyer.com/reviews/twilio-rolling-my-wifes-eyes-in-31-lines-of-php/
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Sending text messages (SMS) and voice communications
February 23, 2010, 04:10:41 pm

might also want to check:

http://madeout.blogspot.com/2009/06/sending-tokenized-sms-with-drupal-to.html

might be easier to piggyback on drupal's sms framework to begin with

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Sending text messages (SMS) and voice communications
February 23, 2010, 04:21:47 pm
That approach looks interesting, but I need this to work with Joomla too. 
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Sending text messages (SMS) and voice communications
February 23, 2010, 04:31:17 pm

might want to send a PM to andrew perry (andrew). He has some code that does SMS stuff via clickatell (the protocol can be abstracted away quite easily)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Sending text messages (SMS) and voice communications

This forum was archived on 2017-11-26.