Need Assistance?

Newsletter

For a Free Quote...

Generating Traffic for VoIP Testing

Goal: Setup and run VoIP traffic.

In this example, LANforge-FIRE is used to setup 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. Setup 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 setup properly. If you need assistance, you can contact us at This email address is being protected from spambots. You need JavaScript enabled to view it. or you can find a basic Asterisk setup at this link: LANforge FAQ: How do I configure Asterisk for SIP Phones?

2. Setup the LANforge ports so that they have valid IP addresses and IP masks.

A. Go to the Port Manager

Candela LANforge Manager

B. Modify eth2 and eth3 to set a valid network IP address and mask

Candela LANforge Manager

a. 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

C. Verify the port configuration

Candela LANforge Manager

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

3. Setup Test 1, a Directed VoIP call.

A. Go to the VoIP/RTP tab

Candela LANforge Manager

B. Click the Create button:

Candela LANforge Creats/Modify Cross Connect

a. Enter test-1 in the CX Name field

b. Select the Multi-Call and Directed buttons

c. Endpoint A is on Port eth2 in this example. If you have a PESQ licensed server available, you can select Record and Enable PESQ.

d. Endpoint B is on Port eth2. 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.

e. Click OK to create the VoIP Directed call

C. Verify that the test call is created

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

4. Setup Test 2, a Gateway VoIP call.

A. Go to the VoIP/RTP tab

Candela LANforge Manager

B. Click the Create button:

Candela LANforge Create/Modify Cross Connect

a. Enter test-2 in the CX Name field

b. Select the Multi-Call and Use Gateway buttons

c. Endpoint A is on Port eth1 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.

d. Endpoint B is on Port eth2. Be sure to select the Rcv Call checkbox for this endpoint to receive the call.

e. Click OK to create the VoIP Gateway call

C. Verify that the test call is created

Candela LANforge Manager

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

5. Run Test 1 and Test 2 individually.

A. Select Test-1 and click the Start button

Candela LANforge Manager

B. Go to the VoIP/RTP Endps tab to see detailed results:

Candela LANforge Manager

a. The PESQ score will be reported after the first successful call is completed and updated after each subsequent call

b. NOTE: Endpoints are Unregistered while the call is in progress because they are not calling through the VoIP gateway

C. Stop Test-1, select Test-2 and click Start

Candela LANforge Manager

D. Go to the VoIP/RTP Endps tab to see detailed results:

Candela LANforge Manager

a. PESQ remains 0: 0 when it is disabled for the call in progress

b. NOTE: Endpoints are Registered with the VoIP gateway while the call is in progress

c. 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