SMS Routing

Each time the inbox of a connection receives a message, it will be forwarded according to the routing table. A routing table consists of rows and each row is a single routing rule. If the message data fits the routing condition it will be forwarded to the outside world. Messages can be optionally modified before sending them through a connection

Ozeki 10's Message Delivery Engine is fully responsable for message routing. It basicly runs incoming messages through the rows of the routing table. A detailed engine description can be found on the engine description page.

In the routing table each message is checked from row to row from top to bottom. You can see your routing table by clicking 'Routes' on the left side toolbar (Figure 1). You can easily modify the routing sequence with the green and red arrows on the right side of each rule. This is the way to move a rule higher or lower.

ozeki message routing
Figure 1 - Findig Ozeki 10's routing table

Columns of the Routing table

Route name
The name of the routing rule. Each routing rule must have a unique name to easily identify them.

From
It has a connection value. This is the most important parameter since it decides if the routing rule can be tested on the message. If the inbox of this connection gets the message, the routing rule will be analysed and applied if the message fits every parameter. For example an SMS modem can receive a message to it's inbox. An SMS modem is a popular connection you can easily define in Ozeki 10.

To
It is a connection. The outbox of this connection gets the message if the routing rule can be applied. Then the connection will forward the message to the correct recipient.

Mode
There are 3 routing modes and one of them must apply to each rule:
Copy: In case this routing rule is successfully used, message delivery engine continues to the next rule.
Move:The delivery engine stops checking further rules after using this rule.
Drop: After successully using this routing rule, the delivery engine drops the message and stops checking further rules. In this case the message will not be forwarded to the connection specified in the rule.

Details
You can set the details for each routing rule by clicking the grey 'Details' button (Figure 2).
The 'Details' have 3 tabpages: 'General', 'Match' and 'Modify':
General: Set basic parameters you can see when looking at a routing table (Figure 1).
Match: If this content fits the message, the routing rule applies.
Modify (optional): It can replace the message content, recipient and many other parameters.

Order
Here you can set the execution order of the routing rules. They are executed from top to bottom:
green arrow: Raises the rule one step higher.
red arrow: Moves the rule one step lower.

ozeki routing rule setup
Figure 2 - You can set matching conditions and message modifications

More information