Version 4 (modified by ming, 10 years ago) (diff)


PJSUA2 Sample Applications

Sample Apps


There is a very simple C++ sample application available in pjsip-apps/src/samples/pjsua2_demo.cpp. The binary will be located in pjsip-apps/bin/samples.

Python GUI

This is a rather complete Python GUI sample apps, located in pjsip-apps/src/pygui. It requires Python 2.7 and above, and the Python SWIG module of course. To use the application, simply run:



Please see for Android sample application.


There is a Hello World type of application located in pjsip-apps/src/swig/java. This requires the Java SWIG module. After building the SWIG module, run make test from this directory to run the app.


You can paste the C++ sample application located in pjsip-apps/src/samples/pjsua2_demo.cpp into a .mm file in your iOS XCode project. Important: You have to use Obj-C++ (.mm) file instead of the default Obj-C (.m).


How to …