[asterisk-users] Asterisk chan_sip deadlock

Joshua Colp jcolp at digium.com
Fri May 1 12:50:36 CDT 2015

Ishfaq Malik wrote:
> Hello asterisk-users,
> We've been having intermittent issues with chan_sip - it stops
> responding to cli requests, trying to reload chan_sip from cli doesn't
> seem to have any effect, initiated calls carry on for a short period,
> but no new SIP requests are processed ('sip show channels' hangs
> forever, server stops responding to SIP OPTIONS, or any other SIP
> messages). We have updated the build from to the latest
> asterisk 1.8 (, however the problem still persists. We have
> gathered debugging information from 'core show locks' and from gdb,
> attached to this message (with phone numbers and extension and context
> names obscured). We are running realtime under CentOS 6.6, built from
> source and packaged using rpmbuild, with the following menuselect
> options (debugging version):
> menuselect/menuselect --disable BUILD_NATIVE --enable DEBUG_THREADS
> --enable DONT_OPTIMIZE --disable CORE-SOUNDS-EN-GSM --disable-category
> MENUSELECT_EXTRA_SOUNDS --disable MOH-OPSOUND-WAV --enable-category
> MENUSELECT_ADDONS --disable format_mp3 --disable cdr_tds --disable
> cel_tds --disable cdr_pgsql --disable cel_pgsql --disable
> res_config_pgsql menuselect.makeopts

After looking at the issue this appears to be a duplicate of an existing 
one[1] and a known issue.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-21228

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list