These instructions show you how to install the P2PNS implementation for Linux. Compiling for Windows is currently not supported. 1. Download and install [http://www.oversim.org/ OverSim] according to the these [http://www.oversim.org/wiki/OverSimInstall install instructions]. 2. Download the modified OpenSER SIP proxy [http://www.p2pns.org/chrome/site/openser-1.3.1-p2psip-20080926.tgz openser-1.3.1-p2psip-20080926.tgz] and extract in next to your !OverSim installation: {{{ cd ~/sim tar xzf /tmp/openser-1.3.1-p2psip-20080926.tgz }}} 3. Compile and install !OpenSER: {{{ cd ~/sim/openser-1.3.1-p2psip make prefix=`pwd/install` install }}} 4. Edit openser-1.3.1-p2psip/install/etc/openser/openser.cfg and change the following parameters: {{{ listen: change this to the local IP mpath: change this to the module path of your OpenSER installation (e.g. /home/user/sim/open-1.3.1-p2psip/install/lib/openser/modules/) }}} 5. Edit !OverSim-20080919/Simulations/realworld/realdhtapp.ini and remove the bootstrap IP: {{{ bootstrapIP: replace the "10.6.0.1" by "" }}} 5. Start !OverSim and click on the "FAST" button: {{{ cd ~/sim/OverSim bin/OverSim -f Simulations/realworld/realdhtapp.ini }}} 6. Start !OpenSER (in a new terminal): {{{ cd ~/sim/openser-1.3.1-p2psip install/sbin/openser -f install/etc/openser/openser.cfg }}} 7. Start and configure a SIP UA of your choice (e.g. [http://www.ekiga.org/ Ekiga]): {{{ - Set the outgoing proxy to ''localIP'':5061 (With Ekiga: ''Edit->Preferences->SIP Settings->Outbound Proxy'' - Create a new SIP account with an arbitrary username and the domain ''p2p'' (e.g. alice@p2p) (With Ekiga: ''Edit->Accounts->Add'': Account Name and User ''alice'' and Registrar ''p2p'') - Register the account at the local SIP proxy (With Ekiga: ''Edit->Accounts'': Click the checkbox next to the account, if it's not already registered) }}}