Your SMS provider is responsible to route the messages to a specific bind and they should be able to send all the received messages to a single connection. It is probably best to contact your SMPP service provider to discuss with them what the best SMPP set up is in your situation.
Another question also... How do I setup a gateway/connector to receive messages with just having one bind? Even though I have been using Diafaan for a couple years now, I have very little experience with setting up SMPP connections. It dawned on me without having the source address in there, I'm not sure how it is suppose to receive messages.
Thanks again Henk.
That would be great... Please email it to me.
This feature is too specific to include in a future update of Diafaan SMS Server but the scripting option that uses the HTTP callback function is not hard to implement. It is a very simple script and if you are interested, I can send you an example script with this functionality.
I wish there was an easier way as in just being able to throw in a group of source address in something similar to a collection field.
I'm trying to set my GSM lines as mains with a daily limit, and have the SMPP connections as backup when they hit it.
Setting up a script to do what I want won't be an easy task considering our current infrastructure.
Maybe something on a future update
BTW been a user for over a year, sending over a million texts a month and diafaan has been a very helpful tool for us.
The HTTP Callback method adds an extra layer of complexity to the system which increases the chance for errors, so I think it is better to add the source address to the 'MessageFrom' field of the SQL database for each messages. But if, for some reason, you cannot use this, it is possible to use the HTTP Callback method to assign different source addresses to each message using a C# script in a Scripting Connector.
You can find a basic example for the HTTP Callback server script in the Scripting Pack on the download page of our web site. To make this script do anything useful requires some programming in C# but if you have any programming experience it should not be difficult to adapt the example script to your requirements.
So using an internal connector script I can set up source address to do a round robin under one bind? My main goal is to use the SMPP gateway along with my current GSM gateways under one connector. This way it's using both at the same time.
If you send the messages from the SQL Connector or with the HTTP API, you can give a different source (from) address to each message. In the settings of the SMPP Gateway, make sure you have set the 'Users can override the default source address' option. Otherwise the SMPP Gateway will only use the default source address.
It is also possible to change the From address for each message with the HTTP callback functionality in Diafaan SMS Server. This requires a PHP or ASP.NET script on an external web server or an internal connector script in Diafaan SMS Server. With this method, you can assign a random source address programmatically to messages from all connectors.
I currently have 50 binds via SMPP connection, and they asked me to reduce this number because of the resources its using on their server... So my question is, is there a way to setup multiple sources address in the gateway where it randomly picks one of the source address when sending a text. This way I can cut down how many SMPP connections I have.
Thanks in advance.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 542
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1084