<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Courier New, Courier, monospace">Thanks Hector, sendmsg
      worked like a charm :-)<br>
      Regards,<br>
      Leo<br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 07/30/2012 04:08 PM, Hector
      Geraldino wrote:<br>
    </div>
    <blockquote
cite="mid:6A6B4C284AD15042B429EB9D904544AD02304F5C38@NY1-EXMB-01.ip-soft.net"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        margin-bottom:5.75pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            don&#8217;t know what API you&#8217;re using to handle ESL connections,
            but in general all you need to do is to send an execute
            command with sendmsg:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">sendmsg
            &lt;uuid&gt;<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">call-command:
            execute<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">execute-app-name:
            speak<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">execute-app-arg:
            flite|kal|Hello world<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On
                  Behalf Of </b>Leonardo<br>
                <b>Sent:</b> Monday, July 30, 2012 2:55 PM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
                <b>Subject:</b> [Freeswitch-users] How to use TTS/flite
                via mod_socket<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><span style="font-family:&quot;Courier
            New&quot;">Hi.<br>
            I compiled the mod_flite and it is working on my Freeswitch.<br>
            I added the following dialplan:</span><o:p></o:p></p>
        <pre>&lt;extension name="flite"&gt;<o:p></o:p></pre>
        <pre>&nbsp;&nbsp; &lt;condition field="destination_number" expression="^9886$"&gt;<o:p></o:p></pre>
        <pre>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="tts_engine=flite"/&gt;<o:p></o:p></pre>
        <pre>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="tts_voice=kal"/&gt;<o:p></o:p></pre>
        <pre>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="speak" data="This is flite on FreeSWITCH"/&gt;<o:p></o:p></pre>
        <pre>&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></pre>
        <pre>&lt;/extension&gt;<o:p></o:p></pre>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-family:&quot;Courier New&quot;">Is there a way
            to "speak" in a "connected" call based on UUID and using a
            mod_event_socket?<br>
            Thanks,<br>
            Leo<br>
            &nbsp;<br>
            <br>
          </span><o:p></o:p></p>
        <div>
          <p class="MsoNormal">-- <br>
            <br>
            <o:p></o:p></p>
          <p style="margin-bottom:0in;margin-bottom:.0001pt"><span
              style="color:#242D65">Leonardo N. S. Pereira, </span><i><span
                style="color:#7F7F7F">Software Engineer</span></i><br>
            <span style="font-size:10.0pt;color:#7F7F7F">T:</span><span
              style="font-size:10.0pt">+55.19.3112-1200 ext. 1283</span><b><span
                style="font-size:10.0pt;color:#F7A429">|</span></b><span
              style="font-size:10.0pt;color:#7F7F7F">F:</span><span
              style="font-size:10.0pt">+55.19.3207-1437</span><br>
            <b><span style="font-size:13.5pt;color:#242D65">Daitan</span></b><b><span
                style="font-size:13.5pt;color:#457FBA">Group</span></b><b><span
                style="color:#F7A429">|</span></b><a
              moz-do-not-send="true" href="http://www.daitangroup.com/">www.daitangroup.com</a><b><span
                style="color:#F7A429">|</span></b><i><span
                style="color:#7F7F7F">Highly Reliable Outsourcing. Value
                Added Services Worldwide.</span></i><br>
            <i><span style="font-size:10.0pt;color:#242D65">Privileged
                and confidential. If this message has been received in
                error, please notify sender and delete it immediately.</span></i><br>
            <i><span style="font-size:10.0pt;color:#242D65">Conte&uacute;do
                confidencial. Se esta mensagem foi recebida por engano,
                favor avisar o remetente e apag&aacute;-la imediatamente.</span></i><o:p></o:p></p>
        </div>
      </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>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.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://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

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>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=ISO-8859-1">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.2 (Linux)">
      <meta name="AUTHOR" content="Leonardo Pereira">
      <meta name="CREATED" content="20110607;10262400">
      <meta name="CHANGEDBY" content="Leonardo Pereira">
      <meta name="CHANGED" content="20110607;10272000">
      <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
                A:link { so-language: zxx }
        -->
        </style>
      <p style="margin-bottom: 0in"><font color="#242d65">Leonardo N. S.
          Pereira, </font><font color="#7f7f7f"><i>Software
            Engineer</i></font><br>
        <font color="#7f7f7f"><font size="2">T:</font></font><font
          color="#000000"><font size="2">+55.19.3112-1200
            ext. 1283</font></font><font color="#f7a429"><font size="2"><b>|</b></font></font><font
          color="#7f7f7f"><font size="2">F:</font></font><font
          color="#000000"><font size="2">+55.19.3207-1437</font></font><br>
        <font color="#242d65"><font size="4"><b>Daitan</b></font></font><font
          color="#457fba"><font size="4"><b>Group</b></font></font><font
          color="#f7a429"><b>|</b></font><a
          href="http://www.daitangroup.com/"><font color="#0000ff"><u>www.daitangroup.com</u></font></a><font
          color="#f7a429"><b>|</b></font><font color="#7f7f7f"><i>Highly
            Reliable Outsourcing. Value Added Services Worldwide.</i></font><br>
        <font color="#242d65"><font size="2"><i>Privileged
              and confidential. If this message has been received in
              error, please
              notify sender and delete it immediately.</i></font></font><br>
        <font color="#242d65"><font size="2"><i>Conte&uacute;do
              confidencial. Se esta mensagem foi recebida por engano,
              favor avisar
              o remetente e apag&aacute;-la imediatamente.</i></font></font></p>
    </div>
  </body>
</html>