]> 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)
committerJaco Kroon <jaco@uls.co.za>
Fri, 27 Jun 2025 14:01:17 +0000 (14:01 +0000)
commit97258111259e1b449b43c32d6d114e26b1c1388b
treeac11a050e4f8f6cb4feee233f935d5dbf6256878
parentb3de33b76b2165cbae489a3b9fc25cc6894cafb0
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>
res/res_musiconhold.c