server.rtp.wcr.outputtype

Specifies whether the whole call recording is saved as a single file or split into separate files, with each file containing audio from a different party. Whole call recording must be enabled first by setting server.rtp.wcr.enable to 1.

Value

Integer:

  • 0: Writes 1 file per mid (media identifier).
  • 1: Writes 1 file per session.
  • 2: Writes 1 file per speaker. For example, for a session with a single mid, one file is generated for the inbound speaker and one for the outbound speaker.

DEFAULT: 0

How to set

In the application’s session.xml, use the wcr_output_type parameter in the <sessionparameters> section under <logging>.

If using the Management Station, set on the Speech Server service. If not using Management Station, set in an NSS configuration file (user-NSSxx.txt).

Usage

Rarely changed.

Speech Server is able to record a complete conversation, that is, a realtime mixed capture of both the inbound and outbound audio streams of a call (a particular RTSP [MRCPv1] or SIP [MRCPv2] session) exactly as they occurred. To clarify the discussion below, an audio stream is uni-directional, for example, from the caller to the application or from the application back to the caller. A mid (media identification) is bi-directional and contains two audio streams, for example, from the caller to the application and from the application back to the caller.

This service property is useful if you want to analyze audio from different parties on a bridged transfer.

More details about the filenames for each mode:

  • 0 (default): One file per mid (media stream identification). Within one call, there may be several audio streams, each one identified by a mid attribute. On inbound calls, there is only one mid and therefore only one file. The recording contains audio from the caller and the application.

    The filename is NUAN-MM-SS-Host-Session_ID-WCR-rtpmid#.wav.

    For example, if a call were recorded on the host coco at 4:33:16 p.m., the filename might look something like this:

    NUAN-33-16-coco-Session_ID-WCR-rtpmid1.wav

  • 1: One file per session (call). The file contains both caller and application audio streams. The filename is NUAN-MM-SS-Host-Session_ID-WCR.wav.
  • 2: One file per audio stream:
    • Files containing audio from the caller are identified by received in the filename. For example:

      NUAN-MM-SS-Host-Session_ID-WCR-rtpmid1_received.wav (the caller during the entire call)

    • Files containing audio from the application are identified by transmitted in the filename. For example:

      NUAN-MM-SS-Host-Session_ID-WCR-rtpmid1_transmitted.wav