]> 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 17:40:37 +0000 (11:40 -0600)
commit9d07194acb34832ec6d09e0ce080487537a99a77
tree098df835c3307bbc886e3bd96716c975c05873a2
parenta4b54349a1bce79c06696305ca0b658f90477877
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 7fa200bba05935838d2056e7fffeab9ccf760be1)
res/res_musiconhold.c