82fa SMS Gateway - Database user, SQL statements

                

Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Batch processing Contents | SearchPolling technology

Home > Product Manual > Installation Guide > Users and applications > Database user > SQL statements

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
  Database user
  MSSQL
  MySQL
  Oracle
  Sybase SQL Anywhere
  PostgreSQL
  Pervasive SQL
  Date Format Strings
  Scheduled SMS
  SQL templates
  Informix
  Access
  Video
  Connection string builder
  Keywords
  Batch processing
  SQL statements
  Polling technology
  Dynamic Keywords
  Dynamic SMPP parameters
  AutoreplyDatabase user
  Autoreply user
  AutoReplyEasy user
  File user
  E-mail user
  HTTP Client user
  Colour SMS user
  Appstarter user
  SMS Voting
  Outlook Mobile Service
  FTP user
  PDF user
  WCF Client User
  Forwarder user
  Linux
  User Guide
  Developers Guide
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 

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.


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

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

Detailed description of SQL statements


This page provides you detailed information on the various SQL statements of database user. Please browse through the screenshots to learn how and when the statements are executed during the SMS sending process.

Polling statement will be executed by default in every "10" seconds. The time of the execution can be set in "Check the ozekimessageout table every ... sec. for outgoing messages (Figure 1).


Figure 1 - Polling statement

Figure 2 demonstrates that the database has been polled and there is no outgoing message in the database table.


Figure 2 - No outgoing message

If there are outgoing messages in the database they will return with the polling statement and the database user updates record to "Sending" (Figure 3).


Figure 3 - Outgoing message

Sending statement is executed if Polling was successful and there is an outgoing message in the table (Figure 4).


Figure 4 - Sending statement

Then messages are forwarded to the Service Provider in Ozeki NG SMS Gateway via outbound route (Figure 5).


Figure 5 - Messages forwarded to the service provider

If the Service Provider of Ozeki NG SMS Gateway forwards the message to the SMSC (SMS center), the Service provider will return that "Message delivered to network". In this case the database user will update the record to "Sent" (Figure 6).


Figure 6 - Message delivered to network

If the message has been sent from the Service provider in Ozeki NG SMS Gateway Sent statement is executed (Figure 7).


Figure 7 - Sent statement

If the Service provider of Ozeki NG SMS Gateway cannot forward the message to the SMSC for some reason, the status of the message will be "Message not sent" in the SMS gateway. The database user then updates the record to "Not sent" (Figure 8).


Figure 8 - Message cannot be delivered to network

If the message cannot be sent to the service provider in Ozeki NG SMS Gateway Not sent will be executed (Figure 9).


Figure 9 - Not sent statement

If the SMSC sends a delivery report containing "Message delivered to handset" the database user will update the record to "Delivered" (Figure 10).


Figure 10 - Message is delivered to handset

If the delivery report contains "Message successfully delivered to handset", Delivered statement will be executed (Figure 11).


Figure 11 - Delivered statement

If the delivery has been failed the database user will update the record to "Undelivered" (Figure 12).


Figure 12 - Message delivery failed

If the SMSC reports that the message cannot be delivered, Undelivered statement will be executed (Figure 13).


Figure 13 - Undelivered statement

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





Next page: Polling technology
Copyright © 2000 - 2013 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


0