Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki NG SMS Gateway

MSSQL table layout

This page gives you the database connection information and the database layout if you want to setup SQL reporting in a MySQL database server. SQL reporting makes it possible to keep track of all incoming and outgoing messages in the system regardless of who sent it.

Microsoft SQL Server connection string

Provider=SQLNCLI;Server=YourServer;Database=YourDatabase;MultipleActiveResultSets=True;UID=YourUsername;PWD=YourPassword;

In your database server you must have two database tables created: inbox and outbox for storing the traffic information. The table layout for the inbox and outbox database tables are:

Microsoft SQL Server create table layout

CREATE TABLE  outbox (
id int IDENTITY(1,1),
username varchar(30),
msgtype varchar(160),
msgid varchar(60),
callbackid varchar(255),
sender varchar(255),
receiver varchar(255),
msgsubject varchar(1024),
msgdata varchar(1024),
acceptedfordeliverytime datetime,
deliveredtonetworktime datetime,
deliveredtohandsettime datetime,
operator varchar(30),
route varchar(30),
status varchar(130),
errormessage varchar(1024),
cost varchar(10)
);


CREATE TABLE  inbox (
id int IDENTITY(1,1),
username varchar(30),
msgtype varchar(160),
msgid varchar(60),
sender varchar(255),
receiver varchar(255),
msgsubject varchar(1024),
msgdata varchar(1024),
senttime datetime,
receivedtime datetime,
operator varchar(30)
);

The SMS gateway will use the SQL Commands configured on the server preferences form to update these tables.

More information