]> 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 20:04:27 +0000 (14:04 -0600)
commit991d2b1cc4da194bb7f1589e6d7023c23dab031b
treee2ef9693c764143e23bc0005612387fc4a639828
parentbb801f47c13dcf18c0b718aa9ff27ec91ed39f32
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 59d6d2addf04c7f71b63967edc560d65cbe2f76b)
main/file.c