[asterisk-dev] Asterisk 1.8 SIP_CAUSE performance regression

Benny Amorsen benny+usenet at amorsen.dk
Thu Aug 18 09:24:28 CDT 2011


Matthew Nicholson <mnicholson at digium.com> writes:

> When chan_sip sets MASTER_CHANNEL(HASH(SIP_CAUSE,<chan name>)) the
> MASTER_CHANNEL function scans the channel list which can be a slow
> operation. Under moderate traffic loads this causes delays in processing
> sip messages which can cause retransmission timers to expire.

Is there no better way to find the specific channels we are looking for,
without a linear search? Are there other places which depend on linear
searches through all channels?


/Benny



More information about the asterisk-dev mailing list