Hi, <div>you forgot to read the wiki:</div><div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_intercept">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_intercept</a></div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_intercept"></a>(last example)<br>
<br></div><div>-Milena</div><div><br><div class="gmail_quote">On Fri, Oct 1, 2010 at 2:05 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Neil,<br><br>Try setting channel variable ${sound_prefix} prior to calling your say application. It's an imperfect solution until we have something more elegant in place. Just note that if you need to switch between US and UK sounds on the same call you'll need to change the sound_prefix on the channel each time.<br>
<br>The default sound_prefix is:<br>/usr/local/freeswitch/sounds/en/us/callie<br><br>So change it to:<br>/usr/local/freeswitch/sounds/en/uk/<your_voice><br><br>And then call say and it should use your uk voice.<br>
<br>
-MC<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Oct 1, 2010 at 8:32 AM, Neil Burgess <span dir="ltr"><<a href="mailto:neil.burgess@redmatter.com" target="_blank">neil.burgess@redmatter.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’d like to be able to use two sets of language files
for US and UK within the say module, allowing either to be utilised with the
spell, items, etc capabilities, based on setting some channel variable!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">At the moment, I can’t see how to achieve this since
it appears that the “say_en” module for manipulating these strings
is linked to the language name attribute as below. <span style="font-size:10pt"></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><language name="en"
sound-path="$${base_dir}/sounds/en/us/callie"
tts-engine="unimrcp:loquendo7-mrcp2" tts-voice="kate"></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there any way of supporting multiple “voices”
under the same mod_say_en</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Neil</p>
</div>
</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br>
<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>
<br></blockquote></div><br></div>