Automatically retry failed messages
If a message fails to send, you can retry sending it automatically. You can also route it to a different channel if needed.
In this example, we set up a retry trigger that automatically retries sending a message over a GSM channel if it fails on an SMPP channel.
This example walks through the configuration of the following items:
- Set up a retry or failover trigger
- Add a coloring rule to an existing view so retried messages are highlighted
Before you start, make sure you have already configured these channels:
- An SMPP channel. You can use the default settings to connect to the test and demonstration gateway
- A GSM channel or any other backup SMS channel
Set up a retry or failover trigger
You create the failover trigger from a trigger template.
To create the failover trigger:
- Open the Auron Omni Manager application
- Click on the Triggers section in the tree view on the left
- Click New Trigger
- Select Retry or Failover Trigger Template and click OK
Name the trigger FALLBACK and set the description to Automatic fallback.
In this example, we use VBScript as the trigger language. This does not matter for the configuration itself. If you plan to customize the script later, choose the language you are most comfortable with.
On the next page, select the channel you want to monitor for failed messages and the channel you want to use as fallback. Instead of switching channels, you can also configure a number of retry attempts.
After creating the trigger, make sure to enable it so it starts working automatically.
Add a coloring rule to existing views
Once the retry trigger is active, it helps to visually identify retried messages. This makes it easier to spot channel issues quickly.
To edit the view All SMS (Last 500), right-click it in the tree on the left and select Edit View.
Go to the Colors tab. Click the green Plus button to add a new rule.
To highlight retried messages, set the condition to retries > 0. You can use the Insert Field button to see available fields.
Click OK to add the rule.
Next, make sure the rule order is correct. If a message is retried on a different channel and still fails, it should be marked as failed instead of only retried. That means retry rules must be evaluated first.
Select the retry rule and move it up using the Up arrow until it is at the top.
Click OK to close the dialogs. The new color rule applies immediately.
You can repeat this process for any other view where you want retried messages to be highlighted.




