GithubHelp home page GithubHelp logo

danleeb / greenj Goto Github PK

View Code? Open in Web Editor NEW
60.0 60.0 37.0 509 KB

GreenJ is an open source Voice-over-IP phone software (softphone) using pjsip and Qt. It can easily be used to build your own VoIP phone system.

Home Page: http://www.greenj.org

License: Other

Prolog 1.54% CSS 4.87% JavaScript 41.01% C++ 50.90% C 1.68%

greenj's People

Contributors

danleeb avatar jkatzer avatar sickpig avatar thomasst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

greenj's Issues

Issues in building a web based soft phone using green J library

Hi
Using GreenJ library I am trying to build a web-based soft-phone.What I am trying to do is as follows:

1)I want to have an HTML page, which displays username, host and password, so that a user could register to the server through this page.

2)Once the registration is successful, my web page should diaplay the web-soft-phone using which I could make call.

Now to achieve this, I built GreenJ library under visual studio 2008 and with modification in index.html I have been successful to build a soft phone. When executed from within greenj using visual studio, the application is working fine as it is launching the Integrated browser.

But when I use an external browser like Mozilla firefox to launch index.html it does not work. Where am I wrong? I have placed all the required DLLs and images as suggested on the webiste but to no avail. What Will I have to do for this so that I am able to launch my web page directly with external browser though which I can connect to the sip server for registration and for making calls.

Looking forward to hearing from you ASAP.

Regards,
Mukesh

Only white interface

Hi, I've built GreenJ but the application only displays a white window, now what?? thanks in advance, Regards.

Build trouble JavascriptHandler.cpp

../src/JavascriptHandler.cpp:25:15: error: ‘QtJson::Json’ has not been declared
../src/JavascriptHandler.cpp: In member function ‘void JavascriptHandler::incomingCall(const phone::Call&) const’:
../src/JavascriptHandler.cpp:56:42: error: ‘Json’ has not been declared
../src/JavascriptHandler.cpp: In member function ‘void JavascriptHandler::slotLogMessage(const LogInfo&) const’:
../src/JavascriptHandler.cpp:513:40: error: ‘Json’ has not been declared
make: *** [../build/linux/JavascriptHandler.o] Error 1

Linux mint 15
QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib/x86_64-linux-gnu
GNU Make 3.81

Compatibility with Qt 4.6

Hello,

to make GreenJ work with Qt 4.6 you have to modify the file call.cpp and replace the methods .toMSecsSinceEpoch() by .toTime_t() * 1000.

Now it compiles also on Ubuntu 10.04 and Qt 4.6.

Loading external webservice response

Hello everyone,

I need to send a request to an external web service upon receiving a call, and consume the response in greenj, i.e. show the caller name by looking up the name from an online phone book:

var parameters = "{'CallerID':'" + call.getNumber() + "'}";
try
{
$.ajax({ type: "POST", url: "http://www.abc.com/WSC/WebServices.asmx/callerID", data: parameters, cache: false, contentType: "application/json; charset=utf-8", dataType: "json", cache: false, success: function (msg) { $('#log ul').append('

  • Caller:' + msg.d + '
  • ');}, error: function (err) { $('#log ul').append('
  • Error:' + err.message + '
  • ');} });
    }
    catch(err){
    alert(err.message);
    }

    But this script always returns "Error:" with no error message and no result.

    I have tried many different ways with no luck.
    So my first question is whether or not I can use web services from external websites.

    Thank you,

    Regards,

    Error after I run "make" for GreenJ. Please Help.

    -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/phone.o ../src/phone.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/sound.o ../src/sound.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/account.o ../src/account.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/sip_phone.o ../src/sip_phone.cpp
    ../src/sip_phone.cpp: In member function ‘virtual void SipPhone::init()’:
    ../src/sip_phone.cpp:93:32: warning: variable ‘tcp_cfg’ set but not used [-Wunused-but-set-variable]
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/config_file_handler.o ../src/config_file_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/javascript_handler.o ../src/javascript_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/print_handler.o ../src/print_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/log_handler.o ../src/log_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/log_info.o ../src/log_info.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/gui.h -o ../src/GeneratedFiles/debug/moc_gui.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_gui.o ../src/GeneratedFiles/debug/moc_gui.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/phone_api.h -o ../src/GeneratedFiles/debug/moc_phone_api.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_phone_api.o ../src/GeneratedFiles/debug/moc_phone_api.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/phone.h -o ../src/GeneratedFiles/debug/moc_phone.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_phone.o ../src/GeneratedFiles/debug/moc_phone.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/sound.h -o ../src/GeneratedFiles/debug/moc_sound.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_sound.o ../src/GeneratedFiles/debug/moc_sound.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/sip_phone.h -o ../src/GeneratedFiles/debug/moc_sip_phone.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_sip_phone.o ../src/GeneratedFiles/debug/moc_sip_phone.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/config_file_handler.h -o ../src/GeneratedFiles/debug/moc_config_file_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_config_file_handler.o ../src/GeneratedFiles/debug/moc_config_file_handler.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/javascript_handler.h -o ../src/GeneratedFiles/debug/moc_javascript_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_javascript_handler.o ../src/GeneratedFiles/debug/moc_javascript_handler.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/print_handler.h -o ../src/GeneratedFiles/debug/moc_print_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_print_handler.o ../src/GeneratedFiles/debug/moc_print_handler.cpp
    /usr/bin/moc-qt4 -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles ../src/log_handler.h -o ../src/GeneratedFiles/debug/moc_log_handler.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/moc_log_handler.o ../src/GeneratedFiles/debug/moc_log_handler.cpp
    /usr/bin/rcc -name gui ../res/gui.qrc -o ../src/GeneratedFiles/qrc_gui.cpp
    g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DDEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../src/GeneratedFiles -I../src/GeneratedFiles/Debug -I../src -I../../pjproject-2.1.0 -I../../pjproject-2.1.0/pjmedia/include -I../../pjproject-2.1.0/pjsip/include -I../../pjproject-2.1.0/pjnath/include -I../../pjproject-2.1.0/pjmedia/include/pjmedia-codec -I../../pjproject-2.1.0/pjmedia/include/pjmedia-audiodev -I../../pjproject-2.1.0/pjmedia/include/pjmedia -I../../pjproject-2.1.0/pjlib-util/include -I../../pjproject-2.1.0/pjlib/include -I/usr/include -I/usr/include/qt4/phonon_compat -I../src/GeneratedFiles/debug -I../src/GeneratedFiles -o ../build/linux/qrc_gui.o ../src/GeneratedFiles/qrc_gui.cpp
    g++ -m64 -o ../bin/linux/GreenJ ../build/linux/main.o ../build/linux/call.o ../build/linux/gui.o ../build/linux/gui_window_handler.o ../build/linux/phone.o ../build/linux/sound.o ../build/linux/account.o ../build/linux/sip_phone.o ../build/linux/config_file_handler.o ../build/linux/javascript_handler.o ../build/linux/print_handler.o ../build/linux/log_handler.o ../build/linux/log_info.o ../build/linux/moc_gui.o ../build/linux/moc_phone_api.o ../build/linux/moc_phone.o ../build/linux/moc_sound.o ../build/linux/moc_sip_phone.o ../build/linux/moc_config_file_handler.o ../build/linux/moc_javascript_handler.o ../build/linux/moc_print_handler.o ../build/linux/moc_log_handler.o ../build/linux/qrc_gui.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/ -L../lib/linux/ -L/home/fourier/Desktop/pjproject-2.1.0/third_party/lib -L/home/fourier/Desktop/pjproject-2.1.0/pjsip/lib -L/home/fourier/Desktop/pjproject-2.1.0/pjnath/lib -L/home/fourier/Desktop/pjproject-2.1.0/pjmedia/lib -L/home/fourier/Desktop/pjproject-2.1.0/pjlib-util/lib -L/home/fourier/Desktop/pjproject-2.1.0/pjlib/lib -lpjsua-x86_64-unknown-linux-gnu -lpjsip-ua-x86_64-unknown-linux-gnu -lpjsip-simple-x86_64-unknown-linux-gnu -lpjsip-x86_64-unknown-linux-gnu -lpjmedia-codec-x86_64-unknown-linux-gnu -lpjmedia-x86_64-unknown-linux-gnu -lpjmedia-audiodev-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu -lresample-x86_64-unknown-linux-gnu -lmilenage-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu -lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu -lilbccodec-x86_64-unknown-linux-gnu -lg7221codec-x86_64-unknown-linux-gnu -lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu -lm -lnsl -lrt -lasound -lQtWebKit -lphonon -lQtGui -lQtNetwork -lQtCore -lpthread
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function reset_ssl_sock_state': ssl_sock_ossl.c:(.text+0x15b): undefined reference toSSL_shutdown'
    ssl_sock_ossl.c:(.text+0x167): undefined reference to SSL_free' ssl_sock_ossl.c:(.text+0x183): undefined reference toSSL_CTX_free'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function ssl_strerror': ssl_sock_ossl.c:(.text+0x32f): undefined reference toERR_reason_error_string'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function verify_cb': ssl_sock_ossl.c:(.text+0x3c9): undefined reference toSSL_get_ex_data_X509_STORE_CTX_idx'
    ssl_sock_ossl.c:(.text+0x3d3): undefined reference to X509_STORE_CTX_get_ex_data' ssl_sock_ossl.c:(.text+0x3ea): undefined reference toSSL_get_ex_data'
    ssl_sock_ossl.c:(.text+0x3fe): undefined reference to X509_STORE_CTX_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionSTATUS_FROM_SSL_ERR.isra.1':
    ssl_sock_ossl.c:(.text+0x586): undefined reference to ERR_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionGET_SSL_STATUS':
    ssl_sock_ossl.c:(.text+0x5a5): undefined reference to ERR_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionset_cipher_list':
    ssl_sock_ossl.c:(.text+0x639): undefined reference to SSL_set_cipher_list' ssl_sock_ossl.c:(.text+0x646): undefined reference toSSL_get_ciphers'
    ssl_sock_ossl.c:(.text+0x676): undefined reference to sk_value' ssl_sock_ossl.c:(.text+0x699): undefined reference tosk_num'
    ssl_sock_ossl.c:(.text+0x6c5): undefined reference to SSL_set_cipher_list' ssl_sock_ossl.c:(.text+0x6ec): undefined reference toSSL_CIPHER_get_name'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function init_openssl': ssl_sock_ossl.c:(.text+0x967): undefined reference toSSL_library_init'
    ssl_sock_ossl.c:(.text+0x971): undefined reference to SSL_load_error_strings' ssl_sock_ossl.c:(.text+0x976): undefined reference toOPENSSL_add_all_algorithms_noconf'
    ssl_sock_ossl.c:(.text+0x989): undefined reference to SSLv23_server_method' ssl_sock_ossl.c:(.text+0x9a0): undefined reference toSSL_CTX_new'
    ssl_sock_ossl.c:(.text+0x9b0): undefined reference to SSL_CTX_set_cipher_list' ssl_sock_ossl.c:(.text+0x9b8): undefined reference toSSL_new'
    ssl_sock_ossl.c:(.text+0x9c3): undefined reference to SSL_get_ciphers' ssl_sock_ossl.c:(.text+0x9ce): undefined reference tosk_num'
    ssl_sock_ossl.c:(.text+0x9f1): undefined reference to sk_value' ssl_sock_ossl.c:(.text+0xa06): undefined reference toSSL_CIPHER_get_name'
    ssl_sock_ossl.c:(.text+0xa1b): undefined reference to SSL_free' ssl_sock_ossl.c:(.text+0xa23): undefined reference toSSL_CTX_free'
    ssl_sock_ossl.c:(.text+0xa3d): undefined reference to SSL_get_ex_new_index' ssl_sock_ossl.c:(.text+0xa4d): undefined reference toTLSv1_server_method'
    ssl_sock_ossl.c:(.text+0xa5b): undefined reference to SSLv3_server_method' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functioncreate_ssl':
    ssl_sock_ossl.c:(.text+0xae3): undefined reference to TLSv1_method' ssl_sock_ossl.c:(.text+0xaeb): undefined reference toSSL_CTX_new'
    ssl_sock_ossl.c:(.text+0xb3b): undefined reference to SSL_new' ssl_sock_ossl.c:(.text+0xb5c): undefined reference toSSL_set_ex_data'
    ssl_sock_ossl.c:(.text+0xb8d): undefined reference to SSL_set_verify' ssl_sock_ossl.c:(.text+0xba4): undefined reference toBIO_s_mem'
    ssl_sock_ossl.c:(.text+0xbac): undefined reference to BIO_new' ssl_sock_ossl.c:(.text+0xbb8): undefined reference toBIO_s_mem'
    ssl_sock_ossl.c:(.text+0xbc0): undefined reference to BIO_new' ssl_sock_ossl.c:(.text+0xbdf): undefined reference toBIO_ctrl'
    ssl_sock_ossl.c:(.text+0xbf7): undefined reference to BIO_ctrl' ssl_sock_ossl.c:(.text+0xc11): undefined reference toSSL_set_bio'
    ssl_sock_ossl.c:(.text+0xc49): undefined reference to SSLv23_method' ssl_sock_ossl.c:(.text+0xc59): undefined reference toSSLv3_method'
    ssl_sock_ossl.c:(.text+0xc72): undefined reference to SSL_CTX_load_verify_locations' ssl_sock_ossl.c:(.text+0xcad): undefined reference toSSL_CTX_free'
    ssl_sock_ossl.c:(.text+0xcc9): undefined reference to SSL_CTX_set_default_passwd_cb' ssl_sock_ossl.c:(.text+0xcd4): undefined reference toSSL_CTX_set_default_passwd_cb_userdata'
    ssl_sock_ossl.c:(.text+0xced): undefined reference to SSL_CTX_use_certificate_chain_file' ssl_sock_ossl.c:(.text+0xd3e): undefined reference toSSL_CTX_use_PrivateKey_file'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function flush_write_bio': ssl_sock_ossl.c:(.text+0xe9b): undefined reference toBIO_ctrl'
    ssl_sock_ossl.c:(.text+0xebb): undefined reference to BIO_ctrl' ssl_sock_ossl.c:(.text+0x103f): undefined reference toBIO_ctrl'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function do_handshake': ssl_sock_ossl.c:(.text+0x11cd): undefined reference toSSL_do_handshake'
    ssl_sock_ossl.c:(.text+0x1205): undefined reference to SSL_state' ssl_sock_ossl.c:(.text+0x1232): undefined reference toSSL_get_error'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function ssl_write': ssl_sock_ossl.c:(.text+0x12b6): undefined reference toSSL_write'
    ssl_sock_ossl.c:(.text+0x133b): undefined reference to SSL_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionget_cert_info':
    ssl_sock_ossl.c:(.text+0x1564): undefined reference to X509_get_issuer_name' ssl_sock_ossl.c:(.text+0x1576): undefined reference toX509_NAME_oneline'
    ssl_sock_ossl.c:(.text+0x157e): undefined reference to X509_get_serialNumber' ssl_sock_ossl.c:(.text+0x158a): undefined reference toX509_get_serialNumber'
    ssl_sock_ossl.c:(.text+0x1621): undefined reference to ASN1_INTEGER_get' ssl_sock_ossl.c:(.text+0x1671): undefined reference toX509_get_subject_name'
    ssl_sock_ossl.c:(.text+0x1683): undefined reference to X509_NAME_oneline' ssl_sock_ossl.c:(.text+0x178d): undefined reference toX509_get_ext_d2i'
    ssl_sock_ossl.c:(.text+0x17a1): undefined reference to sk_num' ssl_sock_ossl.c:(.text+0x17f0): undefined reference tosk_value'
    ssl_sock_ossl.c:(.text+0x18b2): undefined reference to ASN1_STRING_to_UTF8' ssl_sock_ossl.c:(.text+0x18df): undefined reference toASN1_STRING_data'
    ssl_sock_ossl.c:(.text+0x18f1): undefined reference to ASN1_STRING_length' ssl_sock_ossl.c:(.text+0x1912): undefined reference toASN1_STRING_to_UTF8'
    ssl_sock_ossl.c:(.text+0x1932): undefined reference to ASN1_STRING_to_UTF8' ssl_sock_ossl.c:(.text+0x195d): undefined reference toCRYPTO_free'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function update_certs_info': ssl_sock_ossl.c:(.text+0x19de): undefined reference toSSL_get_certificate'
    ssl_sock_ossl.c:(.text+0x1a05): undefined reference to SSL_get_peer_certificate' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionon_handshake_complete':
    ssl_sock_ossl.c:(.text+0x2331): undefined reference to ERR_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionasock_on_data_read':
    ssl_sock_ossl.c:(.text+0x2529): undefined reference to SSL_read' ssl_sock_ossl.c:(.text+0x25c7): undefined reference toBIO_write'
    ssl_sock_ossl.c:(.text+0x2654): undefined reference to SSL_get_error' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionasock_on_connect_complete':
    ssl_sock_ossl.c:(.text+0x28a9): undefined reference to SSL_set_connect_state' ssl_sock_ossl.c:(.text+0x28e3): undefined reference toSSL_ctrl'
    ssl_sock_ossl.c:(.text+0x28ed): undefined reference to ERR_get_error' ssl_sock_ossl.c:(.text+0x28fd): undefined reference toERR_error_string_n'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function asock_on_accept_complete': ssl_sock_ossl.c:(.text+0x2c8f): undefined reference toSSL_set_accept_state'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function pj_ssl_sock_get_info': ssl_sock_ossl.c:(.text+0x2e53): undefined reference toSSL_get_current_cipher'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function pj_ssl_sock_renegotiate': ssl_sock_ossl.c:(.text+0x3718): undefined reference toSSL_renegotiate_pending'
    ssl_sock_ossl.c:(.text+0x3738): undefined reference to SSL_renegotiate' /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In functionreset_ssl_sock_state':
    ssl_sock_ossl.c:(.text+0x1bb): undefined reference to ERR_clear_error' ssl_sock_ossl.c:(.text+0x1df): undefined reference toERR_clear_error'
    /home/fourier/Desktop/pjproject-2.1.0/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a(ssl_sock_ossl.o): In function update_certs_info': ssl_sock_ossl.c:(.text+0x1a2d): undefined reference toX509_free'
    collect2: ld returned 1 exit status
    make: *** [../bin/linux/GreenJ] Error 1

    Windows binaries not working

    Been using greenj for about a year but can't get the 1.1 binaries to work.

    Using my SIP settings from the existing app in the new sample app none of the javascript seems to run:

    image

    With logging set to 0 all that appears in the log is:
    ========== Thu 22.08.2013 14:40:37 - Session closed ==========
    14:40:39 [MESSAGE] pjsip: [0] Account unregistered
    ========== Thu 22.08.2013 14:40:40 - Session closed ==========

    Using my old web app to make a call I get:
    ========== Thu 22.08.2013 14:32:35 - Session started ==========
    14:32:47 [MESSAGE] pjsip: [0] Make call
    14:32:49 [ERROR] pjsip: [171042] Error making call
    14:32:49 [ERROR] js_handler: [0] makeCall: failed

    Tried on windows 7 32 and 64 machines.

    Regards

    Brian

    Problem Building On Windows (QTJson)

    Hi there,

    I'm having a problem when i try com build the 1.1 Branch...

    When i'm compiling JavascriptHandler.cpp i got this errors:

    1>..\src\JavascriptHandler.cpp(25) : error C2039: 'json' : is not a member of 'QtJson'
    1>..\src\JavascriptHandler.cpp(25) : error C2873: 'json' : symbol cannot be used in a using-declaration
    1>..\src\JavascriptHandler.cpp(56) : error C2653: 'Json' : is not a class or namespace name
    1>..\src\JavascriptHandler.cpp(56) : error C3861: 'serialize': identifier not found
    1>..\src\JavascriptHandler.cpp(513) : error C2653: 'Json' : is not a class or namespace name
    1>..\src\JavascriptHandler.cpp(513) : error C3861: 'serialize': identifier not found
    1>Build log was saved at "file://G:\SOFTWARE\GreenJ-1.1\GreenJ-1.1\build\win32\Debug\BuildLog.htm"
    1>greenj - 6 error(s), 1 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    I've checked and i have the qt-json source code in the "vendor/qt-json/" folder.

    i'm using Visual C++ 2008 Express and pjsip 1.16, and i have no problems to build the 1.0 branch...

    Thanks for the help.

    Regards.

    Windows 7,VS 2012, QT 4.8, PJSIP 1 and 2, Error while compling. Undeclared identifier

    Hi!

    I am trying to compile GreenJ and I cannot resolve this issue.. I have tried everything I could think of.

    This is some of the error message. After this it just repeats for the other .cpp files.

    Is this a known problem?

    1>------ Rebuild All started: Project: greenj, Configuration: Debug Win32 ------
    1> Moc'ing config_file_handler.h...
    1> Moc'ing gui.h...
    1> Moc'ing javascript_handler.h...
    1> Moc'ing log_handler.h...
    1> Moc'ing phone.h...
    1> Performing Custom Build Tools
    1> Moc'ing print_handler.h...
    1> Performing Custom Build Tools
    1> Performing Custom Build Tools
    1> Uic'ing gui.ui...
    1> Performing Custom Build Tools
    1> account.cpp
    1>e:\qt\4.8.5_vs10\include\qtcore../../src/corelib/global/qconfig.h(41): warning C4005: 'QT_LARGEFILE_SUPPORT' : macro redefinition
    1> command-line arguments : see previous definition of 'QT_LARGEFILE_SUPPORT'
    1>E:\VS2012\VC\include\system_error(26): error C2065: 'EAFNOSUPPORT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(27): error C2065: 'EADDRINUSE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(28): error C2065: 'EADDRNOTAVAIL' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(29): error C2065: 'EISCONN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(30): error C2065: 'E2BIG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(32): error C2065: 'EFAULT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(33): error C2065: 'EBADF' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(34): error C2065: 'EBADMSG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(35): error C2065: 'EPIPE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(36): error C2065: 'ECONNABORTED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(37): error C2065: 'EALREADY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(38): error C2065: 'ECONNREFUSED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(39): error C2065: 'ECONNRESET' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(40): error C2065: 'EXDEV' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(41): error C2065: 'EDESTADDRREQ' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(42): error C2065: 'EBUSY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(43): error C2065: 'ENOTEMPTY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(44): error C2065: 'ENOEXEC' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(45): error C2065: 'EEXIST' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(46): error C2065: 'EFBIG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(47): error C2065: 'ENAMETOOLONG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(48): error C2065: 'ENOSYS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(49): error C2065: 'EHOSTUNREACH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(50): error C2065: 'EIDRM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(51): error C2065: 'EILSEQ' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(52): error C2065: 'ENOTTY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(53): error C2065: 'EINTR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(54): error C2065: 'EINVAL' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(55): error C2065: 'ESPIPE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(56): error C2065: 'EIO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(57): error C2065: 'EISDIR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(58): error C2065: 'EMSGSIZE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(59): error C2065: 'ENETDOWN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(60): error C2065: 'ENETRESET' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(61): error C2065: 'ENETUNREACH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(62): error C2065: 'ENOBUFS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(63): error C2065: 'ECHILD' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(64): error C2065: 'ENOLINK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(65): error C2065: 'ENOLCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(66): error C2065: 'ENODATA' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(67): error C2065: 'ENOMSG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(68): error C2065: 'ENOPROTOOPT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(69): error C2065: 'ENOSPC' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(70): error C2065: 'ENOSR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(71): error C2065: 'ENXIO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(72): error C2065: 'ENODEV' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(73): error C2065: 'ENOENT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(74): error C2065: 'ESRCH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(75): error C2065: 'ENOTDIR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(76): error C2065: 'ENOTSOCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(77): error C2065: 'ENOSTR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(78): error C2065: 'ENOTCONN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(79): error C2065: 'ENOMEM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(80): error C2065: 'ENOTSUP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(81): error C2065: 'ECANCELED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(82): error C2065: 'EINPROGRESS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(83): error C2065: 'EPERM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(84): error C2065: 'EOPNOTSUPP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(85): error C2065: 'EWOULDBLOCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(86): error C2065: 'EOWNERDEAD' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(87): error C2065: 'EACCES' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(88): error C2065: 'EPROTO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(89): error C2065: 'EPROTONOSUPPORT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(90): error C2065: 'EROFS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(91): error C2065: 'EDEADLK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(92): error C2065: 'EAGAIN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(94): error C2065: 'ENOTRECOVERABLE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(95): error C2065: 'ETIME' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(96): error C2065: 'ETXTBSY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(97): error C2065: 'ETIMEDOUT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(98): error C2065: 'ENFILE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(99): error C2065: 'EMFILE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(100): error C2065: 'EMLINK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(101): error C2065: 'ELOOP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(102): error C2065: 'EOVERFLOW' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(104): error C2065: 'EPROTOTYPE' : undeclared identifier
    1> call.cpp
    1>e:\qt\4.8.5_vs10\include\qtcore../../src/corelib/global/qconfig.h(41): warning C4005: 'QT_LARGEFILE_SUPPORT' : macro redefinition
    1> command-line arguments : see previous definition of 'QT_LARGEFILE_SUPPORT'
    1>E:\VS2012\VC\include\system_error(26): error C2065: 'EAFNOSUPPORT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(27): error C2065: 'EADDRINUSE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(28): error C2065: 'EADDRNOTAVAIL' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(29): error C2065: 'EISCONN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(30): error C2065: 'E2BIG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(32): error C2065: 'EFAULT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(33): error C2065: 'EBADF' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(34): error C2065: 'EBADMSG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(35): error C2065: 'EPIPE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(36): error C2065: 'ECONNABORTED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(37): error C2065: 'EALREADY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(38): error C2065: 'ECONNREFUSED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(39): error C2065: 'ECONNRESET' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(40): error C2065: 'EXDEV' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(41): error C2065: 'EDESTADDRREQ' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(42): error C2065: 'EBUSY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(43): error C2065: 'ENOTEMPTY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(44): error C2065: 'ENOEXEC' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(45): error C2065: 'EEXIST' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(46): error C2065: 'EFBIG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(47): error C2065: 'ENAMETOOLONG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(48): error C2065: 'ENOSYS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(49): error C2065: 'EHOSTUNREACH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(50): error C2065: 'EIDRM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(51): error C2065: 'EILSEQ' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(52): error C2065: 'ENOTTY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(53): error C2065: 'EINTR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(54): error C2065: 'EINVAL' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(55): error C2065: 'ESPIPE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(56): error C2065: 'EIO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(57): error C2065: 'EISDIR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(58): error C2065: 'EMSGSIZE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(59): error C2065: 'ENETDOWN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(60): error C2065: 'ENETRESET' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(61): error C2065: 'ENETUNREACH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(62): error C2065: 'ENOBUFS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(63): error C2065: 'ECHILD' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(64): error C2065: 'ENOLINK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(65): error C2065: 'ENOLCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(66): error C2065: 'ENODATA' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(67): error C2065: 'ENOMSG' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(68): error C2065: 'ENOPROTOOPT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(69): error C2065: 'ENOSPC' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(70): error C2065: 'ENOSR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(71): error C2065: 'ENXIO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(72): error C2065: 'ENODEV' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(73): error C2065: 'ENOENT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(74): error C2065: 'ESRCH' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(75): error C2065: 'ENOTDIR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(76): error C2065: 'ENOTSOCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(77): error C2065: 'ENOSTR' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(78): error C2065: 'ENOTCONN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(79): error C2065: 'ENOMEM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(80): error C2065: 'ENOTSUP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(81): error C2065: 'ECANCELED' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(82): error C2065: 'EINPROGRESS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(83): error C2065: 'EPERM' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(84): error C2065: 'EOPNOTSUPP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(85): error C2065: 'EWOULDBLOCK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(86): error C2065: 'EOWNERDEAD' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(87): error C2065: 'EACCES' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(88): error C2065: 'EPROTO' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(89): error C2065: 'EPROTONOSUPPORT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(90): error C2065: 'EROFS' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(91): error C2065: 'EDEADLK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(92): error C2065: 'EAGAIN' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(94): error C2065: 'ENOTRECOVERABLE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(95): error C2065: 'ETIME' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(96): error C2065: 'ETXTBSY' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(97): error C2065: 'ETIMEDOUT' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(98): error C2065: 'ENFILE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(99): error C2065: 'EMFILE' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(100): error C2065: 'EMLINK' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(101): error C2065: 'ELOOP' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(102): error C2065: 'EOVERFLOW' : undeclared identifier
    1>E:\VS2012\VC\include\system_error(104): error C2065: 'EPROTOTYPE' : undeclared identifier
    1> config_file_handler.cpp

    How do I specify which codecs to use?

    Hello

    Love GreenJ. A really excellent and flexible SIP phone.

    How do I ensure my calls go out as G711a? I have scoured the docs and can't find anything!

    Thanks in advance.

    Missing file from GreenJ

    I am attempting to compile GreenJ and I am getting this error after I run make:

    make: *** No rule to make target ../res/images/greenj.icns', needed by../bin/mac/GreenJ.app/Contents/Resources/greenj.icns'. Stop.

    This file is nowhere to be found and I do not know why it is asking me for this/why I need this file. Any help would be appreciated! Thank you.

    No connection to Asterisk

    Just installed Asterisk 1.8 on Debian 6.0. Using a windows XP laptop and Windows 7desktop both x-lite and zoiper connect. GreenJ just gives the spinning dial and why I take to be 'Connecting to Server' in Deutsche.

    I have downloaded the VS2008 distributable and have tried using the 'basic phone' sample from the library page but still no luck.

    The log only records 'System starting', error file is createdbut is empty.

    Connection settings are:
    var settings = {
    host: '10.0.0.111',
    name: '1001',
    secret: '1001'
    };

    Am I missing something?

    Support for ZRTP and/or SRTP

    Hello,

    I have found your fantastic GreenJ project a fea days ago and I am rather impressed. Thank you for your work.

    I am thinking about implementing a soft phone based on GreenJ but I need ZRTP or at least SRTP for it. As far as I know PJSIP support both.

    Thanks,

    David

    Windows binaries not working

    Been using greenj for about a year but can't get the 1.1 binaries to work.

    Using my SIP settings from the existing app in the new sample app none of the javascript seems to run:

    image

    With logging set to 0 all that appears in the log is:
    ========== Thu 22.08.2013 14:40:37 - Session closed ==========
    14:40:39 [MESSAGE] pjsip: [0] Account unregistered
    ========== Thu 22.08.2013 14:40:40 - Session closed ==========

    Using my old web app to make a call I get:
    ========== Thu 22.08.2013 14:32:35 - Session started ==========
    14:32:47 [MESSAGE] pjsip: [0] Make call
    14:32:49 [ERROR] pjsip: [171042] Error making call
    14:32:49 [ERROR] js_handler: [0] makeCall: failed

    Tried on windows 7 32 and 64 machines.

    Regards

    Brian

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.