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.
If i use multipe gateways like 32 then how to dispatch to random one from any of them available
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.
Can i change msg text using script. msg received from a smpp connector and send it to smpp gateway. Can i intercept in between msg and change msg text? thnx
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 539
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1073