[Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused"

Hector Geraldino Hector.Geraldino at ipsoft.com
Fri Dec 9 18:45:05 MSK 2016


IIRC it was Vocalizer for Network 5.0 and some other Nuance Speech Server or something like that.

I think requests were being handled by an NSServer process that was started on a different directory. Sorry I cannot be more helpful, but I no longer have access to that environment.

From: <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Anonim Stefan <fanx07 at gmail.com>
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: Thursday, December 8, 2016 at 4:35 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused"

Hi Hector,

Yes, I double checked that the nuance-server is listening on 9200 port. the above [0] [1] [2] [3] messages I can see on the nuance-server side.

On freeswitch side I can see:
2016-12-08 09:20:51.071110 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2016-12-08 09:20:51.071110 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 0 INVITE sent [nuance6-mrcp2]
2016-12-08 09:20:51.071110 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [calling]
2016-12-08 09:20:56.071087 [WARNING] mod_unimrcp.c:1051 (TTS-8) MRCP session has not opened after 5000 ms
2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_r_invite] Status 408 Request Timeout [nuance6-mrcp2]
2016-12-08 09:21:23.051103 [INFO] mrcp_sofiasip_client_agent.c:609 () Receive SIP Event [nua_i_state] Status 408 Request Timeout [nuance6-mrcp2]
2016-12-08 09:21:23.051103 [NOTICE] mrcp_sofiasip_client_agent.c:547 (TTS-8) SIP Call State TTS-8 [terminated]
2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:265 () Signal Message to [MRCP Client] [0x7f5198010d30;1;0]
2016-12-08 09:21:23.051103 [DEBUG] apt_task.c:337 () Process Message [MRCP Client] [0x7f5198010d30;1;0]
2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:151 (TTS-8) Receive Answer TTS-8 <new> [c:0 a:0 v:0] Status 408
2016-12-08 09:21:23.051103 [INFO] mrcp_client_session.c:455 (TTS-8) Raise App Response TTS-8 <new> [2] FAILURE [2]
2016-12-08 09:21:23.051103 [ERR] mod_unimrcp.c:1913 (TTS-8) SYNTHESIZER channel error!
2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1577 (TTS-8) CLOSED ==> ERROR
2016-12-08 09:21:23.051103 [DEBUG] apt_consumer_task.c:141 () Wait for Messages [MRCP Client]
2016-12-08 09:21:23.051103 [DEBUG] mod_unimrcp.c:1061 (TTS-8) Terminating MRCP session


I suspect that either something might have been "updated" in Vocalizer and won't recognize what Freeswitch sends it anymore or I am doing something wrong in the extension config:
        <extension name="tts">
                <condition field="destination_number" expression="^tts$">
                        <action application="sleep" data="2000"/>
                        <action application="set" data="default_language=en-GB"/>
                        <action application="set" data="tts_engine=unimrcp:nuance6-mrcp2"/>
                        <action application="set" data="tts_voice=Serena"/>
                        <action application="speak" data="Speak to me."/>
                        <action application="hangup"/>
                </condition>
        </extension>


Can you tell me the Freeswitch and Vocalizer versions it worked for you?

Thank you,
Stefan

On Wed, Dec 7, 2016 at 5:08 PM, Hector Geraldino <Hector.Geraldino at ipsoft.com<mailto:Hector.Geraldino at ipsoft.com>> wrote:
Is the Vocalizer for Network/NSS listening on that port?  Can you nmap/telnet to that IP address on port 9200?

I had no issues with using Nuance’s Vocalizer with MRCP using the mod_unimrcp module.

From: <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> on behalf of Anonim Stefan <fanx07 at gmail.com<mailto:fanx07 at gmail.com>>
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Date: Wednesday, December 7, 2016 at 5:56 AM
To: Freeswitch-users <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: [Freeswitch-users] Freeswitch 1.6 with Nuance Vocalizer 6.2.3 - "Client connection refused"

Hi,

I unsuccessfully tried to do TTS on Freeswitch using mod_unimrcp (with specific nuance profile), by connecting to nuance-server.

I started the Nuance server in mrcp mode: [0]

For MRCP v1 I get [1].

For MRCP v2 (using TCP) I get [2].

For nuance nvscmdline I get [3].

The FS unimrcp profiles I used are [4] for v1 and [5] for v2.

Am I missing something here?!
Have anyone tried this lately? Is Freeswitch 1.6 mod_unimrcp working with latest Nuance?

Thank you,
Stefan

[0] http://pastebin.com/qXixTb5y
[1] http://pastebin.com/dSxWNvX5
[2] http://pastebin.com/CPdRcpBY
[3] http://pastebin.com/9D5kHuwc
[4] http://pastebin.com/Q39PX74Q
[5] http://pastebin.com/t2iAr6H1

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161209/72689ec8/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list