[asterisk-dev] iax2_sched_replace: Unable to cancel schedule

Kevin P. Fleming kpfleming at digium.com
Fri May 2 07:00:24 CDT 2008


Timo Teräs wrote:

> It might be related to the fact handling incoming media frames need to do
> way too many mutex locks in __find_callno() as I see lots of threads in that
> function. Why isn't there a iaxd[IAX_MAX_CALLS] indexing the calls by the
> other systems call number (those whould have to be lists as there might multiple
> remotes with same call number) or hashed by (address/port/remote callno).
> Look up like that would be way faster compared to the current implementation.

There is now :-) Please retry your tests with 1.4.20-rc1 or the latest
1.4 branch from SVN and you'll probably find that this problem is gone
(and as a side effect, IAX2 media handling performance is vastly
improved as well).

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)



More information about the asterisk-dev mailing list