Hello there.
I've specified:
throughput = 0.03
>
for testing purposes. Also I added logging to the smsc_smpp.c:
*if (smpp->conn->throughput > 0) {*
* debug("bb.sms.smpp", 0, "SMPP[%s]: QOS: Traffic Policy, sleeping <%f>sec",
octstr_get_cstr(smpp->conn->id), delay);*
* gwthread_sleep(delay);*
* }*
This works perfect on sms which contains of several parts - thread sleeps
for 33 seconds.
But when we send simultaneously 3 messages, for example - they are being
sent through *different* threads and that is what I see in logs:
2011-01-31 12:03:42 [27314] [6] DEBUG: SMPP[SMPP:...:default]: QOS: Traffic
Policy, sleeping <33.333333>sec
2011-01-31 12:03:42 [27314] [6] DEBUG: SMPP[SMPP:...:default]: QOS: Traffic
Policy, sleeping <33.333333>sec
2011-01-31 12:03:43 [27314] [6] DEBUG: SMPP[SMPP:...:default]: QOS: Traffic
Policy, sleeping <33.333333>sec
So my question is: is it possible to change the number of sending messages
threads? Or may be I'm doing something wrong?
--
With best regards, Ivan Kurnosov