]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: Appropriately lock channel during start.
authorJaco Kroon <jaco@uls.co.za>
Thu, 19 Dec 2024 14:45:15 +0000 (16:45 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:52:59 +0000 (19:52 +0000)
commitc1dd85d75e73929da80b156a1eff32e83b5a5d08
tree3e2cfc6ca83325e823df21cdb77d0af0a957c89d
parentb04808d6c0e84d2c8e423fe55aa32e1c6039ddd9
res_musiconhold: Appropriately lock channel during start.

This relates to #829

This doesn't sully solve the Ops issue, but it solves the specific crash
there.  Further PRs to follow.

In the specific crash the generator was still under construction when
moh was being stopped, which then proceeded to close the stream whilst
it was still in use.

Signed-off-by: Jaco Kroon <jaco@uls.co.za>
(cherry picked from commit 97258111259e1b449b43c32d6d114e26b1c1388b)
res/res_musiconhold.c