From Cng1wiki

Jump to: navigation, search

<analytics uacct="UA-1580095-2" ></analytics>

Dear ns2voip user, we want to inform you that this software is no longer maintained. An enhanced revision of this module (ns2voip++) can be found here

Voice over IP (VoIP) is gaining an ever increasing popularity. As such, it nowadays represents one of the most studied test applications in the performance evaluation of wireline and wireless networks. However, a sound performance analysis of VoIP communications should be carried out at the user level, by computing perceptive metrics like the Mean Opinion Score (MOS) or the E-Model.

In this site, you will find an enhancement to the popular Network Simulator 2 (ns-2) that allows a reliable VoIP user-level performance analysis to be carried out through simulation.

If you use our extension for your research, we would appreciate if you could cite the following reference, that you can download from here:

  User-level Performance Evaluation of VoIP Using ns-2
  Andrea Bacioccola, Claudio Cicconetti, Giovanni Stea
  Workshop on Network Simulation Tools (NSTools) 2007
  Nantes, France, October 22, 2007


To install the patch, follow the instructions below:

1. download the ns-allinone-2.31 package from SourceForge

2. unpack the file that you just downloaded in your preferred location (let us assume the location is /usr/local). This will create a directory named /usr/local/ns-allinone-2.31

3. download the latest patch (let us assume that you downloaded the file in /tmp)

4. apply the patch, by executing the following command:

     cd /usr/local/ns-allinone-2.31/ns-2.31
     gzip -dc /tmp/ns2voip-2.31-070906.patch.gz | patch -Np1

5. compile the all-in-one patched ns-2.31, by executing the following command:


6. (optional) execute the following Tcl script example:


The ns2voip patch includes an enhanced version of our ns2measure module, which is used to collect VoIP measures in an easy and efficient way. See ns2measure to get detailed instructions on how to use the ns2measure module and to download the related statistical utilities tools.

License information

ns2voip has been developed by the Computer Networking Group of the Dipartimento di Ingegneria dell'Informazione of the University of Pisa, Italy.

All the software and documentation related to ns2voip and available in this page is released under the GNU General Public License, which means (roughly) that you can download the sources and modify them and do with them whatever you are legally entitled to, provided that you keep the license information in all the files that you use/redistribute. BUT, you cannot incorporate this software into proprietary programs.


We would really like to know if you are using this software. So, please, if you like it (or if you don't), drop an email to the support team. Thanks.

Personal tools