[Freeswitch-users] Build the mod_unimrcp module

Meftah Tayeb tayeb.meftah at gmail.com
Sat Jun 19 00:28:07 PDT 2010


hi,
you need to customise the example extension to your need including the 
mrcp profile / tts voice name/...
Le 18/06/2010 06:56, Thangappan.M a écrit :
> Dear all,
>
>           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.
>           Got the mod_unimrcp module which is used to recognize the 
> speech and synthesize the text to voice.
>           For building the mod_unimrcp modules done the following steps.
>                Uncomment the mod_unimrcp line in the modules.conf file 
> in the FreeSWITCH source
>                Given make mod_unimrcp-install command.
>                In modules.conf.xml uncomment the <load 
> modue="mod_unimrcp"/>
>                Configured the following dial plan
> <extension name="unimrcp">
> <condition field="destination_number" expression="^4922$">
>
> <action application="answer"/>
> <action application="set" data="tts_engine=unimrcp:nuance5-mrcp1"/>
> <action application="set" data="tts_voice=awb"/>
> <action application="speak" data="This is our Text to speech on 
> FreeSWITCH"/>  -->
> <action application="sleep" data="500"/>
> </condition>
> </extension>
>
>      While making the call to 4922 got the following error in the 
> FreeSWITCH console.
>
>
> [INFO] mod_dialplan_xml.c:418 Processing thangappan->4922 in context default
> 	 [NOTICE] mod_dptools.c:717 Channel [sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>] 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 at speechsynth>
> 	[INFO] mrcp_client_session.c:420 Send Offer 0x8b02400<new>  [c:0 a:1 v:0]
> 	*[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!*
> 	[NOTICE] switch_core_state_machine.c:185 sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>  has executed the last dialplan instruction, hanging up.
>
> 	 [NOTICE] switch_core_state_machine.c:187 Hangup sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>  [CS_EXECUTE] [NORMAL_CLEARING]
> 	 [NOTICE] switch_core_session.c:1179 Session 1 (sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>) Ended
>
> 	 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>  [CS_DESTROY]
> 	 [NOTICE] switch_channel.c:669 New Channel sofia/internal/1012 at 192.168.1.222  <mailto:1012 at 192.168.1.222>  [49ed5afa-79f0-11df-b531-3553f3a65c3c]
>
> 	So need to find a solution for that.
>
> -- 
> Regards,
> Thangappan.M
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>    


-- 
Meftah Tayeb
algérie télécom SPA
phone: +21321761805
phone (INUM): +883510001289101
mobile : +213660347746
mobile (INUM: +883510001289110
http://www.algerietelecom.dz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100619/80e01d1c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list