Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Gateway Balancing
sp_NewPost Add Reply sp_NewTopic Add Topic
March 14, 2019
9:36 am
Henk Helmantel
Forum Posts: 988
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Vic,

On issue #1: Status code 300 just means that the message could not be sent. There should also be a description of the status, and usually an error code and error description, that explains the reason why the message could not be sent.

On issue #2: You can find more information about the routing options of Diafaan SMS Server in the online manual. For instance, with the 'only for to address ...' option in the 'Gateways' setting of each connector you can set or block a number range for each gateway. You can also specify a (list of) gateway(s) for each individual message with the 'Gateway' field in the MessageOut table of the SQL database.

Regards, Henk

March 14, 2019
3:54 am
Vic Martin

Hi, everyone.

I have set up Diafaan with four (4) modems, all with postpaid accounts, from three (3) different telecoms/networks, using an SQL Connector (and Web Connector).

All of the postpaid accounts have unlimited SMS sending, but two (2) of them are same-network only, while the other two (2) are all-networks. The all-net SIMs were set-up as Backup Gateways, while the same-net ones are Primary Gateways.

Currently, to send out SMS messages, I either just create/insert records into the MessageOut table and Diafaan sends them out. Usually I do this by copying batches of records from other tables.

My #1 issue is that sometimes, all the messages in one batch would all fail to send, getting StatusCode 300. But I can always just re-send them anyway, that's why I created other tables to store them (since Diafaan always empties out MessageOut when sending).

My #2 issue is that since majority of my recipients are on one of the telecoms with SAME-NET accounts, Diafaan INSISTS on using that network/gateway to send out the pending text messages, while the other ALL-NET sims are idle. How can I set it up so that it will use those backup gateways instantly? I can't set them up as Primary because this same issue would just make Diafaan use the first one for sending ALL messages.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 515

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 804

Posts: 2777

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 988