To better co-exist with sounds files that may be managed by
packages, custom sound files may now be placed in
AST_DATA_DIR/sounds/custom instead of the standard
AST_DATA_DIR/sounds/<lang> directory. If the new
"sounds_search_custom_dir" option in asterisk.conf is set
to "true", asterisk will search the custom directory for sounds
files before searching the standard directory. For performance
reasons, the "sounds_search_custom_dir" defaults to "false".
Resolves: #315
UserNote: A new option "sounds_search_custom_dir" has been added to
asterisk.conf that allows asterisk to search
AST_DATA_DIR/sounds/custom for sounds files before searching the
standard AST_DATA_DIR/sounds/<lang> directory.
pull/342/head
George Joseph2 years agocommitted byasterisk-org-access-app[bot]
ast_verb(3,"<%s> Playing '%s.%s' (language '%s')\n",ast_channel_name(chan), filename,ast_format_get_name(ast_channel_writeformat(chan)),preflang?preflang:"default");
ast_verb(3,"<%s> Playing '%s.%s' (language '%s')\n",ast_channel_name(chan),tmp_filename,ast_format_get_name(ast_channel_writeformat(chan)),preflang?preflang:"default");