]> git.ipfire.org Git - thirdparty/asterisk.git/commit
audiohook: Unlock channel in mute if no audiohooks present.
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 9 Aug 2023 08:39:17 +0000 (05:39 -0300)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 6 Sep 2023 16:55:59 +0000 (16:55 +0000)
commitfcf7187cd6c0df56f8a99863254c676712cda3e2
treed61dc08f81acbc7b68f808b2df6ccb8c0bddafb0
parent18aa912f46acdb514d324778555d3ffb666e0722
audiohook: Unlock channel in mute if no audiohooks present.

In the case where mute was called on a channel that had no
audiohooks the code was not unlocking the channel, resulting
in a deadlock.

Resolves: #233
(cherry picked from commit 5ebe1b61bd8f8a5aa2bda96542b070c1346e3d12)
main/audiohook.c