6. Generating Traffic for VoIP Testing
Goal: Setup and run VoIP traffic.
Return to LANforge-FIRE Cookbook
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.
- 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
support@candelatech.com or you can find a
basic Asterisk setup at this link:
LANforge FAQ: How do I configure Asterisk for SIP Phones?
- Setup the LANforge ports so that they have valid IP addresses and IP masks.
- Setup Test 1, a Directed VoIP call.
| A: Go to the VoIP/RTP tab |
 |
| B: Click the Create button:
• Enter test-1 in the CX Name field
• Select the Multi-Call and Directed buttons
• Endpoint A is on Port eth2 in this example. If you have a PESQ licensed server
available, you can select Record and Enable PESQ.
• 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.
• Click OK to create the VoIP Directed call |
 |
| C: Verify that the test call is created |
 |
- Setup Test 2, a Gateway VoIP call.
| A: Go to the VoIP/RTP tab |
 |
| B: Click the Create button:
• Enter test-2 in the CX Name field
• Select the Multi-Call and Use Gateway buttons
• 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.
• Endpoint B is on Port eth2. Be sure to select the Rcv Call checkbox
for this endpoint to receive the call.
• Click OK to create the VoIP Gateway call |
 |
| C: Verify that the test call is created |
 |
- Run Test 1 and Test 2 individually.
| A: Select Test-1 and click the Start button |
 |
| B: Go to the VoIP/RTP Endps tab to see detailed results:
• The PESQ score will be reported after the first successful call is completed and
updated after each subsequent call
• 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 |
 |
| D: Go to the VoIP/RTP Endps tab to see detailed results:
• PESQ remains 0: 0 when it is disabled for the call in progress
• NOTE: Endpoints are Registered with the VoIP gateway while the call is in
progress
• Calls Attempted, Calls Completed and Calls Failed can be viewed by scrolling to
the right on the VoIP/RTP Endps tab |
 |
Email Candela Technologies at: support@candelatech.com
if you have any questions or suggestions.
Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618
Candela Technologies, 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com |
sales@candelatech.com | +1 360 380 1618
Last modified: Fri Mar 11 09:40:50 PST 2011