To send SRGS directly, use the &quot;inline:&quot; prefix.   For TTS, you can send SSML if your server supports it.<br><br>This is the APP to control speech recognition:<br><br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_detect_speech">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_detect_speech</a><br>
<br>I need to update the wiki... it got out of sync last year when luke-jr added support for multiple grammars per session.  <br><br>Chris<br><br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 8:07 PM, Jan Berger <span dir="ltr">&lt;<a href="mailto:jan.berger@video24.no">jan.berger@video24.no</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div link="blue" vlink="blue" lang="NO-BOK">

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Thanks,</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">It “kind of”
does the job.It’s nice to be able to specify URL or file as grammar, but
I need to pass SRGS or SSML directly.</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">If you attempt to send
SRGS it screws up in </span></font><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-GB">mod_unimrcp and
attempt to load a file from what I can see – it seems to lack a test to
see if it gets passed srgs or ssml from the app directly. Need to test
tomorrow.</span></font></p>

<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font face="Courier New" size="2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-GB">Jan</span></font><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"></span></font></p>


<div>

<div class="MsoNormal" style="text-align:center" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt" lang="EN-US">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma" lang="EN-US">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Steven Ayre<br>
<b><span style="font-weight:bold">Sent:</span></b> 2. juni 2011 13:44<br>
<b><span style="font-weight:bold">To:</span></b> FreeSWITCH
 Users Help<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
mrcp</span></font><span lang="EN-US"></span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"> </span></font></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><a href="http://wiki.freeswitch.org/wiki/Mod_unimrcp" target="_blank">http://wiki.freeswitch.org/wiki/Mod_unimrcp</a><br>

<br>
:)<br>
<br>
<br>
</span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">On 2 June 2011 11:25, Jan Berger &lt;<a href="mailto:jan.berger@video24.no" target="_blank">jan.berger@video24.no</a>&gt; wrote:</span></font></p>


<div link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">Hi,</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial" lang="EN-GB">I
would like to communicate with MRCP to control TTS and ASR from a C module -
how can I do that easiest?</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial" lang="EN-GB"> </span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial" lang="EN-GB">Jan</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial" lang="EN-GB"> </span></font></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><br>
_______________________________________________<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></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"> </span></font></p>

</div></div></div>

</div>


<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>