<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
<div id="smartTemplate4-quoteHeader">
<div style="font-size:10.0pt;font-family:Verdana,Arial">Hi Miguel
Jesús,<br>
<br>
That's because mod_say_es doesn't implement all say types, but
most of the TTS configs use them (e.g. lang/en/vm/sounds.xml:396
<action function="say" data="$1" method="pronounced"
type="short_date_time"/>). So, if you use as the base the
English configs (because the Spanish base lacks voicemail or
conference configs), mod_say_es won't work.<br>
<br>
The Spanish sounds/prompts are broken. You may try to use
mod_say_es_ar which is based on the latest mod_say_en, but it
has some issues with some prompts anyway (though easier to
solve). Basically, the problem is that the mod_say_es is
outdated, the TTS configs are not in sync with it and the
available Spanish prompts (sounds_es_mx_maria and
sounds_es_ar_mario, I couldn't find others) are also not in sync
with the configs and the say modules, and are incomplete (e.g.
no "un" sound for "usted tiene <i>un</i> mensaje nuevo" ("you
have <i>one</i> new message"), some words lack singular or
plural forms, some prompts are completely absent (e.g. "entered
the conference"), etc.).<br>
<br>
I had to mix sounds from the 2 sets (MX and AR) and even borrow
some sounds from the asterisk sounds. Even this way the result
is not great (masculine and feminine voices mixed in the same
sentence, lack of singular/plural forms for some words, etc.),
but at least it works and the users can interact with the
system.<br>
<br>
The Spanish support in FS is not production ready. What should
be done?<br>
<ol>
<li>mod_say_es should be updated to be in sync and as complete
as the rest of the say modules (should be based on
mod_say_en as this is the reference). And there is NO need
for country-specific Spanish *say modules*, i.e. the grammar
(the sentence composition) is the same in all regions. Only
the prompts should be recorded by native speakers of each
country.<br>
</li>
<li>The Spanish TTS configs should be updated accordingly
(again, NO country-specific configs).</li>
<li>The list of necessary sounds (i.e. the prompts (texts) to
country-adapt and record) should be defined (either in
English or in neutral Spanish).</li>
<li>A country-neutral set of Spanish sounds should be created.</li>
</ol>
<p>Once this is ready, the community could provide the prompts
for country-specific dialects. And I'm ready to co-sponsor the
Spanish base (the 4 items list above) and to provide the
correct es_AR prompts. If someone can implement the Spanish
base (at least the first 3 items above), please let us know
your price, I guess we could crowd-fund it.<br>
</p>
Regards,<br>
Anatoli<br>
<br>
</div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm
0cm;font-size:10.0pt;font-family:"Tahoma","sans-serif""><b>From:</b>
Miguel Jesús López Valverde<br>
<b>Sent:</b> Wednesday, December 13, 2017 14:51<br>
<b>To:</b> Freeswitch-users<br>
<b>Subject:</b> [Freeswitch-users] Problem with personalized
locutions and use of say with type shor_date_time.<br>
</div>
<br>
</div>
<span type="cite"
cite="mid:031601d3743b$007f94d0$017ebe70$@smartic.es"
style="display: block; word-break: break-all; margin: 7px 0 0 0;
padding: 0; line-height:0"></span>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello Freeswitch users:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I send this email to you
with a new problem found.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a set of complete
locutions created with a TTS for Spanish locutions installed
in Freeswitch, along with those brought by default in English.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When using the phrases in
Spanish, I am only having problems when using the directive:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><action function =
"say" data = "$ 1" method = "pronounced" type =
"short_date_time" /><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">but with other directives
"say" with different methods, I'm not having any problems. For
example, when accessing voicemail using these locutions set in
Spanish, I get the following error that prevents access to
recorded messages:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:52.252852 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[voicemail/vm-new.wav] (es_CB:es)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:52.252852 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:53.172924 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
/usr/local/freeswitch/sounds/es/colabora/sonia/voicemail/vm-new.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:53.292911 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[voicemail/vm-message_number.wav] (es_CB:es)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:53.292911 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:54.832899 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
/usr/local/freeswitch/sounds/es/colabora/sonia/voicemail/vm-message_number.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:54.932903 [DEBUG] switch_ivr_play_say.c:250 Handle
say:[1] (es_CB:es)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:54.932903 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:55.872903 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
/usr/local/freeswitch/sounds/es/colabora/sonia/digits/1.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:55.972959 [DEBUG] switch_ivr_play_say.c:70 No language
specified - Using [es_CB]<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:55.972959 [DEBUG] switch_ivr_play_say.c:250 Handle
say:[1513180033] (es_CB:es)<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt" lang="EN-US">2017-12-13
16:58:55.972959 [ERR] mod_say_es.c:471 Unknown Say type=[18]<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">By changing this language
by default English, it works correctly ...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.327117 [DEBUG] switch_ivr_play_say.c:70 No language
specified - Using [en]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.367151 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[voicemail/vm-new.wav] (en:en)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.367151 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.667117 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
/usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-new.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.767136 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[voicemail/vm-message_number.wav] (en:en)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:05.767136 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:06.587140 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
/usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-message_number.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:06.707138 [DEBUG] switch_ivr_play_say.c:250 Handle
say:[1] (en:en)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:06.707138 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:07.407128 [DEBUG] switch_ivr_play_say.c:1942 done
playing file file_string://digits/1.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:07.507133 [DEBUG] switch_ivr_play_say.c:70 No language
specified - Using [en]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:07.527108 [DEBUG] switch_ivr_play_say.c:250 Handle
say:[1513180033] (en:en)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:07.527108 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:10.427138 [DEBUG] switch_ivr_play_say.c:1942 done
playing file
file_string://time/today.wav!time/at.wav!digits/3.wav!digits/40.wav!digits/7.wav!time/p-m.wav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt" lang="EN-US">2017-12-13
17:18:10.547147 [DEBUG] switch_ivr_play_say.c:1498 Codec
Activated L16@8000hz 1 channels 20ms<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">It is proven that I have
all the locutions in Spanish, including those in the "time"
and "digits" folders.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Does anyone know how I can
get a proper voicemail operation with personalized locutions
when using the function "say" with "type =" short_date_time ""
?.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you very much and
best regards.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<tr>
<td style="width: 55px; padding-top: 18px;"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
alt="" style="width: 46px; height: 29px;"
moz-do-not-send="true" width="46" height="29"></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e;
font-size: 13px; font-family: Arial, Helvetica,
sans-serif; line-height: 18px;">Libre de virus. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" style="color: #4453ea;"
moz-do-not-send="true">www.avast.com</a> </td>
</tr>
</tbody>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1" moz-do-not-send="true"> </a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
<br>
</body>
</html>