<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, set sound_prefix variable ( http://wiki.freeswitch.org/wiki/Channel_Variables#sound_prefix )<br><br>Diego Toro<br>
http://lacarretade.blogspot.com/<br><br>--- On <b>Tue, 3/30/10, Eli Hayun <i>&lt;elihayun@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Eli Hayun &lt;elihayun@gmail.com&gt;<br>Subject: Re: [Freeswitch-users] Variable "default_language" has no effect on javascript<br>To: "freeswitch-users@lists.freeswitch.org" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Date: Tuesday, March 30, 2010, 11:56 PM<br><br><div id="yiv1282422270">



  
On 03/25/2010 06:42 PM, Michael Collins wrote:
<blockquote type="cite">Ummm<br>
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....<br>
-MC<br>
  <br>
  <div class="gmail_quote">On Wed, Mar 24, 2010 at 11:29 PM, eliimap <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:elihayun@gmail.com" target="_blank" href="/mc/compose?to=elihayun@gmail.com">elihayun@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br>
    <br>
I set the variable "default_language" to be "ru" and then I run a js to<br>
play a file<br>
    <br>
    <br>
....<br>
    <br>
session.streamFile("conference/ronf-kicked.wav", "");<br>
    <br>
....<br>
    <br>
    <br>
    <br>
I got an error message<br>
    <br>
    <br>
2010-03-25 10:23:46.430391 [ERR] mod_sndfile.c:194 Error Opening File<br>
[/freeswitch-1.0.5-20100314-0400/sounds/en/us/callie/conference/ronf-kicked.wav]<br>
[System error : No such file or directory.]<br>
    <br>
    <br>
that indicates that mod_sndfile is not checking this value but always<br>
using en<br>
    <br>
    <br>
Please check<br>
    <br>
    <br>
Eli<br>
    <br>
    <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
    <a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
    <a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
  </blockquote>
  </div>
  <br>
</blockquote>
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.<br>
When I am putting the correct file name I get it with ENGLISH and not
the language indicates by the variable.<br>
<br>
Eli<br>
<br>
 
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></td></tr></table><br>