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 »
  • is it possible to send SMS more than 160 character?
Pages: [1]

Author Topic: is it possible to send SMS more than 160 character?  (Read 6038 times)

tapash

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 0
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.1
  • PHP version: 5.3.3
is it possible to send SMS more than 160 character?
November 15, 2013, 02:39:49 am
I am able to send SMS unto 160 character. but not more than that? is there any possibility to increase the character? I am using clickatell..

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: is it possible to send SMS more than 160 character?
November 15, 2013, 03:05:02 am
If I had to guess this limitation might be on clickatell end, you should check their documentation

Kurund
Found this reply helpful? Support CiviCRM

tapash

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 0
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: is it possible to send SMS more than 160 character?
November 15, 2013, 03:36:11 am
Quote from: Kurund Jalmi on November 15, 2013, 03:05:02 am
If I had to guess this limitation might be on clickatell end, you should check their documentation

Kurund

Thanks Kurund. Just had a chat with clickatell support team. they say

Code: [Select]
you can do by adding HTTP query string. Add either one of the following parameters:
&concat=2 <up to 306 characters>
&concat=3 <up to 459 characters>
Please also see the example below:

http://api.clickatell.com/http/sendmsg?api_id=xxxx&user=xxxx&password=xxxx&to=xxxx&concat=2&text=xxxx
This is only if you have a Developer's central account

Now I am just a noob started using civicRM how can I find that out?

EDIT: I also noticed HTTP API is allowed to send 1-100 messages. but for bulk SMS they have SMTP method where they can send large amount of SMS. Is there any chance that CIVISMS can be send via SMTP API instead?
« Last Edit: November 15, 2013, 03:44:19 am by tapash »

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: is it possible to send SMS more than 160 character?
November 15, 2013, 03:46:50 am
160 is the technical limitation of the mobile network for SMS (less if you use éèñ chars).
There is a trick to send longer texts (multipart SMS), but beware that you are likely to be invoiced twice (or more) the price of "single" SMSes and that the handset receiving it might display it as several messages too.

X+
 
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: is it possible to send SMS more than 160 character?
November 15, 2013, 07:50:18 am
Quote from: tapash on November 15, 2013, 03:36:11 am
EDIT: I also noticed HTTP API is allowed to send 1-100 messages. but for bulk SMS they have SMTP method where they can send large amount of SMS. Is there any chance that CIVISMS can be send via SMTP API instead?

there are no plans for any major changes to CiviSMS in 4.5.  If your org can contribute code improvements and/or sponsor additional features to civisms that would be great

thanx

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

Detlev

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
    • Software für Engagierte e.V.
  • CiviCRM version: 4.5
  • CMS version: Drupal
Re: is it possible to send SMS more than 160 character?
November 15, 2013, 08:26:16 am
Quote
160 is the technical limitation of the mobile network for SMS (less if you use éèñ chars).
There is a trick to send longer texts (multipart SMS), but beware that you are likely to be invoiced twice (or more) the price of "single" SMSes and that the handset receiving it might display it as several messages too.

I strongly support this!

The abbreviation SMS comes from "short" message service. Even if newer handsets and smartphones might be able to display those double-SMS as one, you can never be sure, if that is the case for all of your recipients.

So: Keep your SMS short  ;D

tapash

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 0
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.34
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: is it possible to send SMS more than 160 character?
November 16, 2013, 12:27:07 am
Quote from: Donald Lobo on November 15, 2013, 07:50:18 am
Quote from: tapash on November 15, 2013, 03:36:11 am
EDIT: I also noticed HTTP API is allowed to send 1-100 messages. but for bulk SMS they have SMTP method where they can send large amount of SMS. Is there any chance that CIVISMS can be send via SMTP API instead?

there are no plans for any major changes to CiviSMS in 4.5.  If your org can contribute code improvements and/or sponsor additional features to civisms that would be great

thanx

lobo

thats actually a good idea  :). We are using civicrm for free. May be we can contribute something by improving it. I will speak to our experts if they can help....

Jon-man

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • Supporting voluntary action since 1975
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.28
  • MySQL version: 5.1.68-cll
  • PHP version: 5.3.18
Re: is it possible to send SMS more than 160 character?
October 01, 2014, 01:59:37 pm
There is a simple fix to this. Deepak has revealed all!
(the follow instructions relate to the org.civicrm.sms.clickatell extension)

You need to do a few things

1. Set the Clickatell API variable 'concat' in CiviCRM
On our site this is found in /civicrm/admin/sms/provider?action=update&id=1&reset=1

It should be set to the number of parts you want to send at most. I think you can send up to 35 parts but imo that is excessive, I've set "concat=3"

2. Modify the extension code
You need a bit of technical know how for this bit. Simply add the associative array element test for 'concat'. You will be able to see the same for the 'from' item, just copy and paste that and replace 'from' with 'concat'. Only three lines of code are added here.

Finally, take out the 160 from the substring function which strips the $message down to 160 characters. You should set this to something sensible. I've used strlen($message).

If you don't understand the above instructions, you probably shouldn't attempt this.

Hey, Presto. it works for me!

Jon-man

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: is it possible to send SMS more than 160 character?
October 03, 2014, 03:11:06 am
Hey Jon-man,

Do you think you could submit this back to core via a pull request?  Seems like this should not be something that everyone needs to customise every time they use the extension. Best to improve all sites, no?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviSMS »
  • is it possible to send SMS more than 160 character?

This forum was archived on 2017-11-26.