[asterisk-dev] realtime architecture blocks iax network thread

Joshua Colp jcolp at digium.com
Tue Jul 4 08:10:18 MST 2006


On 7/4/06 10:25 AM, "Dawid Mielnik" <dmielnik at voiceware.pl> wrote:

> Hi,
> 
> We are using asterisk (ver 1.2.9.1) interfaced via realtime (mysql via
> res_odbc or res_mysql) with a pretty large database for user authentication.
> Recently we have started to observe quite severe call quality issues which
> at first looked like network related problems - jitter, etc. After more
> intense debugging and adding a few more debug options in chan_iax we have
> noticed that realtime manages to effectively block iax's main thread on
> database queries. We have started timing execution time of socet_read() in
> iax and to our surprise, some unfortunate registration requests manage to
> block the thread for couple hundred milliseconds - example below:

This is actually fixed in trunk, chan_iax2 has been multithreaded instead of
using a single thread. It wasn't put in 1.2 because 1.2 is only for bug
fixes, not new experimental features.

-- 
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com





More information about the asterisk-dev mailing list