Skip to main content
 
  • Home
  • |
  • Login
  • |
  • Register
  • Products
    • Overview
    • Features
    • How it works
    • Download
    • Price
    • On-line demo
  • Solutions
    • Businesses
    • Call centers
    • Financial institutions
    • Voip service providers
  • Compatibility
    • Asterisk
    • Avaya
    • Broadsoft
    • Cisco
    • Dialexia
    • Grandstream
    • Polycom
    • Siemens
    • TalkSwitch
    • Other vendors ...
  • Documentation
    • Before purchase
    • Recommended hardware
    • Installation
    • Configuration
    • Administration
    • User guide
    • Issues and questions
    • Developer guide
  • Support
    • Ask Question
    • Report Issue
    • Purchase Support
  • Our clients
    • Businesses
    • Call centers
    • Financial institutions
    • Governmental organizations
    • Voip service providers
  • Company
    • About Us
    • Contacts
    • News and events
 
Home › Documentation › Configuration › Port mirroring configuration ›
 

Port Mirroring in different call scenarios

This article contains some recommendations for "Port Mirroring" configuration on different types of voip network.

Related articles:
  • What is Port Mirroring?
  • A list of Switches with Port Mirroring support

First of all it is necessary to decide, which calls is necessary to record.

There are three types of calls:

  • Outbound (local phone makes a call to the external phone)
  • Inbound (call is received from the external phone to the local phone)
  • Local or Internal (call is established between two local phones)

If recording of local calls is not necessary (or there are no such calls), then a configuration of "Port Mirroring" is very simple.

You need to mirror the port, where IP PBX is connected to (see Figure 1).

Recording of Inbound and Outbound calls only

Figure 1. Recording of Inbound and Outbound calls only

 

On Figure 1 it is shown that RTP audio traffic is sent from IP Phone to IP PBX. This traffic is mirrored to MiaRec server, where it is decoded.

This solution works for both inbound and outbound calls.

But it may not work for local calls. On most of IP PBX systems there is an optimization for network bandwidth usage: if the call is made between two local IP Phones, then RTP traffic is sent directly between phones without reaching of IP PBX (see Figure 2).

Recording of Inbound, Outbound and Local calls

Figure 2. Recording of Inbound, Outbound and Local calls

 

In order to record Local calls as well as Inbound and Outbound it is necessary to mirror every port, where IP Phones are connected to.

 

Recording calls on the second switch

If IP Phones are connected through multiple switches, then additional effort is necessary to make call recording works.

Configuration of "Port Mirroring" is easy if recording of local calls is not required.

In this case "Port Mirroring" is required only on the main switch (see Figure 3).

Recording calls on the second switch

Figure 3. Recording of calls on the second switch

 

In the case that recording of local calls is required, then there are three solutions:

1. Install additional network adapter into MiaRec server and connect multiple switches to it (see Figure 4)

MiaRec server with two network adapters

Figure 4. MiaRec server with two network adapters

 

 

2. Install a separate MiaRec server for the second switch (see Figure 5).

Two MiaRec servers

Figure 5. Two MiaRec servers

 

3. Use Remote SPAN (RSPAN) capability of Cisco Catalyst Switches (see Figure 6)

 

RSPAN configuration

Figure 6. RSPAN configuration


RSPAN allows you to monitor source ports that are spread all over a switched network, not only locally on a switch with SPAN. This feature appears in CatOS 5.3 in the Catalyst 6500/6000 Series Switches and is added in the Catalyst 4500/4000 Series Switches in CatOS 6.3 and later.

The functionality works exactly as a regular SPAN session. The traffic that is monitored by SPAN is not directly copied to the destination port, but flooded into a special RSPAN VLAN. The destination port can then be located anywhere in this RSPAN VLAN. There can even be several destination ports.

More about RSPAN (link to Cisco web-site) >>

 

 

 
  • Before purchase
  • Recommended hardware
  • Installation
  • Configuration
    • Port mirroring configuration
      • Port Mirroring in different call scenarios
      • Cisco Catalyst 2960 Series
      • D-Link DES-3010
      • Dell PowerConnect 2700 Series
      • Linksys SRW224G4P
      • Netgear FS726T
      • TP-LINK TL-SL2428WEB
    • Firewall configuration
    • MiaRec.ini configuration file
    • Recording filters
    • Post-recording filters
    • Location for audio files
    • File name format
    • MiaRec with Avaya Communication Manager
  • Administration
  • User guide
  • Issues and questions
  • Developer guide
MiaRec LLC © 2012. All Rights Reserved. | Terms of Use | Privacy Statement