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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • CiviSMS Callback functionality
Pages: [1]

Author Topic: CiviSMS Callback functionality  (Read 515 times)

colbyw

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
  • CiviCRM version: 4.2.4
  • CMS version: Drupal 7
  • MySQL version: 14.14
  • PHP version: 5.3.6
CiviSMS Callback functionality
September 25, 2012, 02:35:38 pm
Hello everyone,

I am trying to get Clickatell callback working on my test system. I found ticket CRM-9786 which described how to use callback but it appears in extern/sms.php that nothing is being sent to inbound(). Is this implemented in 4.2 or am I missing something?

Thanks.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: CiviSMS Callback functionality
September 26, 2012, 06:14:39 am
The callback url thats expected is something like : http://www.example.com/sites/all/modules/civicrm/extern/sms.php?provider=clickatell

If providing "provider=clickatell" in the url doesn't help, try this patch which is already in svn now & should be out with 4.2.2 - https://fisheye2.atlassian.com/changelog/CiviCRM?cs=42566
With this patch you can omit "provider=clickatell" in the url.

Also please update the docs here for any missing help - http://wiki.civicrm.org/confluence/display/CRMDOC42/Setting+up+a+SMS+Provider+for+CiviSMS as you learning / trying out this feature :)

thanks
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

colbyw

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
  • CiviCRM version: 4.2.4
  • CMS version: Drupal 7
  • MySQL version: 14.14
  • PHP version: 5.3.6
Re: CiviSMS Callback functionality
September 27, 2012, 07:34:47 am
Thanks Deepak, it wasn't working for me because I was setting the callback URL for the Clickatell API and not the Two-Way Number. From what I can tell, the extern/sms.php is built to work just with the Two-Way Number callback. Is there plans to expose the callback function in CRM/SMS/Provider/Clickatell.php needed for the API callbacks on message status?

Thanks

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: CiviSMS Callback functionality
September 27, 2012, 11:02:46 am
Yep right, inbound calls can only happen for Two-Way Number.

And yes we planning to expose callback function in CRM/SMS/Provider/Clickatell.php immediately. I'll be filing an issue shortly. Expect it to be out in 4.2.3.

Shouldn't be hard to write a handler for it in case you want to experiment. Would be similar to civicrm/extern/sms.php. 

FYI we using this doc - http://wiki.civicrm.org/confluence/display/CRM/CiviSMS to record suggestions / problems / current functionality.

thanks
« Last Edit: October 10, 2012, 04:36:29 am by Michael McAndrew »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: CiviSMS Callback functionality
September 28, 2012, 07:54:27 am
Filed an issues here - http://issues.civicrm.org/jira/browse/CRM-10945.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • CiviSMS Callback functionality

This forum was archived on 2017-11-26.