]> 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 19:36:51 +0000 (13:36 -0600)
commiteb1c2ca6e3dd89f0a3d52ca96b1cf145ce2d9589
tree5569b6050439a89859c2f6c4ab6117c6e38f9186
parent8624ed58df6097947cd22aa04775790a258f413d
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 80fd6508810585c7e5572a88691bb0e517145173)
main/file.c