Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 52 lines (31 sloc) 2.219 kb

About GreenJ

GreenJ is an open source Voice-over-IP phone software using pjsip and Qt. It can easily be used to build your own VoIP phone system. Our approach was not to build a complete phone with user interface, but instead provide an application that handles only the communication. The program logic and user interface are separated from the application by using an integrated browser. We use webkit as browser engine, which is well integrated into Qt (QWebView). A Javascript interface handles all communications between application and webpage. This means that you can use GreenJ as it is and create your VoIP phone entirely in HTML and JavaScript.

Visit for further information, binary downloads and an introduction to the javascript library.

Build GreenJ

For a complete overview, see building GreenJ under Windows or Linux

In addition, I want to give a step by step guide on how GreenJ can be compiled under Ubuntu.

Ubuntu (11.10 32-bit)

Install dependencies:

$ sudo apt-get update
$ sudo apt-get install build-essential
$ sudo apt-get install libqt4-dev
$ sudo apt-get install libasound2-dev
$ sudo apt-get install libphonon-dev

Download PJSIP (e.g. pjproject-1.12.tar.bz2) and extract it somewhere.

$ cd path/to/pjsip
$ ./configure
$ make dep & make

Now you can either install pjsip into your systemlibs or you have to set the path in the greenj project file later.

$ sudo make install

Clone this repository or download and extract GreenJ from

$ git clone git:// path/to/greenj

Open with an editor

$ nano path/to/greenj/build/

and change the unix PJSIP_TARGET entry so it matches your system (e.g. i686-pc-linux-gnu). (You could use $ find path/to/pjsip -name '*.a').

If you haven't installed pjsip into your systemlibs (see above), you have to set PJSIP_DIR to path/to/pjsip.

Compile GreenJ:

$ cd path/to/greenj/build
$ qmake
$ make
$ ../bin/linux/GreenJ

A file ~/.greenj/settings.conf has been created where you can change settings.

Something went wrong with that request. Please try again.