### Versions
Current version: **1.1**
Old versions: see branches
# 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 http://www.greenj.org 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](http://www.loremipsum.at/produkte/greenj/introduction/#builden)
In addition, I want to give a step by step guide on how GreenJ can be compiled under Ubuntu.
## Ubuntu (12.10 32-bit Desktop)
_Note: Also tested under Ubuntu 11.10 32-bit Desktop with the exact same steps._
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
You may also need libssl-dev (or disable the dependency in greenj.pro, search for -lssl)
[Download PJSIP](http://www.pjsip.org/download.htm) (e.g. pjproject-1.16.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 [greenj.org](http://www.greenj.org).
$ git clone git://github.com/danleeb/GreenJ.git path/to/greenj
Initialize and fetch all submodules (QtJson).
$ git submodule init
$ git submodule update
Open greenj.pro with an editor
$ nano path/to/greenj/build/greenj.pro
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.
没有合适的资源?快使用搜索试试~ 我知道了~
基于qt和PJSIP库的小项目
共62个文件
h:13个
cpp:11个
js:6个
4星 · 超过85%的资源 需积分: 49 74 下载量 173 浏览量
2018-10-09
10:38:54
上传
评论 2
收藏 10.43MB ZIP 举报
温馨提示
基于qt和PJSIP库的小项目 , 可以为初学者学习PJSIP库提供参考 .
资源推荐
资源详情
资源评论
收起资源包目录
GreenJ-master.zip (62个子文件)
GreenJ-master
UpgradeLog.htm 41KB
.gitignore 196B
greenj.sdf 31.63MB
build-greenj-Desktop_Qt_5_10_0_MinGW_32bit-Debug
README.md 3KB
.gitmodules 96B
greenj.sln 963B
Backup
greenj.sln 868B
build
vendor
qt-json
src
main.cpp 2KB
gui.ui 2KB
Gui.cpp 8KB
PrintHandler.cpp 2KB
JavascriptHandler.h 10KB
LogHandler.cpp 4KB
WebPage.h 1KB
Config.cpp 7KB
JavascriptHandler.cpp 19KB
Sound.cpp 2KB
Sound.h 1KB
docu.h 4KB
Config.h 2KB
LogHandler.h 4KB
PrintHandler.h 1KB
Gui.h 2KB
phone
api
Interface.h 7KB
Sip.cpp 23KB
Sip.h 5KB
Account.cpp 2KB
Account.h 1KB
Phone.h 7KB
Call.h 7KB
Phone.cpp 10KB
Call.cpp 10KB
CHANGELOG.txt 2KB
build
greenj.pro.user 23KB
greenj.vcxproj 29KB
greenj.vsprops 290B
greenj.vcxproj.filters 7KB
greenj.pro 5KB
greenj.props 746B
greenj.vcproj 31KB
phone
css
jquery-ui-1.8.14.custom.css 34KB
style.css 13KB
images
ui-icons_cd0a0a_256x240.png 4KB
ui-icons_454545_256x240.png 4KB
ui-icons_222222_256x240.png 4KB
ui-icons_888888_256x240.png 4KB
ajax-loader.gif 5KB
ui-icons_2e83ff_256x240.png 5KB
js
qt-dummy.js 12KB
base.js 26KB
script.js 21KB
phone-lib.js 45KB
jquery.plugin.tinyscrollbar.min.js 3KB
jquery.plugin.tinyscrollbar.js 5KB
index.html 5KB
greenj.v12.suo 23KB
res
images
icon.xpm 5KB
icon.ico 17KB
gui.qrc 97B
greenj.rc 65B
doc
doxygen.conf 70KB
LICENSE.GPL 35KB
共 62 条
- 1
资源评论
- haizi142019-02-20好东西 但是没有源码
- qq_361491212019-04-17试试吧试试
- m0_378043382018-12-24可以可以可
hasakei_
- 粉丝: 14
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功