danleeb / GreenJ

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.
http://www.greenj.org
Other
60 stars 37 forks source link

Windows binaries not working #24

Open Brianchat opened 11 years ago

Brianchat commented 11 years ago

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

danleeb commented 11 years ago

Hello Brian,

from version 1.0 to 1.1 a few settings have changed. Maybe that causes an issue. Have you tried deleting our old settings file in your home-directory/.greenj/ ? When you start GreenJ, it will create a new settings.conf file; after that you can change the configuration.

Best regards Daniel

Brianchat commented 11 years ago

Yes, have deleted the settings files, open greenj1.1 and it creates a new settings file, new sample app appears as above. Change the url in the newly generated file to my app and still no luck.

danleeb commented 11 years ago

Could you explain your problem in more detail? You mentioned above, that none of the Javascript works - or do you have problems connecting/making calls? If it's actually a Javascript problem, you could open the inspection mode (in Debug-Mode/Debug-Build, then right-click and open the Inspection window) and take a look at the console output.

Which versions of pjsip and Qt do you use?

Brianchat commented 11 years ago

I'm using the precompiled binaries, so I can't change to Debug-Mode and the version of pjsip and Qt are whichever you used. I am in the process of loading VS, Qt etc to build it myself. I don't think it is a javascript problem as my javascript code runs and when I try to make a call I get the error, however in the sample app nothing works, the buttons don't populate the number, the settings menu does appear etc.

Regards

Brian

danleeb commented 11 years ago

Ok, I will look into this issue as soon as I'm back on my Windows machine.

Brianchat commented 11 years ago

Many thanks, sorry Windows on you, lol.

Brianchat commented 11 years ago

Sorry, didn't mean to close.