add soundsdir configure var and sounds_dir global freeswitch var

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16241 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2010-01-11 16:32:35 +00:00
parent 146c7f8daa
commit d1c60899de
11 changed files with 32 additions and 26 deletions

View File

@@ -2136,12 +2136,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_say(switch_core_session_t *session, c
if (sound_path) {
switch_channel_set_variable(channel, "sound_prefix", sound_path);
} else {
switch_channel_set_variable_printf(channel, "sound_prefix", "%s%ssounds%s%s",
SWITCH_GLOBAL_dirs.base_dir,
SWITCH_PATH_SEPARATOR,
SWITCH_PATH_SEPARATOR,
chan_lang);
}
if ((si = switch_loadable_module_get_say_interface(module_name))) {