<br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 12:08 PM, Hector Geraldino <span dir="ltr">&lt;<a href="mailto:Hector.Geraldino@ipsoft.com" target="_blank">Hector.Geraldino@ipsoft.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="white" link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I don’t know what API you’re using to handle ESL connections, but in general all you need to do is to send an execute command with sendmsg:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></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;<u></u><u></u></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<u></u><u></u></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<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> </span></p>
</div></div></blockquote><br>
</div>The method Hector suggests is good if you are doing a raw outbound event socket connection. I&#39;d recommend using ESL and the programming language of your choice to help abstract away some of the unnecessary details.<br>
<br>Also, if for some reason you need to execute the command on an arbitrary UUID then you can use uuid_broadcast. From fs_cli you can test it:<br><br>uuid_broadcast &lt;uuid&gt; speak::flite|kal|&#39;hello word&#39; bleg<br>
<br>Replace &#39;bleg&#39; with &#39;aleg&#39; or &#39;both&#39; depending on exactly you want to accomplish, i.e. play on the inbound leg, outbound leg, or both.<br><br>-MC<br>