Examples of RecoService entries

The examples below show how to configure RecoService entries for use with:
  • Nuance Recognizer
  • Lumenvox

Configuring for use with Nuance Recognizer using MRCP V1.0

Nuance Speech Server provides an MRCP V1.0 interface to text-to-speech and speech recognition components. The default RTSP port number to use to connect to the Nuance Speech Server must match the Nuance Server configuration. By default this value is 4900.

An example of the VRBE RecoService entry configuration settings required for speech recognition in configuration file /var/dirTalk/DTBE/native/aix/default.cff are shown below:

RecoService=Reco_GB
  PlugInClass=com.ibm.telephony.directtalk.mrcp.MRCPReco
  InitSessionString=URI=rtsp://1.23.45.678:4900/media/speechrecognizer
  RecoType=Recoen_GB
;

Using load-balancing with Nuance Recognizer using MRCP V1.0

For larger deployments handling more than one trunk of calls, it may be necessary to use more than one speech server to process text-to-speech and speech recognition requests. To do this a load-balancing application such as WebSphere Edge Server is used to distribute text-to-speech and speech recognition requests to two or more speech servers. All text-to-speech and speech recognition initialization requests are sent to a load-balancing address. The load balancer receives these requests and forwards them to one of a cluster of speech servers. To use Nuance speech servers in this way, a number of changes to Blueworx Voice Response and Nuance configuration need to be made.

An example of the Java and VoiceXML environment RecoService entry configuration settings required for speech recognition in configuration file default.cff when using a load-balanced systems are shown below:
RecoService=Reco_GB
  PlugInClass=com.ibm.telephony.directtalk.mrcp.MRCPReco
  InitSessionString=URI=rtsp://1.23.45.678:554/media/speechrecognizer
  RecoType=Recoen_GB
;

With load-balanced systems, port 554 is used instead of 4900. The changes required to the Nuance configuration file NSSserver.cfg are:

Variable Value
server.transport.bindrtptoip The IP address of the speech server
server.rtp.strictSdpMediaPortUse 0
server.mrcp1.transport.port 554

Speech recognition requests are forwarded to one of a number of Nuance voice servers using the same port number (554). When a speech recognition session has been set up on a Nuance voice server and Blueworx Voice Response has received a response, speech recognition traffic passes to and fro directly (not through the load balancer machine).

Configuring for use with Nuance Recognizer using MRCP V2.0

Nuance Speech Server provides an MRCP V2.0 interface to text-to-speech and speech recognition components.

An example of the VRBE RecoService entry configuration settings required for speech recognition in configuration file /var/dirTalk/DTBE/native/aix/default.cff are shown below:

RecoService=RecoMRCPv2
  Enabled=yes
  RecoType=Reco_MRCPv2_Type
  PlugInClass=com.ibm.telephony.directtalk.mrcp.MRCPv2Reco
 InitSessionString=URI=sip:mrcpv2@mrcpv2server.com
;

Configuring for use with Lumenvox using MRCP V1.0

Lumenvox provides an MRCP V1.0 interface to text-to-speech and speech recognition components. The default RTSP port number to use to connect to Lumenvox must match the Lumenvox configuration. By default this value is 554.

An example of the VRBE RecoService entry configuration settings required for speech recognition in configuration file /var/dirTalk/DTBE/native/aix/default.cff are shown below:

RecoService=Reco_GB
  PlugInClass=com.ibm.telephony.directtalk.mrcp.MRCPReco
  InitSessionString=URI=rtsp://test1.blueworx.com:554/media/recognizer
  RecoType=Recoen_GB
;

Configuring for use with Lumenvox using MRCP V2.0

Lumenvox provides an MRCP V2.0 interface to text-to-speech and speech recognition components.

An example of the VRBE RecoService entry configuration settings required for speech recognition in configuration file /var/dirTalk/DTBE/native/aix/default.cff are shown below:

RecoService=RecoMRCPv2
  Enabled=yes
  RecoType=Reco_MRCPv2_Type
  PlugInClass=com.ibm.telephony.directtalk.mrcp.MRCPv2Reco
 InitSessionString=URI=sip:mrcpv2@mrcpv2server.com
;