Revision
14098
Author
anthm
Date
2009-07-01 18:12:59 -0500 (Wed, 01 Jul 2009)

Log Message

change sound prefix

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_ivr.c (14097 => 14098)


--- freeswitch/trunk/src/switch_ivr.c	2009-07-01 22:58:57 UTC (rev 14097)
+++ freeswitch/trunk/src/switch_ivr.c	2009-07-01 23:12:59 UTC (rev 14098)
@@ -2031,10 +2031,9 @@
 
 	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_channel_set_variable_printf(channel, "sound_prefix", "%s%s%s", 
+									   save_path,
 									   SWITCH_PATH_SEPARATOR,
-									   SWITCH_PATH_SEPARATOR,
 									   chan_lang);
 
 	if ((si = switch_loadable_module_get_say_interface(module_name))) {