From 0becb377e3123240c5c19aa301e96f1905e4373d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 1 Jul 2009 23:12:59 +0000 Subject: [PATCH] change sound prefix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14098 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 78b809769e..96d6256abe 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2031,9 +2031,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_say(switch_core_session_t *session, c save_path = switch_channel_get_variable(channel, "sound_prefix"); - switch_channel_set_variable_printf(channel, "sound_prefix", "%s%ssounds%s%s", - SWITCH_GLOBAL_dirs.base_dir, - SWITCH_PATH_SEPARATOR, + switch_channel_set_variable_printf(channel, "sound_prefix", "%s%s%s", + save_path, SWITCH_PATH_SEPARATOR, chan_lang);