From be5ac97a4c3401e9310c554f7e238dfa1cf95189 Mon Sep 17 00:00:00 2001 From: "Indranil Das Gupta (L2C2 Technologies)" Date: Sun, 21 Jan 2018 17:19:17 +0530 Subject: [PATCH] Bug 16188 - SMS via email not applicable in India due to telecom regulation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch is applicable only for Indian users of Koha Scenario : Under Indian law, transactional bulk SMS sending requires pre-registration and approval of message templates with the Telecom Regulatory Authority of India (TRAI). Most Indian telcos do not offer this facility and even if offered, use of the feature introduced by Bug #9021 may expose the user to serious civil and criminal liability due to unsanctioned use. More details over here - https://lists.katipo.co.nz/pipermail/koha/2016-April/045124.html. This patch informs users setting up their SMSSendDriver to "Email" that this feature won't work in India. And even if they do this, it reiterates this again at Home › Administration › SMS cellular providers. Test plan ========= 1/ Apply the patch 2/ Check if warning is displayed when setting up the SMSSendDriver syspref as as well when accessing 'SMS cellular providers' under 'Administration -> Additional parameters' --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref index 5591aa18f8..865fb6af5b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref @@ -129,7 +129,7 @@ Patrons: - - "Use the SMS::Send::" - pref: SMSSendDriver - - driver to send SMS messages. + - driver to send SMS messages. (Do not set this to 'Email' if you are in India)
- "Define a username/login" - pref: SMSSendUsername - "and a password" diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt index 15c4de2ed5..b4158299ee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt @@ -55,7 +55,8 @@ [% ELSE %]
- There are no SMS cellular providers defined. + There are no SMS cellular providers defined.

+ This feature does not work if you are in India
[% END %] -- 2.11.0