JavaScript must be enabled in order for you to use Knowledgebase Manager Pro. However, it seems JavaScript is either disabled or not supported by your browser. To use Knowledgebase Manager Pro, enable JavaScript by changing your browser options, then try again.
Learn more.

Running lv_show_config

Reference Number: AA-01635Views: 8231

0 Rating/ Voters

LumenVox provides a very useful application called the lv_show_config to get you quickly started using the Media Server and to act as a sanity check that everything is working as expected after the installation.

Note that the utility is called lv_show_config for Linux installations and LVShowConfig.exe for Windows installations. Usage is similar for both.

Version 12.1

The lv_show_config was enhanced in LumenVox version 12.1 to include support for AMD and CPA tests.

Versions 11.0 and 11.1

The lv_show_config was enhanced in LumenVox version 11.0 to include support for MRCP tests. Also more configuration settings were included. As of LumenVox version 11.1, support for SIP over TCP was added, consistent with changes to the Media Server to support this protocol

This utility is installed with the LumenVox Engine Installer (Windows) in the installed directory (by default C:\Program Files\LumenVox\Engine\ ) and with the LumenVoxClient RPM (Linux).

The LVShowConfig utility can display configuration settings, record these to file for later analysis and also perform License, ASR, TTS and MRCP interactions to verify different aspects of installed components are working as expected. This utility can be helpful in determining whether any connectivity problems exist between any of these modules, whether configuration of one or more modules may be incorrect, and whether licensing is correctly set up to enable various operations. If you encounter problems when running the LVShowConfig utility, you can save your results to file, then when communicating with LumenVox Support Staff, this information can help speed up problem diagnosis time.

The usage for LVShowConfig is: LVShowConfig<options>

Checks config values and tests LumenVox products for connectivity issues. Sending LumenVox Support this log file along with the rest of your LumenVox logs enables them to more easily debug any connectivity issues you might have.

-o <output_file> Writes output to the specified file. If no output file is specified, results are printed to screen-v, -version <version> Displays version information

-asr_lang <?> Specifies the language (i.e. en-US) to use when performingASR tests. Note that this option was added to version 14.1

-tts_lang <?> Specifies the language (i.e. en-US) to use when performingTTS tests. Note that this option was added to version 14.1============================================================================

ASR Test

When performing a simple decode test, the utility will attempt to open a speech port, acquire a license and perform a decode using a simple builtin grammar and audio file. If this sequence succeeds, then the configuration of the ASR client and server as well as the licensing components are working correctly.

The decode request follows the same pattern that any application would use in order to perform a speech recognition:

It creates/opens a speech port client (and acquires a license)

It loads a builtin grammar

It activates the grammar

It loads audio from a built-in audio buffer (non-streaming)

It performs a decode

It destroys/closes the speech port client

It prints out the result

Version 14.1

lv_show_config was enhanced in LumenVox version 14.1 to include support for asr_lang and tts_lang, allowing users to specify ASR and TTS languages to use during tests. Prior versions would default to using en-US as the language when testing.

Sample output:

License Test

When performing a license test, the utility will attempt to check the connectivity to the license server. If it is able to connect to the license server, it attempts to obtain any ASR license. The testing of ASR license can be modified to obtain a CPA license or AMD license by appending -amd_testor -cpa_testarguments respectively to -license_test.

TTS Test

When performing the simple TTS synthesis, the utility will attempt to open a TTS port, acquire a license and perform a simple builtin synthesis operation. If this sequence succeeds, then the configuration of the TTS client and server as well as the licensing components are working correctly.

The TTS request follows the same pattern that any application would use in order to perform speech synthesis

It creates/opens a TTS port client (and acquires a license)

It sets the desired sound format

It requests synthesis of "Hello World"

It retrieves the length of the synthesized audio

It prints out the results

Version 14.1

lv_show_config was enhanced in LumenVox version 14.1 to include support for asr_lang and tts_lang, allowing users to specify ASR and TTS languages to use during tests. Prior versions would default to using en-US as the language when testing.

Testing with non-US English languages:

Our TTS Server is shipped with US English (en-US) as the default language, as specified in the client_property.conf file's SYNTHESIS_LANGUAGE parameter. If you do not have any en-US voice and licenses installed, you must change this setting to match one of your installed languages, preferably one you want the application to default to.

MRCP Test

When performing the MRCP Test, the utility will attempt to open a series of sessions to the Media Server using both RTSP and SIP, acquire a license and perform TTS synthesis and ASR recognition in those sessions. If this sequence succeeds, then the configuration of the ASR/TTS Client, Media Server, ASR Server, TTS Server as well as the licensing components are working correctly. The testing of ASR data can be modified to use CPA or AMD data by appending-amd_testor -cpa_testarguments respectively to -mrcp_test.

Each session follows the same pattern that any application would use in order to perform speech synthesis or recognition

It creates/opens an MRCP session to the Media Server (and acquires a ASR or TTS license)

Requests a synthesis/recognition

It verifies the results of the synthesis or recognition

It prints out the results

Version 14.1

lv_show_config was enhanced in LumenVox version 14.1 to include support for asr_lang and tts_lang, allowing users to specify ASR and TTS languages to use during tests. Prior versions would default to using en-US as the language when testing. This also applies to MRCP related ASR and TTS tests.

Version 14.1 was also modified to skip over testing RTSP or SIP if their corresponding ports are disabled (set to a value of 0), which should be less confusing to users.

You will also want to make sure that you have set the media_server.conf file's mrcp_server_ip parameter to the Media Server machine's IP address. This is required for successful MRCP and RTP messaging.

AMD or CPA Test

The License test or MRCP test can be modified to either test AMD or CPA instead of ASR. This modification is applied by using either the -amd_testor -cpa_test modifier flags as arguments.