From 53b3b1d30258df9ec7b80cc541bd6052c905a1dc Mon Sep 17 00:00:00 2001 From: "Indranil Das Gupta (L2C2 Technologies)" Date: Tue, 23 Jan 2018 04:07:22 +0530 Subject: [PATCH] Bug - 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' https://bugs.koha-community.org/show_bug.cgi?id=16188 Signed-off-by: Brendan Gallagher --- 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 fe4da67..8d6a668 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 04331b5..952478f 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.1.4