Koha-clms/installer/data/mysql
Kyle M Hall 00c89d915b Bug 9021 - Add SMS via email as an alternative to SMS services via SMS::Send drivers
Nearly all cellular providers allow a person to send an text message to a cellular
phone by sending an email to phonenumber@provider. We can leverage this capability
to add the ability for Koha to send sms messages to patrons without the need to
subscribe to an sms gateway server.

Basic plan:
1. Add a table sms_providers to the db to tell Koha what service providers are available, and what domain emails should be sent to.
2. Add borrowers.sms_provider_id to tell Koha which mobile service the patron subscribes to for the number given in smsalertnumber
3. Modify Koha to send an email rather than using SMS::Send if the driver is set to 'Email'

Test plan:
0) Get a mobile phone
1) Apply the patch
2) Run updatedatabase.pl
3) Set the value of SMSSendDriver to 'Email'
4) Go to the admin page, the "Additional parameters" area should now have the link "SMS cellular providers"
5) On this page, add some providers. Make sure to add the provider for your own cellular phone service.

Here are some examples:
Sprint   phonenumber@messaging.sprintpcs.com
Verizon  phonenumber@vtext.com
T-Mobile phonenumber@tmomail.net
AT&T     phonenumber@txt.att.net

Only add the domain part in the 'domain' field. So for Verizon, that would be 'vtext.com'

6) Create an account for yourself, add your SMS number, and select your provider from the dropdown box directly below it.

7) Enable SMS messaging for Item check-in and Item checkout
8) Check out an item to yourself
9) Run process_message_queue.pl
10) Wait! You should receive a text message shortly, when I tested it, I received my sms message within the minute.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-14 12:40:04 +00:00
..
atomicupdate Bug 9021 - Add SMS via email as an alternative to SMS services via SMS::Send drivers 2016-02-14 12:40:04 +00:00
de-DE Bug 8753 [QA Followup] - Add notice to translations 2016-01-27 23:44:29 +00:00
en Bug 15411: Changing 'Non fiction' to 'Non-fiction' 2016-02-12 16:53:17 -07:00
es-ES Bug 15411: Changing 'Non fiction' to 'Non-fiction' 2016-02-12 16:53:17 -07:00
fr-FR Bug 8753 [QA Followup] - Add notice to translations 2016-01-27 23:44:29 +00:00
it-IT Bug 15411: More changes 2016-02-12 16:53:17 -07:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-01 15:22:27 -03:00
nb-NO Bug 8753 [QA Followup] - Add notice to translations 2016-01-27 23:44:29 +00:00
pl-PL Bug 15411: More changes 2016-02-12 16:53:17 -07:00
ru-RU Bug 8753 [QA Followup] - Add notice to translations 2016-01-27 23:44:29 +00:00
uk-UA Bug 8753 [QA Followup] - Add notice to translations 2016-01-27 23:44:29 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl
…
kohastructure.sql Bug 9021 - Add SMS via email as an alternative to SMS services via SMS::Send drivers 2016-02-14 12:40:04 +00:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 8753 - propagating the changes to kohastructure.sql and sysprefs.sql 2016-01-27 06:40:55 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 15411: DBrev 3.23.000.019 (part 2) 2016-02-12 17:00:52 -07:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 11569: Correcting typos in userpermissions.sql 2015-12-30 16:21:38 +00:00