]> git.ipfire.org Git - thirdparty/asterisk.git/commit
file.c: with "sounds_search_custom_dir = yes", search "custom" directory
authorAllan Nathanson <42244061+Allan-N@users.noreply.github.com>
Sun, 10 Aug 2025 17:21:53 +0000 (13:21 -0400)
committerAllan Nathanson <42244061+Allan-N@users.noreply.github.com>
Mon, 11 Aug 2025 13:53:15 +0000 (13:53 +0000)
commit3ea4289a9a6504c0482d2fc0f50df5effd367ede
treefb437d2dda477f5624231e9c43e9c1e1efdd625a
parentf516f07fd21fd3fe9d72554f4fe66c2e9d50d708
file.c: with "sounds_search_custom_dir = yes", search "custom" directory

With `sounds_search_custom_dir = yes`, we are supposed to search for sounds
in the `AST_DATA_DIR/sounds/custom` directory before searching the normal
directories.  Unfortunately, a recent change
(https://github.com/asterisk/asterisk/pull/1172) had a typo resulting in
the "custom" directory not being searched.  This change restores this
expected behavior.

Resolves: #1353
main/file.c