Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Scripting Gateway Backup Fail
sp_NewPost Add Reply sp_NewTopic Add Topic
March 14, 2014
3:25 pm
Henk Helmantel
Admin
Forum Posts: 551
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

March 14, 2014
9:58 am
alwyn
Guest
Guests

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.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 364

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 532

Posts: 1844

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 551