Hi, set sound_prefix variable ( http://wiki.freeswitch.org/wiki/Channel_Variables#sound_prefix )

Diego Toro
http://lacarretade.blogspot.com/

--- On Tue, 3/30/10, Eli Hayun <elihayun@gmail.com> wrote:

From: Eli Hayun <elihayun@gmail.com>
Subject: Re: [Freeswitch-users] Variable "default_language" has no effect on javascript
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org>
Date: Tuesday, March 30, 2010, 11:56 PM

On 03/25/2010 06:42 PM, Michael Collins wrote:
Ummm
You're looking for the file "ronf-kicked.wav" - I'm pretty sure that's not what you want. Try "conf-kicked.wav" and see if that's any better....
-MC

On Wed, Mar 24, 2010 at 11:29 PM, eliimap <elihayun@gmail.com> wrote:
Hi

I set the variable "default_language" to be "ru" and then I run a js to
play a file


....

session.streamFile("conference/ronf-kicked.wav", "");

....



I got an error message


2010-03-25 10:23:46.430391 [ERR] mod_sndfile.c:194 Error Opening File
[/freeswitch-1.0.5-20100314-0400/sounds/en/us/callie/conference/ronf-kicked.wav]
[System error : No such file or directory.]


that indicates that mod_sndfile is not checking this value but always
using en


Please check


Eli


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

No, The file is OK. I did that on purpose to get the error so I will know where the program is looking for the file.
When I am putting the correct file name I get it with ENGLISH and not the language indicates by the variable.

Eli


-----Inline Attachment Follows-----