Support forum
Diafaan SMS Server only has two fail-over routing options, primary gateways or backup gateways. The routing options are defined in the 'Gateways' settings of each connector.
Diafaan SMS Server tries to send the messages with the primary gateways first, using a round robin protocol. When all attempts to send the messages with the primary gateways fail, it will try to send the messages with the backup gateways, again using a round robin protocol.
You can also use the 'PostDispatchMessage' method in the script of a Scripting Connector to route the message to one or more primary gateway(s) and backup gateway(s). For instance, to route the message to primary gateways p1 and p2 and backup gateways p3 and p4 you can use the following line in the script:
Regards, Henk
4:07 am
I need to add 3 backupGateway with failover
sample
backupGateway='p1;p2;p3'
or
messagePacket.Add("BackupGateway", "p1");
messagePacket.Add("BackupGateway", "p2");
messagePacket.Add("BackupGateway", "p3");
Hashtable messagePacket = new Hashtable();
messagePacket.Add("PacketName", "DispatchMessage");
messagePacket.Add("RecordId", recordId);
messagePacket.Add("To", toAddress);
messagePacket.Add("From", fromAddress);
messagePacket.Add("Message", message);
messagePacket.Add("MessageType", messageType);
messagePacket.Add("Gateway", gateway);
messagePacket.Add("BackupGateway", backupGateway);
host.PostMessagePacket(messagePacket);
Most Users Ever Online: 529
Currently Online:
4 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: 1156
Posts: 3946
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1511