Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"
info@ozekisms.com
Tel.: +36 1 371 0150
SMS Gateway to send SMS via GSM modem or IP SMS connection Overview SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Quick start SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Download SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Manual SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection How to buy SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection FAQ SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Contact Us SMS Gateway to send SMS via GSM modem or IP SMS connection
OZEKI NG SMS Gateway - Product Guide

Installation guide Contents | SearchSample script file

Home > Product Manual > Installation Guide > Users and applications > Autoreply SMS from database > Create database layout

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  Prerequisites
  Download Information
  Installation Steps
  Service Provider Connections
  Users and applications
  Standard user
  SMPP user
  SMS from/to database
  Autoreply SMS from database
  Installation guide
  Create database layout
  Sample script file
  Script file structure
  Autoreply SMS using a script
  Simple autoreply SMS
  SMS from/to file
  SMS through E-mail
  SMS via HTTP Request
  SMS via colour protocol
  Application starter SMS
  SMS Voting
  SMS from MS Outlook
  SMS from/to FTP server
  PDF Request in SMS
  SMS to WCF service
  SMS Forwarder
  RSS to SMS
  Linux
  User Guide
  Developers Guide
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
  Cookie policy
 


Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

Create database layout for SMS autoresponses

In this guide we create an example database layout for an autoresponding SMS application that uses data stored in an SQL database. We use the Microsoft SQL Express database server that can be downloaded from the Microsoft website.

Step 1. - Download and install Microsoft SQL Express.

You can download the Microsoft SQL Express Database Server from the following location:

Download details: Microsoft SQL Server 2005 Express Edition

Step 2 - Create your database tables in Microsoft SQL Express

You can create a database and the appropriate database tables by opening a windows command prompt (Start->Run->cmd.exe), and starting the SQL Command interpreter by typing:

C:\sqlcmd -S .\SQLExpress

Once the SQL command interpreter is running, you should enter the following commands


create database ozeki
GO

use ozeki
GO

CREATE TABLE autoreplymessage (
 id int IDENTITY (1,1),
 keyword varchar(30),
 msg varchar(160),
);
GO

sp_addLogin 'ozekiuser', 'ozekipass'
GO

sp_addsrvrolemember 'ozekiuser', 'sysadmin'
GO

Figure 1 - SQL Create table script

Step 3 - Put some data into your keyboard database

To be able to create a response automatically for certain keywords we must fill the autoreplymessage database table:

insert into autoreplymessage (keyword,msg) values ("default","There is no data for this keyword.");
insert into autoreplymessage (keyword,msg) values ("red","Red is a good color.");
insert into autoreplymessage (keyword,msg) values ("blue","Blue is not the best option.");
GO


Step 4 - Make Microsoft SQL Express ready to accept your username and password

Unless you have mixed mode authentication configured in SQL express, you will not be able to connect to your database from Ozeki NG because Ozeki NG runs as a system service in the background. To enable mixed - mode authentication, you should open the registry editor (Start->run->regedit.exe) and in the Registry you should change the LoginMode value from 1 to "2", here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer

LoginMode =2

After this change you might have to restart the SQL Express to make sure the changes take effect.

Dig deeper!
People who read this also read...





Next page: Sample script file
Copyright © 2000 - 2017 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com