Google SS: Failed to Create Session TTS-4

132 views
Skip to first unread message

Wilmar Pérez

unread,
Oct 19, 2019, 2:24:42 PM10/19/19
to UniMRCP
Hi all,

I am just testing unimrcp with Google SS. We have the following:
  • Freeswitch 1.10.1 (64bit)
  • Admin interface: Fusion PBX 4.5.9. I am not sure this makes much difference but one never knows.
We are just trying to test the out of the box example. 

<action application="speak" data="unimrcp:uni2|en-US-Wavenet-A|Welcome to FreeSWITCH"/>

But we keep getting the following:

2019-10-19 15:48:39.443720 [WARNING] mrcp_client_session.c:1269 (TTS-4) Failed to Create Session TTS-4 <new> [2]

Followed by:
2019-10-19 15:48:39.443720 [ERR] mod_unimrcp.c:1920 (TTS-4) SYNTHESIZER channel error!
2019-10-19 15:48:39.443720 [ERR] switch_ivr_play_say.c:3006 Invalid TTS module unimrcp:unimrcpv2[en-US-Wavenet-A]!

So, we get it, the module is invalid. Then, what do we need to fix? This is our unimrcp_conf.xml:

--------------------------------------------------------------------------------------------------------------------------------
<configuration name="unimrcp.conf" description="UniMRCP Client">
  <settings>
    <!-- UniMRCP profile to use for TTS -->
    <param name="default-tts-profile" value="unimrcpv2"/>
    <!-- UniMRCP profile to use for ASR -->
    <param name="default-asr-profile" value="unimrcpv2"/>
    <!-- UniMRCP logging level to appear in freeswitch.log.  Options are:
         EMERGENCY|ALERT|CRITICAL|ERROR|WARNING|NOTICE|INFO|DEBUG -->
    <param name="log-level" value="DEBUG"/>
    <!-- Enable events for profile creation, open, and close -->
    <param name="enable-profile-events" value="false"/>

    <param name="max-connection-count" value="100"/>
    <param name="offer-new-connection" value="1"/>
    <param name="request-timeout" value="3000"/>
  </settings>

  <profiles>
    <X-PRE-PROCESS cmd="include" data="../mrcp_profiles/*.xml"/>
  </profiles>

</configuration>
--------------------------------------------------------------------------------------------------------------------------------
And the profile: (actual IPs are different)
--------------------------------------------------------------------------------------------------------------------------------
<include>
<!-- UniMRCP Server MRCPv2 -->
<profile name="unimrcpv2" version="2">
<!--param name="client-ext-ip" value="auto"-->
<param name="client-ip" value="1.2.3.4"/>
<param name="client-port" value="16090"/>
<param name="server-ip" value="1.2.3.5"/>
<param name="server-port" value="8060"/>
<!--param name="force-destination" value="1"/-->
<param name="sip-transport" value="udp"/>
<!--param name="ua-name" value="FreeSWITCH"/-->
<!--param name="sdp-origin" value="FreeSWITCH"/-->
<!--param name="rtp-ext-ip" value="auto"/-->
<param name="rtp-ip" value="auto"/>
<param name="rtp-port-min" value="14000"/>
<param name="rtp-port-max" value="15000"/>
<!-- enable/disable rtcp support -->
<param name="rtcp" value="0"/>
<!-- rtcp bye policies (rtcp must be enabled first)
0 - disable rtcp bye
1 - send rtcp bye at the end of session
2 - send rtcp bye also at the end of each talkspurt (input)
-->
<param name="rtcp-bye" value="2"/>
<!-- rtcp transmission interval in msec (set 0 to disable) -->
<param name="rtcp-tx-interval" value="5000"/>
<!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
<param name="rtcp-rx-resolution" value="1000"/>
<!--param name="playout-delay" value="50"/-->
<!--param name="max-playout-delay" value="200"/-->
Universal Speech Solutions LLC | UniMRCP Module 5
<!--param name="ptime" value="20"/-->
<param name="codecs" value="PCMU PCMA L16/96/8000"/>
<!-- Add any default MRCP params for SPEAK requests here -->
<synthparams>
</synthparams>
<!-- Add any default MRCP params for RECOGNIZE requests here -->
<recogparams>
<!--param name="start-input-timers" value="false"/-->
</recogparams>
</profile>
</include>

--------------------------------------------------------------------------------------------------------------------------------

Can anyone please give us a hint into what we can look into?

As a reference, the full log is:

--------------------------------------------------------------------------------------------------------------------------------
2019-10-19 15:48:39.443720 [INFO] mod_unimrcp.c:1631 speech_handle: name = unimrcp, rate = 8000, speed = 0, samples = 240, voice = , engine = unimrcp, param = unimrcpv2
2019-10-19 15:48:39.443720 [INFO] mod_unimrcp.c:1634 voice = en-US-Wavenet-A, rate = 8000
2019-10-19 15:48:39.443720 [DEBUG] mod_unimrcp.c:690 (TTS-4) audio queue created
2019-10-19 15:48:39.443720 [NOTICE] mrcp_application.c:96 (TTS-4) Create MRCP Handle 0x7f6fc03b47e0 [unimrcpv2]
2019-10-19 15:48:39.443720 [INFO] mrcp_client_session.c:133 (TTS-4) Create Channel TTS-4 <new>
2019-10-19 15:48:39.443720 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f6fc05a4c30;4;0]
2019-10-19 15:48:39.443720 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f6fc05a4c30;4;0]
2019-10-19 15:48:39.443720 [INFO] mrcp_client_session.c:387 (TTS-4) Receive App Request TTS-4 <new> [2]
2019-10-19 15:48:39.443720 [WARNING] mrcp_client_session.c:1269 (TTS-4) Failed to Create Session TTS-4 <new> [2]
2019-10-19 15:48:39.443720 [INFO] mrcp_client_session.c:533 (TTS-4) Raise App Response TTS-4 <new> [2] FAILURE [1]
2019-10-19 15:48:39.443720 [ERR] mod_unimrcp.c:1920 (TTS-4) SYNTHESIZER channel error!
2019-10-19 15:48:39.443720 [DEBUG] mod_unimrcp.c:1584 (TTS-4) CLOSED ==> ERROR
2019-10-19 15:48:39.443720 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2019-10-19 15:48:39.443720 [DEBUG] mod_unimrcp.c:1068 (TTS-4) Terminating MRCP session
2019-10-19 15:48:39.443720 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f6fc05a4cc0;4;0]
2019-10-19 15:48:39.443720 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f6fc05a4cc0;4;0]
2019-10-19 15:48:39.443720 [INFO] mrcp_client_session.c:387 (TTS-4) Receive App Request TTS-4 <new> [1]
2019-10-19 15:48:39.443720 [INFO] mrcp_client_session.c:455 (TTS-4) Raise App Response TTS-4 <new> [1] SUCCESS [0]
2019-10-19 15:48:39.443720 [DEBUG] mod_unimrcp.c:1835 (TTS-4) Destroying MRCP session
2019-10-19 15:48:39.443720 [NOTICE] mrcp_application.c:182 (TTS-4) Destroy MRCP Handle TTS-4
2019-10-19 15:48:39.443720 [DEBUG] mod_unimrcp.c:1584 (TTS-4) ERROR ==> CLOSED
2019-10-19 15:48:39.443720 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2019-10-19 15:48:39.443720 [ERR] switch_ivr_play_say.c:3006 Invalid TTS module unimrcp:unimrcpv2[en-US-Wavenet-A]!
--------------------------------------------------------------------------------------------------------------------------------

Many thanks!

Wilmar

Arsen Chaloyan

unread,
Oct 21, 2019, 9:39:22 AM10/21/19
to UniMRCP
Hi Wilmar,

The following log statement

Failed to Create Session TTS-4

indicates an error on the initial loading of the library. Check the logs corresponding to loading of mod_unimrcp in FS and you will get the answer.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/6a0bf17e-2233-4e40-a025-fb0485b44b84%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Wilmar Pérez

unread,
Oct 23, 2019, 8:22:56 AM10/23/19
to uni...@googlegroups.com
Thanks very much Arsen. This has put me in the right track, In fact, our freeswitch installation has a problem. We are fixing it today to test it.

You received this message because you are subscribed to a topic in the Google Groups "UniMRCP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/unimrcp/m1XeSW4Okos/unsubscribe.
To unsubscribe from this group and all its topics, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/CAC5UscJa3ZX%2BGYF_xNn32Rv9a6Gpt2S8rWnvvt__-ZfgfgmR6g%40mail.gmail.com.


--
--------------------------------------------------------
Wilmar Pérez 
Reply all
Reply to author
Forward
0 new messages