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.
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.
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.
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.
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?
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.
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?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 590
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1241