]> 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:18 +0000 (14:01 +0000)
commit7fa200bba05935838d2056e7fffeab9ccf760be1
treec2b4c520e78a33d5d5629207e22c50c5c898f5ee
parent4852a046e74f01f1beb65f42657fbd2a5f62194b
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