Download Latest Sources from Google Code
You can download the latest tar/gzip archive from the link above. Alternatively, you can browse the source code with documentation extracted from the corresponding specifications online here. The annotated source code for web view is generated using the included tool htmlify.py.
The downloaded archive will create the p2p-sip/ directory containing the source code in Python. The sub-directory src/ contains the source code packages app, std, tools and external.
The std package contains implementation of various IETF RFCs and Internet-drafts such as RFC 3261, RFC 3550, RFC 2617, etc. The app package contains the applications such as SIP client (voip.py), DHT using Bamboo (dht.py), etc. Some of the other modules are not yet completed.
You will need Python 2.5 to run the software. Set your python path and test a couple of modules such as voip and dhtgui before modifying the source code for your needs.
You need to set the PYTHONPATH environment variable before testing these modules. For example, you can do the following to test the voip module. It performs certain SIP registration, call and instant message test with iptel.org server.bash$ tar -zxvf source-*.tgz
bash$ cd p2p-sip/src
bash$ export PYTHONPATH=.:external:std:app
bash$ python app/voip.py
Each module comes with a simple test case to test that module. I will upload more example applications built using these basic modules soon. The following command launches a test user interface for P2P module. It depends on wxPython for user interface functions.
bash$ python app/dhtgui.py
This launches a user interface with DHT circle. You can click near the center of the circle to add a new node.
Beyond these examples, feel free to explore the source code and learn more about various modules.



Downloads