Hi,
I have an application which is using Kannel to send outgoing sms via
multiple SMSC's. However, there is an insane volume of messages that needs
to go through one of the SMSC which is impacting the other binds due to the
global outgoing queue limit check in the code.

 if (max_outgoing_sms_qlength
<http://doxygen.kannel.org/d5/d27/bb__smscconn_8c.html#a8> > 0 &&
!resend <http://doxygen.kannel.org/d6/d9f/wtp__init_8h.html#a33a30> &&
01091          queue_length > gwlist_len
<http://doxygen.kannel.org/da/d23/list_8h.html#a6>(smsc_list) *
max_outgoing_sms_qlength) {
01092         gw_rwlock_unlock
<http://doxygen.kannel.org/d2/dbd/gw-rwlock_8h.html#a4>(&smsc_list_lock);
01093         debug
<http://doxygen.kannel.org/d7/d7f/log_8h.html#a14>("bb.sms", 0,
"sum(#queues) limit");
01094         return SMSCCONN_FAILED_QFULL;
01095     }

I am very new to the kannel codebase so wanted to get some input on how
complicated is the fix to isolate the queue limits to each bind/SMSC. I
would like the other binds to not get affected by high volume of traffic on
one of the binds. So if one smsc queue is backed up, it does not impact the
messages sent to other SMSC's.
Also, what is recommended outgoing queue limit value in terms of messages
per second being sent through Kannel?

thanks,
Nick

Reply via email to