1 | | This page will contain the install instructions for the P2PNS implementation as soon as it is released. |
| 1 | These instructions show you how to install the P2PNS implementation for Linux. Compiling for Windows is currently not supported. |
| 2 | |
| 3 | 1. Download and install [http://www.oversim.org/ OverSim] according to the these [http://www.oversim.org/wiki/OverSimInstall install instructions]. |
| 4 | |
| 5 | 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: |
| 6 | {{{ |
| 7 | cd ~/sim |
| 8 | tar xzf /tmp/openser-1.3.1-p2psip-20080926.tgz |
| 9 | }}} |
| 10 | |
| 11 | 3. Compile and install OpenSER: |
| 12 | {{{ |
| 13 | cd ~/sim/openser-1.3.1-p2psip |
| 14 | make prefix=`pwd/install` install |
| 15 | }}} |
| 16 | |
| 17 | 4. Edit openser-1.3.1-p2psip/install/etc/openser/openser.cfg and change the following parameters: |
| 18 | {{{ |
| 19 | listen: change this to the local IP |
| 20 | 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/) |
| 21 | }}} |
| 22 | |
| 23 | 5. Edit OverSim-20080919/Simulations/realworld/realdhtapp.ini and remove the bootstrap IP: |
| 24 | {{{ |
| 25 | bootstrapIP: replace the "10.6.0.1" by "" |
| 26 | }}} |
| 27 | |
| 28 | 5. Start OverSim and click on the "FAST" button: |
| 29 | cd ~/sim/OverSim |
| 30 | bin/OverSim -f Simulations/realworld/realdhtapp.ini |
| 31 | |
| 32 | 6. Start OpenSER (in a new terminal): |
| 33 | cd ~/sim/openser-1.3.1-p2psip |
| 34 | install/sbin/openser -f install/etc/openser/openser.cfg |
| 35 | |
| 36 | 7. Start and configure a SIP UA of your choice (e.g. [http://www.ekiga.org/ Ekiga]): |
| 37 | Set the outgoing proxy to your local IP and port 5061 |
| 38 | Create a new SIP account with an arbitrary username and the domain ''p2p'' (e.g. alice@p2p) |
| 39 | Register the account at the local SIP proxy |
| 40 | |
| 41 | }}} |