]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 19:36:50 +0000 (13:36 -0600)
commit3ccb40dae18def6a563d41d375f92fd172c408a7
treedff2fdcc04b7e76e7d8f1cac22f229452e938ca9
parentdc6416062db89287ad9b35f8f7780acd7146b0c6
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 23d2d37b6673ab164ea6c9b259d26871b81b57c8)
res/res_musiconhold.c