Based Pearl::SMPP::Server new release of our SMPP Server. It's a simple SMPP (SMSC) -> MySQL gateway.
It solves the task of receiving short messages via SMPP and translation in a simple database structure.
$ mysql -u root -p
> create database pearlsms;
> use pearlsms;
> source scheme.sql;
> create user 'smppd3'@'localhost' identified by 'superpassword';
> grant all on pearlsms.\* to 'smppd3'@'localhost';
> flush privileges;
[rad@rad smppd3]$ cat smppd3.conf
host=0.0.0.0
port=9900
system_id=PearlSMPP
dsn=DBI:mysql:database=pearlsms;host=localhost
db-user=pearlsms
db-secret=pearlsms
make
This command will cloning other required packages from github, but not all. Also you need to install system wide next packages: AnyEvent, Readonly,
yum install perl-AnyEvent
yum install perl-Readonly
yum install perl-Log-Log4perl
cd <where smppd3.conf located>
smppd3
or smppd3 --debug for verbose and debug mode
Logfile: /var/log/smppd3.conf PID: /var/run/smppd3.pid
kill -TERM `cat /var/run/smppd3.conf`
ALSO read SQLAPI.txt