From Cng1wiki

Revision as of 19:29, 24 November 2010 by Vallati (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

In the last ten years, approximately all the circuit switched networks have been replaced with packet switched networks. As such, simulating Voice over IP has become of paramount importance in assessing the performance of a network. However a sound performance analysis should be carried out through a traffic model which is as close as possible to a real deployment. We present enhancements to ns2voip, a module for simulating realistic VoIP traffic in ns2 simulator. In detail we improve its reliability adding a new correlated model for packet generation and implementing a set of realistic play out buffer to simulate the behavior of the receiver.

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


To install the patch, follow the instructions below:

1. download the ns-allinone-2.34 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.34

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.34/ns-2.34
     cat /tmp/ns2VoIP++150310.patch | patch -Np1

5. compile the all-in-one patched ns-2.34, 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