Support forum
You can add it to the 'Gateway' field of the 'MessageOut' table when you insert a new outgoing message to the database.
The database field name is set in the 'SMSOutGateway' property in the advanced settings of the SQL Connector, you should check if the property is set to the correct database field name for your database.
Regards, Henk
5:50 pm
Hi,
Thank you for your help. I used SQL Connector. But I don't know where to register the following statement:
Gateway1:2|Gateway2:1
If you have two gateways, Gateway1 and Gateway2, you can for example set the Gateway field of the message parameters to either:
Gateway1:2|Gateway2:1
or
Gateway2:4|Gateway1:3
In the first case, Diafaan SMS Server will try to send the message two times with Gateway1 and if that fails it will try to send the message one time with Gateway2. Gateway1 is the primary gateway here and Gateway2 is the backup gateway.
In the second case, Diafaan SMS Server will try to send the message four times with Gateway2 and if that fails it will try to send the message three times with Gateway1. Gateway2 is the primary gateway here and Gateway1 is the backup gateway.
Not all connectors support the Gateway field but you can use it when you send a message with the Web Connector API, the SQL Connector and the Scripting Connector. Please note that only gateways that are enabled for sending in the connector specific routing options can be used, other gateway names are ignored.
Regards, Henk
10:25 am
Hi,
I used to address and the problem was solved. While we have two gateways, how can GateWay1 be set as Backup Gateway 2, and also GateWay2 be set as Backup GateWay1. I saw the following text on your site, but I don't know where it applies.
By default, if a gateway is assigned as backup gateway in the connector specific routing options, it will still be used only as a backup gateway. But it is possible to change the primary and backup designation of the gateways with the '|' separator. The gateways before the '|' character become the primary gateways and the gateways after the '|' characters become the backup gateways. An optional value can be added after the gateway name to specify the maximum number of send attempts that is used for that gateway using a colon plus the maximum number of send attempts, e.g. Clickatell Gateway:2.
thank you
Hello Sarah,
You can find information on how to route messages to a specific gateway in the Route messages page in the online manual.
The section 'Message specific routing using the To Address, From address or Message Type' shows how you can route messages to a specific gateway depending on the destination number. Sending messages with an even or odd number at the end to a different gateway is pretty specific and you need a regular expression to achieve this.
Regards, Henk
Most Users Ever Online: 529
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1155
Posts: 3945
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1510