Audiocodes tunneling: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
==How to set voipmonitor==
== VoIPmonitor Configuration for Audiocodes Tunneling ==
This guide explains how to configure VoIPmonitor to process packets that are tunneled from an Audiocodes Session Border Controller (SBC). This specific setup is for capturing data sent through the Audiocodes tunnel and differs from the standard configuration for capturing direct network traffic.


===Basic options===
=== Basic Tunneling Options ===
The following options need to be enabled in the sniffer service configuration located at  voipmonitor.conf for processing AudioCodes packets.
To enable the processing of data from an Audiocodes tunnel, the following options must be enabled in the sniffer's configuration file (<code>voipmonitor.conf</code>).


  audiocodes          = yes  
  audiocodes          = yes  
  #choose which transport protocol will be used for audiocodes and enabled the option
  # The main switch that activates the Audiocodes tunnel processing feature.
 
# Next, define the ports on which the sniffer will listen for incoming tunneled data.
# Choose the transport protocol (UDP/TCP) used by your Audiocodes SBC and enable the corresponding option.
  udp_port_audiocodes  = 925
  udp_port_audiocodes  = 925
  tcp_port_audiocodes  = 925
  tcp_port_audiocodes  = 925


===Special options===
=== Special Options for RTP/RTCP Handling ===
The following options can help you in case pure (non-encapsulated) packets are also visible to VoIPmonitor for the same call. These options specify the conditions under which RTP/RTCP packets should be assigned to the CDR.
These options address scenarios where VoIPmonitor can see both 'pure' (non-encapsulated) network packets and packets encapsulated within the Audiocodes tunnel for the same call. They allow you to specify which packets should be assigned to the final CDR, preventing data duplication.


  audiocodes_rtp  = no/YES/only/only_for_audiocodes_sip
  audiocodes_rtp  = no/yes/only/only_for_audiocodes_sip
  audiocodes_rtcp = no/YES/only/only_for_audiocodes_sip
  audiocodes_rtcp = no/yes/only/only_for_audiocodes_sip




where the values means:
The values for these options mean:
no                     - means no process rtp/rtcp encapsulated by audiocodes
* <code>no</code> - Disables processing of RTP/RTCP packets that arrive encapsulated in the Audiocodes tunnel.
yes                     - means process rtp/rtcp encapsulated by audiocodes - default YES
* <code>yes</code> - Enables processing of RTP/RTCP packets from the tunnel. This is the '''default''' value.
only                   - assigns only RTP/RTCP encapsulated by audiocodes to SIP sessions/CDRs (pure RTP packets if observed as well will be skipped)
* <code>only</code> - Assigns '''only''' RTP/RTCP packets that are encapsulated in the Audiocodes tunnel to the call/CDR. Any pure (non-encapsulated) packets for the same call, if also seen by the sniffer, will be ignored.
only_for_audiocodes_sip - means that RTP/RTCP encapsulated will be assigned to a CDR only in case that SIP packets for this call were encapsulated by audiocodes as well
* <code>only_for_audiocodes_sip</code> - Tunneled RTP/RTCP packets are assigned to a CDR '''only if''' the SIP signaling for that call was also delivered through the Audiocodes tunnel.

Latest revision as of 23:39, 22 June 2025

VoIPmonitor Configuration for Audiocodes Tunneling

This guide explains how to configure VoIPmonitor to process packets that are tunneled from an Audiocodes Session Border Controller (SBC). This specific setup is for capturing data sent through the Audiocodes tunnel and differs from the standard configuration for capturing direct network traffic.

Basic Tunneling Options

To enable the processing of data from an Audiocodes tunnel, the following options must be enabled in the sniffer's configuration file (voipmonitor.conf).

audiocodes           = yes 
# The main switch that activates the Audiocodes tunnel processing feature.
# Next, define the ports on which the sniffer will listen for incoming tunneled data.
# Choose the transport protocol (UDP/TCP) used by your Audiocodes SBC and enable the corresponding option.
udp_port_audiocodes  = 925
tcp_port_audiocodes  = 925

Special Options for RTP/RTCP Handling

These options address scenarios where VoIPmonitor can see both 'pure' (non-encapsulated) network packets and packets encapsulated within the Audiocodes tunnel for the same call. They allow you to specify which packets should be assigned to the final CDR, preventing data duplication.

audiocodes_rtp  = no/yes/only/only_for_audiocodes_sip
audiocodes_rtcp = no/yes/only/only_for_audiocodes_sip


The values for these options mean:

  • no - Disables processing of RTP/RTCP packets that arrive encapsulated in the Audiocodes tunnel.
  • yes - Enables processing of RTP/RTCP packets from the tunnel. This is the default value.
  • only - Assigns only RTP/RTCP packets that are encapsulated in the Audiocodes tunnel to the call/CDR. Any pure (non-encapsulated) packets for the same call, if also seen by the sniffer, will be ignored.
  • only_for_audiocodes_sip - Tunneled RTP/RTCP packets are assigned to a CDR only if the SIP signaling for that call was also delivered through the Audiocodes tunnel.