[Koha-bugs] [Bug 13029] Allow to pass additional parameters to SMS::Send drivers
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 10 15:41:17 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13029
Magnus Enger <magnus at libriotech.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #56103|0 |1
is obsolete| |
--- Comment #19 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 56104
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56104&action=edit
[SIGNED-OFF] Bug 13029: Allow to pass additional parameters to SMS::Send
drivers
C4::SMS::send_sms now reads a YAML file and pass all parameters in the
file to SMS::Send::new.
The config file is read in <installdir>/etc/sms/driver/<driver>.yaml.
For instance, if the driver used is SMS::Send::UK::Kapow, the config
file has to be in <installdir>/etc/sms/driver/UK/Kapow.yaml
A underscore character is prepended to all parameter names so they are
treated as driver-specific options (leading underscore must not appear
in config file).
Signed-off-by: Magnus Enger <magnus at libriotech.no>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list