App::RemoteGnokii - Send SMS over the internet with gnokii-smsd
use App::RemoteGnokii; my $config_option = App::RemoteGnokii::cfg 'name'; App::RemoteGnokii::sendsms '0755555555', 'Hello world'; App::RemoteGnokii::action('0755555555', '2014-02-01', 'Goodbye');
RemoteGnokii is a set of scripts that add networking to gnokii-smsd. With them, all messages received are forwarded to a given phone number, and messages can be sent via the HTTP gateway provided by RemoteGnokii.
See below for the location of the configuration file. The following options are recognised:
Forward incoming messages to this number (used by rg-action).
The password needed to send a message with rg-psgi and included in forwarded messages.
The gnokii-smsd spool directory. Needs to be readable and writable by gnokii-smsd and rg-psgi.
The basename of the configuration file. For example, if the configuration file is '/srv/rg/config.yml', RGCONF should be set to '/srv/rg/config'. Defaults to '/etc/rg'.
Marius Gavrilescu <marius@ieval.ro>
Copyright (C) 2014 by Marius Gavrilescu
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
To install App::RemoteGnokii, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::RemoteGnokii
CPAN shell
perl -MCPAN -e shell install App::RemoteGnokii
For more information on module installation, please visit the detailed CPAN module installation guide.