]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_iax2: Prevent deadlock due to duplicate autoservice.
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 16 May 2022 13:01:48 +0000 (13:01 +0000)
committerKevin Harwell <kharwell@digium.com>
Tue, 7 Jun 2022 17:06:01 +0000 (12:06 -0500)
commit82cebaa0236f86b761b83e86d3f9fa4df3532d05
tree76e3477da3c01a44d7f0cfa8001ee7091dd0dbf3
parent3b7bcbb6d5d9c6d919964e4e3150de353c70111e
chan_iax2: Prevent deadlock due to duplicate autoservice.

If a switch is invoked using chan_iax2, deadlock can result
because the PBX core is autoservicing the channel while chan_iax2
also then attempts to service it while waiting for the result
of the switch. This removes servicing of the channel to prevent
any conflicts.

ASTERISK-30064 #close

Change-Id: Ie92f206d32f9a36924af734ddde652b21106af22
channels/chan_iax2.c