By default there is no priority management
of SMS text messages
in Ozeki NG SMS Gateway. However, it is possible to affect in which order
messages should be sent out. To do so you need to be familiar with send message
Send message algorithm
In Ozeki NG SMS Gateway each of the users has separate waiting queues. Messages
that need to be sent out will be forwarded into these waiting queues called
Outbox. From the Outbox of a given user, SMS text messages will be sent
out on FCFS (First Come First Served) principle.
In case of two or more users, all of them have the same priority access to the
send message channel. In practice it means that regardless of how many messages
of each user are waiting for to be sent out, the program will select one message
from each user in one round. This algorithm is called Round Robin
How can you affect sending order
To be able to affect the order of message sending it is
recommended to create two user accounts in Ozeki NG SMS Gateway. In this way,
low-priority messages will be sent out via the first user account, and
high-priority messages will be sent out via the other user account.
If it is assumed that there are lots of low-priority messages and only a few
high-priority messages then with this method you can provide priority to the
urgent messages. Higher priority results from the fact that urgent messages
do not have to wait until the program sends out all the low-priority messages
that arrives before urgent ones. Therefore, messages with high priority can be
sent out first (Figure 1).