]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 17:40:38 +0000 (11:40 -0600)
commit73b614ebefd535ad9a27a442879e9d50e1c1bca5
tree41f20881ba4a25cd5bef4fe7dd3649dc389767c6
parentfcb35f97b9947b57b5fcde2cbc40a49b64ec7439
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
(cherry picked from commit 3ea4289a9a6504c0482d2fc0f50df5effd367ede)
main/file.c