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
Setting up multiple sources for SMPP connection
sp_NewPost Add Reply sp_NewTopic Add Topic
July 16, 2014
10:58 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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.

Regards, Henk

July 16, 2014
8:36 am
Alain
Guest
Guests

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.

July 15, 2014
11:30 pm
Alain
Guest
Guests

That would be great... Please email it to me.

Thanks again.

July 15, 2014
2:26 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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.

Regards, Henk

July 15, 2014
6:58 am
Alain
Guest
Guests

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.

July 14, 2014
9:48 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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.

Regards, Henk

July 13, 2014
6:22 pm
Alain
Guest
Guests

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.

July 13, 2014
10:30 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Alain,

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.

Regards, Henk

July 12, 2014
5:02 am
Alain
Guest
Guests

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.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
8 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 Helmantel

Administrators: Henk Helmantel: 1488