Thank you very much for your help. I will give it a try.<div><br></div><div>Thank you.</div><div><br><br><div class="gmail_quote">On Wed, Nov 21, 2012 at 5:22 PM, Tim St. Pierre <span dir="ltr">&lt;<a href="mailto:fs-list@communicatefreely.net" target="_blank">fs-list@communicatefreely.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Muhammed,<br>
<br>
That&#39;s because the way you are calling the playback application below is calling a<br>
specific audio file based on path.<br>
<br>
In vars.xml (usually) there is a global variable that sets the sound files prefix.  This<br>
will be added to whatever you put as the argument to the playback application.  I&#39;m<br>
willing to bet that whatever you have set includes a language path.<br>
<br>
There are a few ways around this -<br>
<br>
You can make some phrase macros for each language, and define which prompts in which<br>
language should be used.  Any time you want to play something, use phrase:your_macro instead.<br>
<br>
Likewise, you could also change the sounds prefix not to include the language, and then<br>
call playback like this:<br>
<br>
data=&quot;${default_language}/voicemail/prompt.wav&quot;<br>
<br>
I would recommend the phrase macro method, as that gives you a lot of flexibility with<br>
what prompts are used for a given language, and it also lets you account for things like<br>
quantity, gender, and number ordering if that applies (ie. if you are playing an error for<br>
a wrong number).<br>
<br>
Hope that helps.<br>
<br>
-Tim<br>
<div><div class="h5"><br>
Muhammad Shahzad wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am test Freeswitch for Multilingual IVR system. I observed that if I<br>
&gt; set default_language parameter before &quot;voicemail&quot; or &quot;say&quot; applications,<br>
&gt; it correctly play specified application in given language. However it<br>
&gt; has no effect on playback application, it always play the IVR in system<br>
&gt; default (i.e. English) language IVR.<br>
&gt;<br>
&gt; Here is an example extension,<br>
&gt;<br>
&gt;     &lt;extension name=&quot;catchall&quot;&gt;<br>
&gt;       &lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;<br>
&gt;         &lt;action application=&quot;export&quot; data=&quot;default_language=fr&quot;/&gt;<br>
&gt;         &lt;action application=&quot;answer&quot;/&gt;<br>
&gt;         &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>
&gt;         &lt;action application=&quot;playback&quot;<br>
&gt; data=&quot;voicemail/vm-that_was_an_invalid_ext.wav&quot;/&gt;<br>
&gt;         &lt;action application=&quot;hangup&quot;/&gt;<br>
&gt;       &lt;/condition&gt;<br>
&gt;     &lt;/extension&gt;<br>
&gt;<br>
&gt; Many thanks in advance.<br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto: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>
</blockquote></div><br></div>