OZEKI SMS SMS sending over the
Internet: CIMD2 - SQL
This application can be used to send and receive SMS messages. The software
uses the CIMD2 protocol to communicate with the SMS Service Center
(SMSC) of the GSM provider. The incoming messages are stored by the application
in a database (e.g.: MySql, PostgresSql, Sybase,etc...) table.
The outgoing messages are took from the same database by a periodical
lookup. If we would like to send an SMS all we have to do is create a
record in another database table. The incoming messages are automatically
Only one process is activated
- it handles status reports
- can be
run by any user account, no administrator privileges are need,
as a daemon
a log file
The package contains the following components:
The main application, that communicates with the
service provider and the local database server.
A configuration text file, which contains all the
information needed to connect to the SMSC and the
The database table definition for MySql database
The installation is a very simple procedure. As a first step, download
the cimd2.pl and config.cimd files. After this you must create the
database table definitions with the help of the smstables.sql file.
Before you start the application, you must modify the config.cimd
file to reflect the settings of your system. You must set the following
(operator, cimd_user, cimd_password, remote_host,
remote_port, logfile, phone_number).
The logfile and the pidfile should
be specified with a fully qualified path, especially if the cimd2 script
is executed by crontab or other system service.
To start the
application issue the following command:
Killall cimd2.pl The program
disconnects and quits.
The application can be ran in debug mode. In this case the logging
is displayed on the screen. in this case use the following command to
start the application
cimd2.pl config.cimd -d
to stop the program,
when is running in debug mode press