Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Date Format Strings Contents | SearchSQL templates

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

 


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.

More information





Next page: SQL templates
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Installation Guide > Users and applications > SMS from or to database > Scheduled SMS
Legal | Privacy | Terms of use | 2371
34.204.187.106 | 87.229.102.173 | Login