Support forum
If you use the HTTP callbacks to change the message content, the routing of the messages is not affected.
If you use the Scripting Gateway then the message can only be re-routed to a single gateway, but you can specify a different gateway for each message.
In a system with 32 gateways using a Scripting Gateway to change the message content will have a strong negative effect on the message throughput. In that situation it is best to use the HTTP callback to change the message content.
Regards, Henk
10:56 am
If i use multipe gateways like 32 then how to dispatch to random one from any of them available
Hello Salman,
Diafaan SMS Server supports two ways to change the content of a message with a script. You can use a Scripting Gateway or the HTTP callback functionality.
For the first option, you have to add a Scripting Gateway to Diafaan SMS Server and change the gateway routing options of the SMPP Connector so that messages are routed to the Scripting Gateway only. In the Scripting Gateway you can change the OnMessageToSend function in the script to change the message content and dispatch the message to the SMPP Gateway:
string message, string messageType)
{
// Change the message parameters here
PostDispatchMessage(recordId, toAddress, fromAddress, message, messageType, "SMPP Gateway", "");
}
More information about changing messages with an HTTP callback can be found here.
Regards, Henk
Most Users Ever Online: 529
Currently Online:
11 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488