Candela Technologies Logo
Network Testing and Emulation Solutions

Generating Traffic for VoIP Testing

Goal: Set up and run VoIP traffic.

In this example, LANforge-FIRE is used to set up two VoIP test calls that may be used as a basis for VoIP load testing or VoIP Gateway testing.

  • Test 1: Directed VoIP call where a LANforge endpoint calls another LANforge endpoint.
  • Test 2: Gateway VoIP call where two LANforge endpoints register with a VoIP Gateway so that the call from one endpoint to the other goes through the gateway. The VoIP Gateway used in this example is Asterisk.

 
  1. Set up the LANforge physical connections. The same two ports are used for both tests. Connect eth1 and eth2 from the LANforge-FIRE system to a network switch that is also connected to the VoIP Gateway. This example assumes that your VoIP Gateway is set up properly. If you need assistance, you can contact us at support@candelatech.com.
  2. Set up the LANforge ports so that they have valid IP addresses and IP masks.
    1. Go to the Port Manager screenshot
    2. Modify eth2 and eth3 to set a valid network IP address and mask screenshot
      1. If your network has DHCP service, you can select the 'DHCP-IPv4' checkbox so that each port is a DHCP client and will acquire its IP address from your DHCP server
    3. Verify the port configuration screenshot

    For more information see LANforge User's Guide: Ports (Interfaces)

  3. Set up Test 1, a Directed VoIP call.
    1. Go to the VoIP/RTP tab screenshot
    2. Click the Create button: screenshot
      1. Enter test-1 in the CX Name field
      2. Select the Multi-Call and Directed buttons
      3. Endpoint A is on port eth2 in this example. If you have a PESQ licensed server available, you can select Record and Enable PESQ.
      4. Endpoint B is on port eth3. If you are using PESQ, be sure to enter a Record File and the IP address and port of your PESQ licensed server. Be sure to select the Rcv Call checkbox for this endpoint to receive the call.
      5. Click OK to create the VoIP Directed call
    3. Verify that the test call is created

    For more information see LANforge User's Guide: VoIP Call Generator

  4. Set up Test 2, a Gateway VoIP call.
    1. Go to the VoIP/RTP tab screenshot
    2. Click the Create button: screenshot
      1. Enter test-2 in the CX Name field
      2. Select the Multi-Call and Use Gateway buttons
      3. Endpoint A is on port eth2 in this example. Be sure to enter the proper username and password for the endpoint so that it can authenticate with the VoIP Gateway if necessary.
      4. Endpoint B is on port eth3. Be sure to select the Rcv Call checkbox for this endpoint to receive the call.
      5. Click OK to create the VoIP Gateway call
    3. Verify that the test call is created screenshot

    For more information see LANforge User's Guide: VoIP Call Generator

  5. Run test-1 and test-2 individually.
    1. Select test-1 and click the Start button screenshot
    2. Go to the VoIP/RTP Endps tab to see detailed results: screenshot
      1. The PESQ score will be reported after the first successful call is completed and updated after each subsequent call
      2. NOTE: Endpoints are unregistered while the call is in progress because they are not calling through the VoIP gateway
    3. Stop test-1, select test-2 and click Start screenshot
    4. Go to the VoIP/RTP Endps tab to see detailed results: screenshot
      1. PESQ remains 0: 0 when it is disabled for the call in progress
      2. NOTE: Endpoints are registered with the VoIP gateway while the call is in progress
      3. Calls Attempted, Calls Completed and Calls Failed can be viewed by scrolling to the right on the VoIP/RTP Endps tab

    For more information see LANforge User's Guide: VoIP Call Generator


Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1.360.380.1618
Facebook | LinkedIn | Blog