I thought about that approach but I wasn't sure if the SMS delivery framework is multi threaded. Will the sleep function put all the threads to sleep also?. Im really rusty on my C.
Could you describe the changes you had to make.
Thanks
Akhil Srinivasan
On 6/15/05, threeflags <[EMAIL PROTECTED]> wrote:
I had the same problem actually (SMPP connection).
Seems like Kannel does not care about "throughput" set in config file. It tries to sleep after SMS is gone, but wakes up after submit_sm_resp pops up or some other event occurs.
I tried everything I could find in the manual to limit the speed but had no luck at all. Then I've just made some dirty changes at smsc_smpp.c to force kannel to sleep some time after submit_sm is gone. The idea basically is to use sleep function instead of gwthread_sleep. But some other minor changes need to be done too.
