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

Date Format Strings Contents | SearchSQL templates

Home > Product Manual > Installation Guide > Users and applications > SMS from/to database > Scheduled SMS

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
  MSSQL
  MySQL
  Oracle
  Sybase SQL Anywhere
  PostgreSQL
  Pervasive SQL
  Date Format Strings
  Scheduled SMS
  SQL templates
  Informix
  Access
  Video
  Connection string builder
  Keywords
  MS SQL high speed
  Oracle High Speed
  SQL statements
  Polling technology
  Dynamic Keywords
  Dynamic SMPP parameters
  Autoreply SMS from database
  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.

How to schedule SMS messages for sending

If you use the SQL-SMS gateway configuration of Ozeki NG SMS Gateway, you can schedule your SMS message sendings in a very simple way. Scheduling means that you set a specific date and time for a message to determine when should it be sent.

Setup scheduled SMS sending (table layout)

To configure this option, first you need to modify your ozekimessageout table definition to include an extra column for the scheduled delivery time. You can call this column "scheduledtime". To modify the table definition issue the following SQL command in an SQL console:

alter table ozekimessageout add column scheduledtime


MySQL:
ALTER TABLE `ozekimessageout` ADD `scheduledtime` DATETIME NULL AFTER `errormsg`;

Setup scheduled SMS sending (configure Ozeki NG)

After the table layout has been modified, you need to open the database user configuration of Ozeki NG. The configuration modification is simple: you need to modify the SQL query used for selecting messages to be sent (Figure 1). This can be done by clicking on the "SQL for Sending" tab of the SQL user configuration form and changing the "Polling" query to this:

SELECT
   id,sender,receiver,msg,msgtype,operator
FROM
   ozekimessageout
WHERE
   status='send' and scheduledtime<now()

Notice the added where condition that will only select messages that can be sent from the database.


Figure 1 - How to configure scheduled SMS sending

After this is configured, to send a scheduled SMS message all you have to do is specify the datetime value in the ozekimessagout table.

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





Next page: SQL templates
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