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
MessageInfo in scripting gateway
sp_NewPost Add Reply sp_NewTopic Add Topic
June 5, 2023
10:27 am
Henk Helmantel
Admin
Forum Posts: 1502
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Lucky,

The MessageInfo parameter is not available for use in a script in the Scripting Gateway.

We can add this to Diafaan SMS Server but that requires a plugin for the Scripting Gateway. If you are interested in the plugin, and your license is still in the free update and support period, please send the serial number of your license to dms@diafaan.com and I will send you the plugin by email.

Regards, Henk

May 31, 2023
5:47 pm
Lucky
Guest
Guests

Hello,

I need to access the MessageInfo parameter (we use SQL connector) for the scripting gateway. The reason is that the gateway requires some special parameter for each request, which I need to provide to the service provider API. How can I do this? In your skeleton I can only see the following parameters: RecordId, To, From, Message, MessageType.

OnMessageToSend(GetPacketString(messagePacket, "RecordId", ""),
GetPacketString(messagePacket, "To", ""),
GetPacketString(messagePacket, "From", ""),
GetPacketString(messagePacket, "Message", ""),
GetPacketString(messagePacket, "MessageType", "");

I can probably add a special delimiter to the Form attribute (like "|") and add that special parameter there, but I don't think that's a good way.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 677

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1149

Posts: 3928

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1502