How to generate QoS events from RTP flow

This page describes the way to generate Qos from the RTP flow recorded over an Ethernet interface. The requirement is done by using the "Analog" properties in the Clarinet filter used on-line (filter name defined in the profile) or off-line (Filter-Run Protocol).

Setting the test conditions

The connections of Clarinet-Book USB units and the settings of test conditions for a basic VOIP communication are detailed in the following pages:

Setting the test conditions for VOIP / Analog filter

The protocol filter file Lan_auto_rtp_analog_ref.acf (created with the Wizard from the Template list) specifies the stack of protocol and includes a reference file for Qos Measurement.

As the IP protocols are automatically detected by the protocol value, the stack defined in the "Protocol specification" has the layers D3 to D7 set to "Automatic". The RTP protocol is decoded at the level 5, the "analog" protocol is added to the level 6.

The"Analog Measurement" tab of the filter includes specifications for both functions: wav files generation and QoS measurement. The filter file Lan_auto_rtp_analog_ref.acf  is configured  to generate wav files and QoS events with a reference file (default is or137.wav). The default reference file should be copied manually from C:\Clarinet\Clatools\Template\L A N (Ethernet - IEEE 802.3)  to the current directory.

  • Modifications of the filter to apply in "Received Voice" part:
    • the codec specifications must correspond to the value set in the PT of the RTP messages.
      For information:
      • PT=000 è G711 mLaw
      • PT=008 è G711 ALaw
      • PT=018 è G729
    • if disabled (no output file), only Qos measurement will be processed.:
      • the file name (default= Rtp_analog.wav)
      • the encoding specifications of the file.wav
    • if enabled the output file should specify:
      • the file name (default= Rtp_analog.wav)
      • the encoding specifications of the file.wav
  • Modifications of the filter to apply in "Quality measurement" part:
    • the quality measurement should be set to "Continuous", "One Time"  or "Auto" 
    • the reference file name is optional 
    • the "Delay between measurement" defines the period of generation of  "Average" events.

Setting the test conditions for processing basic QoS events

The generation of basic QoS events allow to get :

  • the value of the Jitter
  • periodically, Average events for jitter and  loss of packet.

The generation of basic QoS events depends on the mode and reference file specifications :

Mode  Reference file Results in event file
Continuous No Jitter for  RTP packet (2->N)
Continuous Yes Jitter for RTP packet : begin (ref file) ->N
One time No Jitter for  RTP packet (2->N)
One Time Yes
  • Beginning +End of  meas (1st ref file)
  • Jitter for RTP packet : begin-end (1st ref file)
  • Average (1st ref file)

Setting the test conditions for processing PESQ QoS events

The generation of PESQ QoS events allows to get the PESQ valiue in Average events:

  • the value of the Jitter
  • periodically, Average events for jitter,  loss of packet and PESQ value.

When the PESQ resource is selected in Generator/Responder of IP profile, the generation of PESQ QoS events requires the following specifications :

Mode  Reference file Synchro PESQ Results in event file
Auto Yes Yes Yes
  • Beginning +End of  meas (each ref file)
  • Jitter for RTP packet : begin-end (each ref file)
  • Average (each ref file)

Applying the filter conditions

The processing of the events can be done:

  • off-line by using Filter èRun Protocol:
    • source file including the RTP flow (Lan_mon.ace as an example).
    • filter name (Lan_auto_rtp_analog_ref.acf  as an example)
    • result file.generated (Lan_mon_rlt.ace as an example).
  • on-line, at the end of the profile execution, with the following settings:
    • configuration file set as WI_ANALOG by Clarinet-Init
    • filter name defined in the profile to be execute
 
Related topic:
Generation of Analog events
Analog filter specifications
 

home     Quick start     Specifications     Connections     Features     How to?     Notes     Search     Site Map

updated:  27-Feb-04