Koha-clms/members
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
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-27 05:10:38 +00:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
discharge.pl Bug 15353: Display the patron image where needed 2016-01-27 17:00:03 +00:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
member-flags.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-23 19:15:08 +00:00
member.pl Bug 7380: Rename filter to avoid confusion 2015-05-19 10:10:31 -03:00
memberentry.pl Bug 9021 - Add SMS via email as an alternative to SMS services via SMS::Send drivers 2016-02-14 12:40:04 +00:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 14763: Calculate and display patron age 2016-01-27 06:10:13 +00:00
nl-search.pl Bug 14038: Make nl-search.pl not using C4::Members::Search 2015-05-15 15:37:09 -03:00
notices.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 15353: Display the patron image where needed 2016-01-27 17:00:03 +00:00
paycollect.pl Bug 15353: Display the patron image where needed 2016-01-27 17:00:03 +00:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 14926: Format the date according to the dateformat syspref 2015-10-19 09:58:17 -03:00
printinvoice.pl Bug 15621: Spelling mistake in printinvice.pl 2016-01-27 05:11:50 +00:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
readingrec.pl Bug 15096: Export today's checked in barcodes: Display warning if reading history is set to "never" 2016-01-27 06:02:43 +00:00
routing-lists.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
summary-print.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00