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<br>         [NOTICE] mod_dptools.c:717 Channel [sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a>] has been answered<br>
         [INFO] mod_unimrcp.c:1499 speech_handle: name = unimrcp, rate = 8000, speed = 0, samples = 160, voice = , engine = unimrcp, param = nuance5-mrcp1<br>         [INFO] mod_unimrcp.c:1502 voice = awb, rate = 8000<br>         [NOTICE] mrcp_client.c:549 Create MRCP Handle 0x8b02400 [nuance5-mrcp1]<br>
         [INFO] mrcp_client_session.c:142 Create Channel 0x8b02400 <new><br>         [INFO] mrcp_client_session.c:398 Receive App Request 0x8b02400 <new> [2]<br>         [NOTICE] rtsp_client.c:255 Create RTSP Handle 0x8b04408<br>         [INFO] mrcp_client.c:901 Add MRCP Handle 0x8b02400<br>
         [NOTICE] mrcp_client_session.c:718 Add Control Channel 0x8b02400 <new@speechsynth><br>         [INFO] mrcp_client_session.c:420 Send Offer 0x8b02400 <new> [c:0 a:1 v:0]<br>         <b>[ERR] mod_unimrcp.c:965 (TTS-0) Timed out waiting for channel to be ready<br>
         [ERR] switch_ivr_play_say.c:2104 Invalid TTS module!</b><br>         [NOTICE] switch_core_state_machine.c:185 sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> has executed the last dialplan instruction, hanging up.<br>
         [NOTICE] switch_core_state_machine.c:187 Hangup sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>         [NOTICE] switch_core_session.c:1179 Session 1 (sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a>) Ended<br>
         [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [CS_DESTROY]<br>         [NOTICE] switch_channel.c:669 New Channel sofia/internal/<a href="mailto:1012@192.168.1.222">1012@192.168.1.222</a> [49ed5afa-79f0-11df-b531-3553f3a65c3c]<br>
        So need to find a solution for that.</pre><br>-- <br>Regards,<br>Thangappan.M<br>