]> 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)
commit23d2d37b6673ab164ea6c9b259d26871b81b57c8
treea8da0b7a7d86dba53b2e95a52006ac2ecbd9f2de
parentec2591c60b63e05d1b74eb5a80408974fed0f2a4
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