<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
hi,<br>
you need to customise the example extension to your need including the
mrcp profile / tts voice name/...<br>
Le 18/06/2010 06:56, Thangappan.M a écrit :
<blockquote
cite="mid:AANLkTinFAsxPl_VxtmFYixkIIhxCaDOSXG39qe94EXmJ@mail.gmail.com"
type="cite">Dear all, <br>
<br>
I am in the process of developing IVR. So just planned to
convert my application to handle the TTS voice engine which is
supported by FreeSWITCH.<br>
Got the mod_unimrcp module which is used to recognize the
speech and synthesize the text to voice.<br>
For building the mod_unimrcp modules done the following steps.<br>
Uncomment the mod_unimrcp line in the modules.conf file
in the FreeSWITCH source<br>
Given make mod_unimrcp-install command.<br>
In modules.conf.xml uncomment the <load
modue="mod_unimrcp"/> <br>
Configured the following dial plan <br>
<extension
name="unimrcp">
<br>
<condition field="destination_number"
expression="^4922$">
<br>
<br>
<action application="answer"/><br>
<action application="set"
data="tts_engine=unimrcp:nuance5-mrcp1"/><br>
<action application="set" data="tts_voice=awb"/><br>
<action application="speak" data="This is our Text
to speech on FreeSWITCH"/> --><br>
<action application="sleep" data="500"/><br>
</condition>
<br>
</extension><br>
<br>
While making the call to 4922 got the following error in the
FreeSWITCH console.<br>
<br>
<br clear="all">
<pre width="100">[INFO] mod_dialplan_xml.c:418 Processing thangappan->4922 in context default
         [NOTICE] mod_dptools.c:717 Channel [sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a>] has been answered
         [INFO] mod_unimrcp.c:1499 speech_handle: name = unimrcp, rate = 8000, speed = 0, samples = 160, voice = , engine = unimrcp, param = nuance5-mrcp1
         [INFO] mod_unimrcp.c:1502 voice = awb, rate = 8000
         [NOTICE] mrcp_client.c:549 Create MRCP Handle 0x8b02400 [nuance5-mrcp1]
         [INFO] mrcp_client_session.c:142 Create Channel 0x8b02400 <new>
         [INFO] mrcp_client_session.c:398 Receive App Request 0x8b02400 <new> [2]
         [NOTICE] rtsp_client.c:255 Create RTSP Handle 0x8b04408
         [INFO] mrcp_client.c:901 Add MRCP Handle 0x8b02400
         [NOTICE] mrcp_client_session.c:718 Add Control Channel 0x8b02400 <new@speechsynth>
         [INFO] mrcp_client_session.c:420 Send Offer 0x8b02400 <new> [c:0 a:1 v:0]
         <b>[ERR] mod_unimrcp.c:965 (TTS-0) Timed out waiting for channel to be ready
         [ERR] switch_ivr_play_say.c:2104 Invalid TTS module!</b>
         [NOTICE] switch_core_state_machine.c:185 sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> has executed the last dialplan instruction, hanging up.
         [NOTICE] switch_core_state_machine.c:187 Hangup sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [CS_EXECUTE] [NORMAL_CLEARING]
         [NOTICE] switch_core_session.c:1179 Session 1 (sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a>) Ended
         [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [CS_DESTROY]
         [NOTICE] switch_channel.c:669 New Channel sofia/internal/<a
moz-do-not-send="true" href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [49ed5afa-79f0-11df-b531-3553f3a65c3c]
        So need to find a solution for that.</pre>
<br>
-- <br>
Regards,<br>
Thangappan.M<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
<br>
<pre class="moz-signature" cols="72">--
Meftah Tayeb
algérie télécom SPA
phone: +21321761805
phone (INUM): +883510001289101
mobile : +213660347746
mobile (INUM: +883510001289110
<a class="moz-txt-link-freetext" href="http://www.algerietelecom.dz">http://www.algerietelecom.dz</a></pre>
</body>
</html>