" /> No Speech recognition if 1 NSS machine (Speech server) is down. - Genesys CTI User Forum

Author Topic: No Speech recognition if 1 NSS machine (Speech server) is down.  (Read 1445 times)

Offline C_Genesys

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Advertisement
We have two NSS server and both are configured as primary for load balancing

If 1 NSS machine is unreachable the MRCPPROXY does detect it (as seen in logfiles) but still tries to use that NSS server. This is not the expected behavior ! Even worse it doesn't even try to access all other NSS servers.

Which Results into no speech recognition at all,  as a result. DTMF is used.

This happens only if the machine is down or not accessible over the network (port is stealth).

Any pointers what  could be the issue ?

Below are some part of MRCPPROXY Logs.

2017-02-02T14:54:45.862 Trc 20001 INFO 00000000-00000000 2337598336 09400507 Fail to connect to server (NSS server host:4900)
2017-02-02 14:54:45.862 DBUG 00000000-00000000 2337598336 09400901 ProxyCore.C:4017 connect server ) timeout
2017-02-02 14:54:45.862 DBUG 00000000-00000000 2337598336 06000000 MrcpStack.C:89 Connecting to resource (NSS server host:4900)...
2017-02-02 14:54:45.862 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:263 SocketCreate() successful. Connection to remote address is successful at port 11927
2017-02-02 14:54:45.893 DBUG 00000000-00000000 2339605376 08400000 RtspStack.cxx:1271 Received SocketClosed() for 228822496 at port 11926
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:332 Timed out waiting for SocketConnect()
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:446 sending SocketClose() on 11927
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 06000000 MrcpStack.C:97 Resource Connect failed: -102
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 09400901 MRCPv1ProxyClientModule.C:132 Can not connect to server: -102
2017-02-02T14:54:55.864 Trc 20001 INFO 00000000-00000000 2337598336 09400507 Fail to connect to server (XX.XX.XX.XX:4900))
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 09400901 ProxyCore.C:4017 connect server (XX.XX.XX.XX:4900)) timeout
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 06000000 MrcpStack.C:89 Connecting to resource (XX.XX.XX.XX:4900)...
2017-02-02 14:54:55.864 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:263 SocketCreate() successful. Connection to remote address is successful at port 11928
2017-02-02 14:54:55.879 DBUG 00000000-00000000 2339605376 08400000 RtspStack.cxx:1271 Received SocketClosed() for 228834480 at port 11927
2017-02-02 14:55:05.865 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:332 Timed out waiting for SocketConnect()
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:446 sending SocketClose() on 11928
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 06000000 MrcpStack.C:97 Resource Connect failed: -102
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 09400901 MRCPv1ProxyClientModule.C:132 Can not connect to server: -102
2017-02-02T14:55:05.866 Trc 20001 INFO 00000000-00000000 2337598336 09400507 Fail to connect to server (XX.XX.XX.XX:4900))
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 09400901 ProxyCore.C:4031 ping interval timeout - server 0xd944040, uri rtsp://NSSserverhost.com:4900/media/speechrecognizer
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 09400901 ProxyCore.C:4017 connect server (XX.XX.XX.XX:4900)) timeout
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 06000000 MrcpStack.C:89 Connecting to resource (XX.XX.XX.XX:4900)...
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2337598336 08400000 RtspStack.cxx:263 SocketCreate() successful. Connection to remote address is successful at port 11929
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2339605376 08400000 RtspStack.cxx:1397 Received SocketData() for 227819584
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2339605376 06000000 MrcpStack.C:2423 Received Server Info Response for message 339254
2017-02-02 14:55:05.866 DBUG 00000000-00000000 2339605376 08400000 RtspStack.cxx:1271 Received SocketClosed() for 228822496 at port 11928
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 08400000 RtspStack.cxx:1397 Received SocketData() for 228843088
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 08400000 RtspStack.cxx:890 Entered Parse State: RTSP_AT_URL
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 08400000 RtspStack.cxx:908 Entered Parse State: RTSP_AT_VERSION
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 06000000 MrcpStack.C:2435 Received Server Info for message 365092
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 09400901 ProxyResourceMgr.C:320 Handle GetServerInfo request - uri mrcpproxy
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 06000000 MrcpStack.C:2446 Sending Server Info response for message 365092
2017-02-02 14:55:07.358 DBUG 00000000-00000000 2340608896 08400000 RtspStack.cxx:738 Sending Message on 228843088:
RTSP/1.0 200 OK
CSeq: 363748
Content-Type: application/sdp

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: No Speech recognition if 1 NSS machine (Speech server) is down.
« Reply #1 on: February 06, 2017, 02:27:34 PM »
Did you add connection to the second NSS from MCRPProxy object?

Offline C_Genesys

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Re: No Speech recognition if 1 NSS machine (Speech server) is down.
« Reply #2 on: February 06, 2017, 03:18:42 PM »
Yes Its already added