]> 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:05:41 +0000 (12:05 -0500)
commit879a6a59975704a50f9d1af74ffe7ac7deb1a086
tree1ff79972d5c32b0bb423307f7bc334cf375e3643
parentd0d74d060bbd7867c403dae8815cfed4af5e47f7
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