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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • SMS API Parameters
Pages: [1]

Author Topic: SMS API Parameters  (Read 6215 times)

Barnacle

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
    • White Fuse Media
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
SMS API Parameters
July 03, 2012, 08:34:54 am
Hi,

I'm trying to create an SMS Provider, but I can't seem to get the API parameters right. Is there any documentation on this?

For example, using HTTP API with the following in the "API Parameters" box:
user=<user>
password=<password>
api_id=<id>
to=
text=

I get back "Error 107: Empty Message." But I put a message in the CiviCRM message box, and I didn't think it appropriate to put a message in the Provider details box in System Settings.
--
http://whitefusemedia.com/

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: SMS API Parameters
July 05, 2012, 11:58:50 pm
Just api_id=<id> is enough. Dont keep anything else in parameters. Test mode is also supported which will require adding "is_test=1" to the parameters (messages don't go to the provider but rest of activities are followed).

And make sure api url is set to: http://api.clickatell.com

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

Barnacle

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
    • White Fuse Media
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: SMS API Parameters
July 09, 2012, 02:36:27 am
Thanks very much - I've now got this working :)
--
http://whitefusemedia.com/

Toeterniettoe

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
  • CiviCRM version: 4.6.alpha4
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.41
  • PHP version: 5.3.25
Re: SMS API Parameters
August 21, 2012, 06:59:21 am
I've configured the parameters as mentioned, but when I want to send an sms i get the following message after selecting a group en clicking "next":

DB Error: syntax error

When can be causing this error?

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: SMS API Parameters
September 12, 2012, 03:09:07 am
I'm unable to reproduce this error. Could you switch on debugging & backtrace and provide more details.

Also check if you can reproduce the problem on http://drupal.demo.civicrm.org.

You can use is_test=1 in api params for testing purpose (when you reproducing on demo) as documented here - http://wiki.civicrm.org/confluence/display/CRMDOC42/Setting+up+a+SMS+Provider+for+CiviSMS
« Last Edit: September 12, 2012, 03:10:38 am by Deepak Srivastava »
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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.2 Release Testing »
  • SMS API Parameters

This forum was archived on 2017-11-26.