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) »
  • Support »
  • Using CiviCRM »
  • Using CiviSMS »
  • Inbound SMS
Pages: [1]

Author Topic: Inbound SMS  (Read 1365 times)

Guy Iaccarino

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 5
    • Greenleaf Advancement
  • CiviCRM version: 4.4.10, 4.5.4
  • CMS version: WordPress 4, Drupal 7, Drupal 6, Joomla 3
  • MySQL version: 5.5
  • PHP version: 5.3
Inbound SMS
September 18, 2013, 04:43:54 am
I have a client for whom we've set up Clickatell as the SMS provider. We have the outbound SMS piece working, but it's not clear to me that the inbound SMS is working.


I'm assuming that if someone texts in, that if Civi finds that number in the database that it would attach that inbound text to that contact record. Am I correct in that assumption? And is there anything special I need to do to make that happen?


Thanks!
Guy Iaccarino
www.greenleafadvancement.com

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Inbound SMS
September 18, 2013, 07:33:08 am
Yes, you are right with your assumption - All received sms are created as activities in civicrm against the TO and FROM contacts.

This requires some configuration, after you have signed up for two-way messaging service - Check "Handling replies" section of http://wiki.civicrm.org/confluence/display/CRMDOC/Setting+up+a+SMS+Provider+for+CiviSMS.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Inbound SMS
September 30, 2013, 07:55:44 am
The site in question is Drupal 7 with CiviCRM 4.3.3 and the wiki suggests using:

/sites/all/modules/civicrm/extern/sms.php?provider=clickatell

but sms.php doesn't exist in 4.3.3 nor in 4.3.6. The wiki also mentions using

/civicrm/sms/callback?provider=clickatell

but if I open that URL directly in the browser with no other parameters, I get:

Code: [Select]
Sorry but we are not able to provide this at the moment.
Could not locate extension for clickatell.

Return to home page.

even though Clickatell is installed and outgoing SMS works fine. The wiki further suggests that the "?provider=clickatell" part is not required and if I remove that and load it I get:

Code: [Select]
Sorry but we are not able to provide this at the moment.
Provider not known or not provided.

Return to home page.

I realize this URL is not meant to be loaded in the browser, but anyhow Guy's site and Clickatell account appear to be configured correctly (using /civicrm/sms/callback?provider=clickatell) but incoming SMS's which are received by Clickatell are not being posted to CiviCRM.

Any further suggestions?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ravish

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7.19
  • MySQL version: 5.5.29
  • PHP version: 5.4
Re: Inbound SMS
October 01, 2013, 03:33:15 am
Hi,

In 4.3, the SMS providers (clickatell, twilio) were turned into extensions. So now, the provider param in the url will expect its value to be the extension key i.e. org.civicrm.sms.clickatell in our case, instead of clickatell. So now, the provider param of the callback url becomes

/civicrm/sms/callback?provider=org.civicrm.sms.clickatell

I have updated the wiki page for the same. Could you check if this works for you?

Guy Iaccarino

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 5
    • Greenleaf Advancement
  • CiviCRM version: 4.4.10, 4.5.4
  • CMS version: WordPress 4, Drupal 7, Drupal 6, Joomla 3
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Inbound SMS
October 01, 2013, 01:49:48 pm
Thanks ravish! That did the trick.


Allow me to get a little excited here, but CiviSMS is SO COOL. Thanks everyone for helping me to get this up and running.


Guy
Guy Iaccarino
www.greenleafadvancement.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviSMS »
  • Inbound SMS

This forum was archived on 2017-11-26.