Support forum
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
5:47 pm
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.
1 Guest(s)
Add Reply
Add Topic
Offline
Quote