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
SMS sending with Gsm Modem gateway and SMPP gateway
sp_NewPost Add Reply sp_NewTopic Add Topic
October 26, 2018
9:58 am
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The gateways load a new batch of half the MaximumBatchSize when half of the batch is sent. The batch is used to make sure that the gateway always has messages it can send and to limit the load on the send queue database.

If the gateway is disabled it usually means that there was an error and that the modem is resetting or rebooting. The event log will show what the error was. With GSM modems that do not have an optimal connection to the mobile network this can be a timeout error when the modem does not respond after sending the message or an error code. By default, Diafaan SMS Server tries to send the message 3 times with a modem when there is an error.

Regards, Henk

October 25, 2018
11:14 pm
Roberto
Guest
Guests

Hello Henk, after taking your advice the SMPP gateway worked correctly, thank you very much for that.
How often is the Maximum Batch Size filled? If it fills with 138 sms, wait to send the 138 sms to refill?

And another question, the GSM Gateway modem loses the signal (they are disabled) for some moments when they are sending a massive SMS. Why does this occur? The MaximumBatchSize is set to 10, ReceivePollAfterMaximumSendBatch is set to 10 and ReceivePollIntervalTime is set to 5.

Regards

October 19, 2018
9:35 pm
Roberto
Guest
Guests

Thank you very much Henk, now it makes me more logical how the MaximumBatchSize works.
I'll try sending larger quantities to the queue and then I'll tell you the results.

Regards.

October 19, 2018
8:31 pm
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

I understand, this happens with (relatively) small amounts of messages and is indeed caused by the 'MaximumBatchSize' settings of the SMPP Gateway and the GSM Modem Gateways (but not the SQL Connector). Each gateway pre-loads the size of the maximum batch from the queue and if the total amount of messages is less than the total of all the maximum batchsizes of all the gateways then the messages are divided evenly over the gateways. If the number of messages in the queue gets higher then the faster gateways will receive more messages than the slower gateways.

If you set the 'MaximumBatchSize' value of all the gateways to 1 this effect disappears. However, I would not recommend that because it will decrease the message throughput and it puts more strain on the message queue database.

Regards, Henk

October 18, 2018
10:24 pm
Roberto
Guest
Guests

Thanks for answering Henk,

Yes I am sure, the Sql connector contains 90 Gsm modems Gateway and one SMPP gateway of 32 channels and when we send SMS, the system delivers the sms in the following way, for example:

GSM gateway 1: 15 sms
GSM gateway 2: 15 sms
Gsm gateway 3: 15 sms
SMPP gateway: 15 sms

The 15 sms of the SMPP Gateway, are distributed by the 32 channels.

I have been learning to use diafaan a short time ago, I do not know all the configuration, is it possible that the problem is in the Maximumbatchsize of the SMPP and the Maximumbatchsize of the sql connector?

regards

October 18, 2018
8:42 pm
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Roberto,

Are you sure about this? The SMPP Gateway handles the messages a lot faster than a single GSM modem and should get most of the messages. Diafaan SMS Server does not know how the SMPP server handles the message and it does not know that there are 32 modem modules behind the single connection but it should send most of the messages through the SMPP Gateway.

Regards, Henk

October 18, 2018
5:40 pm
Roberto
Guest
Guests

Hi!
I have a sql connector with Gsm modem gateway and Smpp gateway, but when I try to send sms through both, the system distributes to the smpp the same amount that it hands out to a GSM modem gateway, the smpp has 32 channels but counts it as just one. Is it possible to configure this for the system to distribute sms to the 32 channels that the SMPP gateway has?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3897

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1487