[asterisk-dev] poll delay in ast_waitfor_nandfds

Jiang Jinke jiangjinke at gmail.com
Thu Jul 6 07:04:46 MST 2006


Hi all,

I've experience poll abnormal delay in the ast_waitfor_nandfds in
channel.c when doing the test describe in issue tracker
http://bugs.digium.com/view.php?id=7397.

Also, if i use L(60000:61000:30000), the delay still exist.

Because I just start to study the source code in asterisk, I'm not
familiar with the internal flow very clearly, is there anyone can give
me a clue how to debug this problem ?

I've write a small code testing the poll in my Linux (CentOS 4.3), it
shows the poll is normal.
So, what will interrrupt this poll system call in ast_waitfor_nandfds ?

Why the abnormal delay only exist when I send dtmf to the channel ?

Thanks for any information about this.

Regards,
Jin Ke Jiang



More information about the asterisk-dev mailing list