Support forum
Hello Alwyn,
At first glance, I can't see anything wrong with the PostDispatchMessage line but I would have to see the configuration file of your configuration to be sure. You can send the configuration file (File-Export-Configuration) to dms@diafaan.com. Can you also send the version of Diafaan SMS Server that you are using? I have checked the backup gateway functionality of the PostDispatchMessage call with the latest version of Diafaan SMS Server but it is possible that an earlier version might not work exactly the same.
The number of retries you set for the Scripting Gateway in the Gateways settings of the Email Connector does not matter because you override it with the PostDispatchMessage call, the "SGPWSMS02:3" indicates 3 retries for this gateway and for the "SGPWSMS01" gateway it uses the default, also 3.
We don't have much information available for the Diafaan SMS Server related function calls in the Scripting Gateway or Scripting Connector, the functions that you can use are mentioned in the skeleton script and you can download the scripting pack from our website to get an idea what is possible with the scripts.
Regards, Henk
9:58 am
Hi,
I have an Email connector which forwards emails message to SMS via SMTP server (this works). SMS is being sent by a Scripting Gateway (lets call this SG). This SG has a simple script to send multiple SMSes to different numbers using a while loop (this works).
The script works if the primary gateway is available, but when it is down, it does not fail back to the backup gateway.
Here is the PostDispatchMessage code: PostDispatchMessage(recordId, strToAddress[i], fromAddress, message, messageType, "SGPWSMS02:3", "SGPWSMS01");
How many retires should i set my Email connecter to the SG?
My setting for "Consider a gateway unavailable after it has been done for xx minutes" has been set to 5.
Also, do you have a detailed documentation of the APIs available for the scripting connector/gateway?
Thank you.
Most Users Ever Online: 529
Currently Online:
2 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