who wakes the sendsms thread

2006-08-20 Thread Akshat Choudhary
Hi,I am a new user of kannel. I am using kannel with a GSM modem, but I have noticed this one issue. Suppose I try and send a message using sendsms the message is sent only after some irregular interval. But, if I send a sms from my mobile, to which the reply is sent using sendsms the message is

Re: who wakes the sendsms thread

2006-08-20 Thread Akshat Choudhary
until bearerbox main driver puts something in it and wakes the thread by doing that. On 20.08.2006, at 09:04, Akshat Choudhary wrote:Hi,I am a new user of kannel. I am using kannel with a GSM modem, but I have noticed this one issue. Suppose I try and send a message using sendsms the message is sent

Re: who wakes the sendsms thread

2006-08-20 Thread Akshat Choudhary
Found another detail. The write thread seems to be blocking inside tcdrain() call from at2_write_line.what could be the issue here?thanks,akshatOn 8/20/06, Akshat Choudhary [EMAIL PROTECTED] wrote: Yeah, I noticed the two threads. The one which is supposed to write to the modem is the one

tcdrain blocks

2006-08-20 Thread Akshat Choudhary
I am new to kannel and am using it to sed/recv sms's using a wavecom gsm modem. I have noticed that the system blocks at tcdrain() within at2_write_line.I found a patch to this problem while googling. but the patched kannel had many other issues. Is there any other known solution to this problem.