You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Emil Ivov <em...@jitsi.org> on 2012/07/10 12:27:11 UTC

Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Thanks Alexei,

On 08.07.12 14:11, Alexei Fedotov wrote:
> JFYI folks,
> 
> The plug-in reference appeared here first:
> http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854

Thanks for the ref, and sorry again for scoling you wrongfully.

> Though I believe that the proper place for jitsi plugin is jitsi code
> base, I put it here just for the reference:
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/

Yup, we should probably think about integrating this at some point. I
suppose a good first step would be to make sure it is compatible with
Jitsi's code conventions (i.e. all methods with javadocs, start imports,
accolades on their own line, asterisk imports, using spaces rather than
tabs, not exceeding column 80 and such, Jitsi license headers and such).

Also, is the plugin stable already? I saw a few things looking weird
here and there, like for example:

> 	
> 	public static IvParameterSpec iv = new IvParameterSpec(new
> 			byte[]{1,2,3,4,5,6,7,8});
> 	
> 	private static String xform = "DES/CBC/PKCS5Padding";
> 	//private static SecretKey key;
> 	
> 	public static SecretKey key = new SecretKeySpec(new
> 			byte[]{1,1,1,1,1,1,1,1},"DES");



Cheers,
Emil



> Maybe the plug-in is already published somewhere.
> 
> --
> With best regards / с наилучшими пожеланиями,
> Alexei Fedotov / Алексей Федотов,
> http://dataved.ru/
> +7 916 562 8095
> 
> 
> On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov <al...@gmail.com> wrote:
>> [added openmeetings-dev]
>>
>> Hello folks, Elena,
>>
>> I have just tried Apache Openmeetings plug-in. First nice thing I've
>> noticed - it works! Thanks, Elena, for the great job! BTW, is the code
>> in the project SVN somewhere?
>>
>> I faced the following problem with existing solution for a particular
>> corporate network setup. The company where I've installed jitsi uses
>> web proxy for 80 port, and has direct access for other ports. This is
>> likely used for filtering web pages contents, so there is some
>> justification for such approach.
>>
>> By default the plugin does not work for this case, because it has both
>> SOAP calls to openmeetings server and jabber exchange to set up a
>> conference. The former should be proxied, and the latter shouldn't.
>> I've just hardcoded the following in OpenmeetingsPluginSoapClient
>> constructor, and get things working.
>>
>>         System.getProperties().put("proxyHost", ...);
>>         System.getProperties().put("proxyPort", ...);
>>
>> That's not very beautiful code. I'm trying now to figure our how the
>> correct product solution would be for this case. Would you please
>> answer some questions?
>>
>> 1.
>> The first thing to improve is to avoid changing global properties.
>> SOAP library documentation on .call method is not very explicit on how
>> to make proxied calls. Is there any working example around?
>>
>> 2.
>> If I set up global proxy, than jabber stops working because it starts
>> using proxy. Should we use a "hacked" version for our case with
>> hardcoded settings, or implement a special configuration for this
>> case?
>>
>> Thanks in advance!
>>
>> --
>> With best regards / с наилучшими пожеланиями,
>> Alexei Fedotov / Алексей Федотов,
>> http://dataved.ru/
>> +7 916 562 8095
> 

-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
http://jitsi.org                       FAX:   +33.1.77.62.47.31


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Emil Ivov <em...@jitsi.org>.
Thanks for the note Alexei!

Emil

On 20.07.12, 05:43, Alexei Fedotov wrote:
> Folks, Emil,
> Just to keep you posted. Despite German complains on brackets we
> updated to the jitsi code style.
> 
> 
> 
> --
> With best regards / с наилучшими пожеланиями,
> Alexei Fedotov / Алексей Федотов,
> http://dataved.ru/
> +7 916 562 8095
> 
> 
> On Tue, Jul 10, 2012 at 5:27 PM, Emil Ivov <em...@jitsi.org> wrote:
>> Thanks Alexei,
>>
>> On 08.07.12 14:11, Alexei Fedotov wrote:
>>> JFYI folks,
>>>
>>> The plug-in reference appeared here first:
>>> http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854
>>
>> Thanks for the ref, and sorry again for scoling you wrongfully.
>>
>>> Though I believe that the proper place for jitsi plugin is jitsi code
>>> base, I put it here just for the reference:
>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
>>
>> Yup, we should probably think about integrating this at some point. I
>> suppose a good first step would be to make sure it is compatible with
>> Jitsi's code conventions (i.e. all methods with javadocs, start imports,
>> accolades on their own line, asterisk imports, using spaces rather than
>> tabs, not exceeding column 80 and such, Jitsi license headers and such).
>>
>> Also, is the plugin stable already? I saw a few things looking weird
>> here and there, like for example:
>>
>>>
>>>       public static IvParameterSpec iv = new IvParameterSpec(new
>>>                       byte[]{1,2,3,4,5,6,7,8});
>>>
>>>       private static String xform = "DES/CBC/PKCS5Padding";
>>>       //private static SecretKey key;
>>>
>>>       public static SecretKey key = new SecretKeySpec(new
>>>                       byte[]{1,1,1,1,1,1,1,1},"DES");
>>
>>
>>
>> Cheers,
>> Emil
>>
>>
>>
>>> Maybe the plug-in is already published somewhere.
>>>
>>> --
>>> With best regards / с наилучшими пожеланиями,
>>> Alexei Fedotov / Алексей Федотов,
>>> http://dataved.ru/
>>> +7 916 562 8095
>>>
>>>
>>> On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov <al...@gmail.com> wrote:
>>>> [added openmeetings-dev]
>>>>
>>>> Hello folks, Elena,
>>>>
>>>> I have just tried Apache Openmeetings plug-in. First nice thing I've
>>>> noticed - it works! Thanks, Elena, for the great job! BTW, is the code
>>>> in the project SVN somewhere?
>>>>
>>>> I faced the following problem with existing solution for a particular
>>>> corporate network setup. The company where I've installed jitsi uses
>>>> web proxy for 80 port, and has direct access for other ports. This is
>>>> likely used for filtering web pages contents, so there is some
>>>> justification for such approach.
>>>>
>>>> By default the plugin does not work for this case, because it has both
>>>> SOAP calls to openmeetings server and jabber exchange to set up a
>>>> conference. The former should be proxied, and the latter shouldn't.
>>>> I've just hardcoded the following in OpenmeetingsPluginSoapClient
>>>> constructor, and get things working.
>>>>
>>>>         System.getProperties().put("proxyHost", ...);
>>>>         System.getProperties().put("proxyPort", ...);
>>>>
>>>> That's not very beautiful code. I'm trying now to figure our how the
>>>> correct product solution would be for this case. Would you please
>>>> answer some questions?
>>>>
>>>> 1.
>>>> The first thing to improve is to avoid changing global properties.
>>>> SOAP library documentation on .call method is not very explicit on how
>>>> to make proxied calls. Is there any working example around?
>>>>
>>>> 2.
>>>> If I set up global proxy, than jabber stops working because it starts
>>>> using proxy. Should we use a "hacked" version for our case with
>>>> hardcoded settings, or implement a special configuration for this
>>>> case?
>>>>
>>>> Thanks in advance!
>>>>
>>>> --
>>>> With best regards / с наилучшими пожеланиями,
>>>> Alexei Fedotov / Алексей Федотов,
>>>> http://dataved.ru/
>>>> +7 916 562 8095
>>>
>>
>> --
>> Emil Ivov, Ph.D.                       67000 Strasbourg,
>> Project Lead                           France
>> Jitsi
>> emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
>> http://jitsi.org                       FAX:   +33.1.77.62.47.31
>>
> 

-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
http://jitsi.org                       FAX:   +33.1.77.62.47.31


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Alexei Fedotov <al...@gmail.com>.
Folks, Emil,
Just to keep you posted. Despite German complains on brackets we
updated to the jitsi code style.



--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095


On Tue, Jul 10, 2012 at 5:27 PM, Emil Ivov <em...@jitsi.org> wrote:
> Thanks Alexei,
>
> On 08.07.12 14:11, Alexei Fedotov wrote:
>> JFYI folks,
>>
>> The plug-in reference appeared here first:
>> http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854
>
> Thanks for the ref, and sorry again for scoling you wrongfully.
>
>> Though I believe that the proper place for jitsi plugin is jitsi code
>> base, I put it here just for the reference:
>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
>
> Yup, we should probably think about integrating this at some point. I
> suppose a good first step would be to make sure it is compatible with
> Jitsi's code conventions (i.e. all methods with javadocs, start imports,
> accolades on their own line, asterisk imports, using spaces rather than
> tabs, not exceeding column 80 and such, Jitsi license headers and such).
>
> Also, is the plugin stable already? I saw a few things looking weird
> here and there, like for example:
>
>>
>>       public static IvParameterSpec iv = new IvParameterSpec(new
>>                       byte[]{1,2,3,4,5,6,7,8});
>>
>>       private static String xform = "DES/CBC/PKCS5Padding";
>>       //private static SecretKey key;
>>
>>       public static SecretKey key = new SecretKeySpec(new
>>                       byte[]{1,1,1,1,1,1,1,1},"DES");
>
>
>
> Cheers,
> Emil
>
>
>
>> Maybe the plug-in is already published somewhere.
>>
>> --
>> With best regards / с наилучшими пожеланиями,
>> Alexei Fedotov / Алексей Федотов,
>> http://dataved.ru/
>> +7 916 562 8095
>>
>>
>> On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov <al...@gmail.com> wrote:
>>> [added openmeetings-dev]
>>>
>>> Hello folks, Elena,
>>>
>>> I have just tried Apache Openmeetings plug-in. First nice thing I've
>>> noticed - it works! Thanks, Elena, for the great job! BTW, is the code
>>> in the project SVN somewhere?
>>>
>>> I faced the following problem with existing solution for a particular
>>> corporate network setup. The company where I've installed jitsi uses
>>> web proxy for 80 port, and has direct access for other ports. This is
>>> likely used for filtering web pages contents, so there is some
>>> justification for such approach.
>>>
>>> By default the plugin does not work for this case, because it has both
>>> SOAP calls to openmeetings server and jabber exchange to set up a
>>> conference. The former should be proxied, and the latter shouldn't.
>>> I've just hardcoded the following in OpenmeetingsPluginSoapClient
>>> constructor, and get things working.
>>>
>>>         System.getProperties().put("proxyHost", ...);
>>>         System.getProperties().put("proxyPort", ...);
>>>
>>> That's not very beautiful code. I'm trying now to figure our how the
>>> correct product solution would be for this case. Would you please
>>> answer some questions?
>>>
>>> 1.
>>> The first thing to improve is to avoid changing global properties.
>>> SOAP library documentation on .call method is not very explicit on how
>>> to make proxied calls. Is there any working example around?
>>>
>>> 2.
>>> If I set up global proxy, than jabber stops working because it starts
>>> using proxy. Should we use a "hacked" version for our case with
>>> hardcoded settings, or implement a special configuration for this
>>> case?
>>>
>>> Thanks in advance!
>>>
>>> --
>>> With best regards / с наилучшими пожеланиями,
>>> Alexei Fedotov / Алексей Федотов,
>>> http://dataved.ru/
>>> +7 916 562 8095
>>
>
> --
> Emil Ivov, Ph.D.                       67000 Strasbourg,
> Project Lead                           France
> Jitsi
> emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
> http://jitsi.org                       FAX:   +33.1.77.62.47.31
>

Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Vieri <re...@yahoo.com>.
Hi,

--- On Wed, 7/11/12, Alexei Fedotov <al...@gmail.com> wrote:

> Vieri,
> jitsi invitations won't work with 1.9 release. We changed
> openmeetings
> on our side to provide invitation hashes for jitsi. Which
> version are
> you using?

I'm using
apache-openmeetings-incubating-2.0.0.r1358466-06-07-2012_2311.tar.gz

I've also used the openmeetings test server that Elena (ihelen28 at gmail dot com) suggested I used:

server: http://188.127.229.12:5080/openmeetings
login: test
password: test

Still, I'm getting the same error I posted earlier.

Thanks,

Vieri



Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Alexei Fedotov <al...@gmail.com>.
German,
I see you've added a build file. Great. Just one point - I used "main"
subdirectory to be compliant with maven directory structure. If you
put build file inside main, there is no point of having main.

Vieri,
jitsi invitations won't work with 1.9 release. We changed openmeetings
on our side to provide invitation hashes for jitsi. Which version are
you using?

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095


On Wed, Jul 11, 2012 at 11:13 AM, German Grekhov <gg...@unipro.ru> wrote:
> Hello, Vieri.
>
> My name is German. I am familiar with Alexei and I also take part in
> development of the Openmetings plugin for Jitsi.
>
> The current version of the plugin has own settings tab in the advanced Jitsi
> settings. These settings allow a user to set up Openmeetings server,
> username and password. So, there are no any hard-coded test servers in the
> plugin.
>
> The current code of the plugin is available here:
> http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/jitsi/main/
>
> It will be great if you and your teammates look through this code, try to
> execute it and tell us your comments. It will help a lot for making this
> plugin better and integrating it faster to the Jitsi trunk.
>
> Best regards,
> German Grekhov
> Openmeetings developers team
>
>
> 11.07.2012 13:58, Vieri пишет:
>
>> Hi,
>>
>> Personally I never got the plugin working.
>> I configured it to use the openmeetings test server at
>> http://188.127.229.12:5080/openmeetings (user/pwd: test/test).
>>
>> When I select the "invite to conference" from the drop-down menu I get the
>> following error:
>>
>> URL = http://188.127.229.12:5080/openmeetings/services/UserService?wsdl
>> null
>> null
>> 08:29:55.471 GRAVE: util.UtilActivator.uncaughtException().88 An uncaught
>> exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
>> was: null
>> java.lang.NullPointerException
>>         at
>> net.java.sip.communicator.plugin.openmeetings.OpenmeetingsPluginMenuItem.actionPerformed(OpenmeetingsPluginMenuItem.java:63)
>>
>> So this is failing in OpenmeetingsPluginMenuItem.java, actionPerformed:
>> invitationUrl = OpenmeetingsConfigManager.getInstance().getInvitationUrl(
>>         OpenmeetingsConfigManager.getInstance().getLogin() );
>>
>> Alexei, you say it works for you. Are you running the code from this site
>> or have you taken it from somewhere else or patched it?
>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
>> Can you send a test invitation to http://188.127.229.12:5080/openmeetings
>> (test/test)?
>>
>> Thanks,
>>
>> Vieri
>>
>> --- On Tue, 7/10/12, Emil Ivov <em...@jitsi.org> wrote:
>>
>>> Thanks Alexei,
>>>
>>> On 08.07.12 14:11, Alexei Fedotov wrote:
>>>>
>>>> JFYI folks,
>>>>
>>>> The plug-in reference appeared here first:
>>>> http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854
>>>
>>> Thanks for the ref, and sorry again for scoling you
>>> wrongfully.
>>>
>>>> Though I believe that the proper place for jitsi plugin
>>>
>>> is jitsi code
>>>>
>>>> base, I put it here just for the reference:
>>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
>>>
>>> Yup, we should probably think about integrating this at some
>>> point. I
>>> suppose a good first step would be to make sure it is
>>> compatible with
>>> Jitsi's code conventions (i.e. all methods with javadocs,
>>> start imports,
>>> accolades on their own line, asterisk imports, using spaces
>>> rather than
>>> tabs, not exceeding column 80 and such, Jitsi license
>>> headers and such).
>>>
>>> Also, is the plugin stable already? I saw a few things
>>> looking weird
>>> here and there, like for example:
>>>
>>>>           public static IvParameterSpec iv =
>>>
>>> new IvParameterSpec(new
>>>>
>>>>
>>>
>>>      byte[]{1,2,3,4,5,6,7,8});
>>>>
>>>>           private static String xform =
>>>
>>> "DES/CBC/PKCS5Padding";
>>>>
>>>>      //private static SecretKey key;
>>>>           public static SecretKey key = new
>>>
>>> SecretKeySpec(new
>>>>
>>>>
>>>
>>>      byte[]{1,1,1,1,1,1,1,1},"DES");
>>>
>>>
>>>
>>> Cheers,
>>> Emil
>>>
>>>
>>>
>>>> Maybe the plug-in is already published somewhere.
>>>>
>>>> --
>>>> With best regards / с наилучшими
>>>
>>> пожеланиями,
>>>>
>>>> Alexei Fedotov / Алексей Федотов,
>>>> http://dataved.ru/
>>>> +7 916 562 8095
>>>>
>>>>
>>>> On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov
>>>> <al...@gmail.com>
>>>
>>> wrote:
>>>>>
>>>>> [added openmeetings-dev]
>>>>>
>>>>> Hello folks, Elena,
>>>>>
>>>>> I have just tried Apache Openmeetings plug-in.
>>>
>>> First nice thing I've
>>>>>
>>>>> noticed - it works! Thanks, Elena, for the great
>>>
>>> job! BTW, is the code
>>>>>
>>>>> in the project SVN somewhere?
>>>>>
>>>>> I faced the following problem with existing
>>>
>>> solution for a particular
>>>>>
>>>>> corporate network setup. The company where I've
>>>
>>> installed jitsi uses
>>>>>
>>>>> web proxy for 80 port, and has direct access for
>>>
>>> other ports. This is
>>>>>
>>>>> likely used for filtering web pages contents, so
>>>
>>> there is some
>>>>>
>>>>> justification for such approach.
>>>>>
>>>>> By default the plugin does not work for this case,
>>>
>>> because it has both
>>>>>
>>>>> SOAP calls to openmeetings server and jabber
>>>
>>> exchange to set up a
>>>>>
>>>>> conference. The former should be proxied, and the
>>>
>>> latter shouldn't.
>>>>>
>>>>> I've just hardcoded the following in
>>>
>>> OpenmeetingsPluginSoapClient
>>>>>
>>>>> constructor, and get things working.
>>>>>
>>>>>
>>>
>>>     System.getProperties().put("proxyHost",
>>> ...);
>>>>>
>>>>>
>>>
>>>     System.getProperties().put("proxyPort",
>>> ...);
>>>>>
>>>>> That's not very beautiful code. I'm trying now to
>>>
>>> figure our how the
>>>>>
>>>>> correct product solution would be for this case.
>>>
>>> Would you please
>>>>>
>>>>> answer some questions?
>>>>>
>>>>> 1.
>>>>> The first thing to improve is to avoid changing
>>>
>>> global properties.
>>>>>
>>>>> SOAP library documentation on .call method is not
>>>
>>> very explicit on how
>>>>>
>>>>> to make proxied calls. Is there any working example
>>>
>>> around?
>>>>>
>>>>> 2.
>>>>> If I set up global proxy, than jabber stops working
>>>
>>> because it starts
>>>>>
>>>>> using proxy. Should we use a "hacked" version for
>>>
>>> our case with
>>>>>
>>>>> hardcoded settings, or implement a special
>>>
>>> configuration for this
>>>>>
>>>>> case?
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>> --
>>>>> With best regards / с наилучшими
>>>
>>> пожеланиями,
>>>>>
>>>>> Alexei Fedotov / Алексей Федотов,
>>>>> http://dataved.ru/
>>>>> +7 916 562 8095
>
>
>
> --
> Best regards, / С наилучшими пожеланиями,
> German Grekhov / Герман Грехов
>

Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Alexei Fedotov <al...@gmail.com>.
Vieri, thanks for your interest!

Here is an architecture:

1) I select a user within jitsi;
2) The loop checks if there exists jabber protocol service;
3) I send few SOAP requests to openmeetings server to generate a unique
invitation hash;
4) the hash is sent via jabber to other participant;
5) on my computer the conference window is opened automatically;
6) the participant joins the conference when he clicks on a hyperlink.



--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095



On Wed, Jul 11, 2012 at 6:46 PM, Vieri <re...@yahoo.com> wrote:

> Hi German,
>
> --- On Wed, 7/11/12, German Grekhov <gg...@unipro.ru> wrote:
>
> > You can try to set another server in the Openmeetings plugin
> > settings:
> > http://edro.dataved.ru/openmeetings/
> > username: video
> > password: video
>
> True, it "works" but it doesn't seem to be working with the latest OM 2.0
> or maybe there's something missing in my OM 2.0 setup.
>
> Do you have the possibility to test with the latest OM 2.0 snapshot? eg.
> apache-openmeetings-incubating-2.0.0.r1358466-06-07-2012_2311
> or later?
> I'm running this version and it fails.
>
> Also, I'm using http://myserver:5080/openmeetings/ while your test server
> (edro.dataved.ru) listens on port 80 (I don't know if that may make a
> difference - I suppose not).
>
> By the way, I'm not too familiar with openmeetings (just testing it) but
> how should the jitsi plugin actually work?  Example: I setup
> http://edro.dataved.ru/openmeetings/ in the openmeetings Jitsi plugin and
> then selected one of my buddy contacts, right-clickedf and pressed "invite
> to conference". That triggered my web browser to open a conference room
> within http://edro.dataved.ru/openmeetings/ as user 'video'. However,
> isn't my Jitsi contact supposed to receive an invitation? If so, how?
>  Who's sending the invitation? The Jitsi plugin via an instant message? Or
> OpenMeetings? If it's the latter then how does OM determine the e-mail
> address of my Jitsi contact (supposing the invitation is sent via e-mail)?
>
> Thanks,
>
> Vieri
>

Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Vieri <re...@yahoo.com>.
Hi German,

--- On Wed, 7/11/12, German Grekhov <gg...@unipro.ru> wrote:

> You can try to set another server in the Openmeetings plugin
> settings:
> http://edro.dataved.ru/openmeetings/
> username: video
> password: video

True, it "works" but it doesn't seem to be working with the latest OM 2.0 or maybe there's something missing in my OM 2.0 setup.

Do you have the possibility to test with the latest OM 2.0 snapshot? eg.
apache-openmeetings-incubating-2.0.0.r1358466-06-07-2012_2311
or later?
I'm running this version and it fails. 

Also, I'm using http://myserver:5080/openmeetings/ while your test server (edro.dataved.ru) listens on port 80 (I don't know if that may make a difference - I suppose not).

By the way, I'm not too familiar with openmeetings (just testing it) but how should the jitsi plugin actually work?  Example: I setup http://edro.dataved.ru/openmeetings/ in the openmeetings Jitsi plugin and then selected one of my buddy contacts, right-clickedf and pressed "invite to conference". That triggered my web browser to open a conference room within http://edro.dataved.ru/openmeetings/ as user 'video'. However, isn't my Jitsi contact supposed to receive an invitation? If so, how?  Who's sending the invitation? The Jitsi plugin via an instant message? Or OpenMeetings? If it's the latter then how does OM determine the e-mail address of my Jitsi contact (supposing the invitation is sent via e-mail)?

Thanks,

Vieri

Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by German Grekhov <gg...@unipro.ru>.
Vieri there are some problems with Openmeetings on this server
http://188.127.229.12:5080/openmeetings/

You can try to set another server in the Openmeetings plugin settings:
http://edro.dataved.ru/openmeetings/
username: video
password: video

It works.

German.

11.07.2012 15:04, Vieri пишет:
>
> --- On Wed, 7/11/12, German Grekhov <gg...@unipro.ru> wrote:
>
>> Hello, Vieri.
> Hi German.
>
>> The current version of the plugin has own settings tab in
>> the advanced
>> Jitsi settings. These settings allow a user to set up
>> Openmeetings
>> server, username and password.
> I know and I did set the values in the settings form.
>
>> So, there are no any
>> hard-coded test
>> servers in the plugin.
> Correct.
> However, Elena (ihelen28 at gmail dot com) suggested I use for debugging purposes the openmeetings test server at:
>
> server: http://188.127.229.12:5080/openmeetings
> login: test
> password: test
>
>> The current code of the plugin is available here:
>> http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/jitsi/main/
> I downloaded it and that's what I've been using when the error showed up.
>
>> It will be great if you and your teammates look through this
>> code, try
>> to execute it and tell us your comments. It will help a lot
>> for making
>> this plugin better and integrating it faster to the Jitsi
>> trunk.
> I agree.
> This is failing for me in OpenmeetingsPluginMenuItem.java, actionPerformed:
>
> 'null' is returned for:
> invitationUrl =
> OpenmeetingsConfigManager.getInstance().getInvitationUrl(
> OpenmeetingsConfigManager.getInstance().getLogin() );
>
> Trying to figure out why...
>
> Thanks,
>
> Vieri
>


-- 
Best regards, / С наилучшими пожеланиями,
German Grekhov / Герман Грехов


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Vieri <re...@yahoo.com>.
util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: null
java.lang.NullPointerException
	at net.java.sip.communicator.plugin.openmeetings.OpenmeetingsPluginMenuItem.actionPerformed(OpenmeetingsPluginMenuItem.java:63)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Vieri <re...@yahoo.com>.

--- On Wed, 7/11/12, German Grekhov <gg...@unipro.ru> wrote:

> Hello, Vieri.

Hi German.

> The current version of the plugin has own settings tab in
> the advanced 
> Jitsi settings. These settings allow a user to set up
> Openmeetings 
> server, username and password.

I know and I did set the values in the settings form.

> So, there are no any
> hard-coded test 
> servers in the plugin.

Correct.
However, Elena (ihelen28 at gmail dot com) suggested I use for debugging purposes the openmeetings test server at:

server: http://188.127.229.12:5080/openmeetings
login: test
password: test

> The current code of the plugin is available here:
> http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/jitsi/main/

I downloaded it and that's what I've been using when the error showed up.

> It will be great if you and your teammates look through this
> code, try 
> to execute it and tell us your comments. It will help a lot
> for making 
> this plugin better and integrating it faster to the Jitsi
> trunk.

I agree.
This is failing for me in OpenmeetingsPluginMenuItem.java, actionPerformed:

'null' is returned for:
invitationUrl =
OpenmeetingsConfigManager.getInstance().getInvitationUrl(
OpenmeetingsConfigManager.getInstance().getLogin() );

Trying to figure out why...

Thanks,

Vieri


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by German Grekhov <gg...@unipro.ru>.
Hello, Vieri.

My name is German. I am familiar with Alexei and I also take part in 
development of the Openmetings plugin for Jitsi.

The current version of the plugin has own settings tab in the advanced 
Jitsi settings. These settings allow a user to set up Openmeetings 
server, username and password. So, there are no any hard-coded test 
servers in the plugin.

The current code of the plugin is available here:
http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/jitsi/main/

It will be great if you and your teammates look through this code, try 
to execute it and tell us your comments. It will help a lot for making 
this plugin better and integrating it faster to the Jitsi trunk.

Best regards,
German Grekhov
Openmeetings developers team


11.07.2012 13:58, Vieri пишет:
> Hi,
>
> Personally I never got the plugin working.
> I configured it to use the openmeetings test server at
> http://188.127.229.12:5080/openmeetings (user/pwd: test/test).
>
> When I select the "invite to conference" from the drop-down menu I get the following error:
>
> URL = http://188.127.229.12:5080/openmeetings/services/UserService?wsdl
> null
> null
> 08:29:55.471 GRAVE: util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: null
> java.lang.NullPointerException
> 	at net.java.sip.communicator.plugin.openmeetings.OpenmeetingsPluginMenuItem.actionPerformed(OpenmeetingsPluginMenuItem.java:63)
>
> So this is failing in OpenmeetingsPluginMenuItem.java, actionPerformed:
> invitationUrl = OpenmeetingsConfigManager.getInstance().getInvitationUrl(
> 	OpenmeetingsConfigManager.getInstance().getLogin() );
>
> Alexei, you say it works for you. Are you running the code from this site or have you taken it from somewhere else or patched it?
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
> Can you send a test invitation to http://188.127.229.12:5080/openmeetings (test/test)?
>
> Thanks,
>
> Vieri
>
> --- On Tue, 7/10/12, Emil Ivov <em...@jitsi.org> wrote:
>
>> Thanks Alexei,
>>
>> On 08.07.12 14:11, Alexei Fedotov wrote:
>>> JFYI folks,
>>>
>>> The plug-in reference appeared here first:
>>> http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854
>> Thanks for the ref, and sorry again for scoling you
>> wrongfully.
>>
>>> Though I believe that the proper place for jitsi plugin
>> is jitsi code
>>> base, I put it here just for the reference:
>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
>> Yup, we should probably think about integrating this at some
>> point. I
>> suppose a good first step would be to make sure it is
>> compatible with
>> Jitsi's code conventions (i.e. all methods with javadocs,
>> start imports,
>> accolades on their own line, asterisk imports, using spaces
>> rather than
>> tabs, not exceeding column 80 and such, Jitsi license
>> headers and such).
>>
>> Also, is the plugin stable already? I saw a few things
>> looking weird
>> here and there, like for example:
>>
>>>      
>>>      public static IvParameterSpec iv =
>> new IvParameterSpec(new
>>>         
>>      byte[]{1,2,3,4,5,6,7,8});
>>>      
>>>      private static String xform =
>> "DES/CBC/PKCS5Padding";
>>>      //private static SecretKey key;
>>>      
>>>      public static SecretKey key = new
>> SecretKeySpec(new
>>>         
>>      byte[]{1,1,1,1,1,1,1,1},"DES");
>>
>>
>>
>> Cheers,
>> Emil
>>
>>
>>
>>> Maybe the plug-in is already published somewhere.
>>>
>>> --
>>> With best regards / с наилучшими
>> пожеланиями,
>>> Alexei Fedotov / Алексей Федотов,
>>> http://dataved.ru/
>>> +7 916 562 8095
>>>
>>>
>>> On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov <al...@gmail.com>
>> wrote:
>>>> [added openmeetings-dev]
>>>>
>>>> Hello folks, Elena,
>>>>
>>>> I have just tried Apache Openmeetings plug-in.
>> First nice thing I've
>>>> noticed - it works! Thanks, Elena, for the great
>> job! BTW, is the code
>>>> in the project SVN somewhere?
>>>>
>>>> I faced the following problem with existing
>> solution for a particular
>>>> corporate network setup. The company where I've
>> installed jitsi uses
>>>> web proxy for 80 port, and has direct access for
>> other ports. This is
>>>> likely used for filtering web pages contents, so
>> there is some
>>>> justification for such approach.
>>>>
>>>> By default the plugin does not work for this case,
>> because it has both
>>>> SOAP calls to openmeetings server and jabber
>> exchange to set up a
>>>> conference. The former should be proxied, and the
>> latter shouldn't.
>>>> I've just hardcoded the following in
>> OpenmeetingsPluginSoapClient
>>>> constructor, and get things working.
>>>>
>>>>       
>>     System.getProperties().put("proxyHost",
>> ...);
>>>>       
>>     System.getProperties().put("proxyPort",
>> ...);
>>>> That's not very beautiful code. I'm trying now to
>> figure our how the
>>>> correct product solution would be for this case.
>> Would you please
>>>> answer some questions?
>>>>
>>>> 1.
>>>> The first thing to improve is to avoid changing
>> global properties.
>>>> SOAP library documentation on .call method is not
>> very explicit on how
>>>> to make proxied calls. Is there any working example
>> around?
>>>> 2.
>>>> If I set up global proxy, than jabber stops working
>> because it starts
>>>> using proxy. Should we use a "hacked" version for
>> our case with
>>>> hardcoded settings, or implement a special
>> configuration for this
>>>> case?
>>>>
>>>> Thanks in advance!
>>>>
>>>> --
>>>> With best regards / с наилучшими
>> пожеланиями,
>>>> Alexei Fedotov / Алексей Федотов,
>>>> http://dataved.ru/
>>>> +7 916 562 8095


-- 
Best regards, / С наилучшими пожеланиями,
German Grekhov / Герман Грехов


Re: [jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case

Posted by Vieri <re...@yahoo.com>.
Hi,

Personally I never got the plugin working.
I configured it to use the openmeetings test server at
http://188.127.229.12:5080/openmeetings (user/pwd: test/test).

When I select the "invite to conference" from the drop-down menu I get the following error:

URL = http://188.127.229.12:5080/openmeetings/services/UserService?wsdl
null
null
08:29:55.471 GRAVE: util.UtilActivator.uncaughtException().88 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: null
java.lang.NullPointerException
	at net.java.sip.communicator.plugin.openmeetings.OpenmeetingsPluginMenuItem.actionPerformed(OpenmeetingsPluginMenuItem.java:63)

So this is failing in OpenmeetingsPluginMenuItem.java, actionPerformed:
invitationUrl = OpenmeetingsConfigManager.getInstance().getInvitationUrl( 
	OpenmeetingsConfigManager.getInstance().getLogin() );

Alexei, you say it works for you. Are you running the code from this site or have you taken it from somewhere else or patched it?
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
Can you send a test invitation to http://188.127.229.12:5080/openmeetings (test/test)?

Thanks,

Vieri

--- On Tue, 7/10/12, Emil Ivov <em...@jitsi.org> wrote:

> Thanks Alexei,
> 
> On 08.07.12 14:11, Alexei Fedotov wrote:
> > JFYI folks,
> > 
> > The plug-in reference appeared here first:
> > http://comments.gmane.org/gmane.comp.voip.sip-communicator.devel/12854
> 
> Thanks for the ref, and sorry again for scoling you
> wrongfully.
> 
> > Though I believe that the proper place for jitsi plugin
> is jitsi code
> > base, I put it here just for the reference:
> > http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/jitsi/
> 
> Yup, we should probably think about integrating this at some
> point. I
> suppose a good first step would be to make sure it is
> compatible with
> Jitsi's code conventions (i.e. all methods with javadocs,
> start imports,
> accolades on their own line, asterisk imports, using spaces
> rather than
> tabs, not exceeding column 80 and such, Jitsi license
> headers and such).
> 
> Also, is the plugin stable already? I saw a few things
> looking weird
> here and there, like for example:
> 
> >     
> >     public static IvParameterSpec iv =
> new IvParameterSpec(new
> >        
>     byte[]{1,2,3,4,5,6,7,8});
> >     
> >     private static String xform =
> "DES/CBC/PKCS5Padding";
> >     //private static SecretKey key;
> >     
> >     public static SecretKey key = new
> SecretKeySpec(new
> >        
>     byte[]{1,1,1,1,1,1,1,1},"DES");
> 
> 
> 
> Cheers,
> Emil
> 
> 
> 
> > Maybe the plug-in is already published somewhere.
> > 
> > --
> > With best regards / с наилучшими
> пожеланиями,
> > Alexei Fedotov / Алексей Федотов,
> > http://dataved.ru/
> > +7 916 562 8095
> > 
> > 
> > On Sun, Jul 8, 2012 at 2:57 PM, Alexei Fedotov <al...@gmail.com>
> wrote:
> >> [added openmeetings-dev]
> >>
> >> Hello folks, Elena,
> >>
> >> I have just tried Apache Openmeetings plug-in.
> First nice thing I've
> >> noticed - it works! Thanks, Elena, for the great
> job! BTW, is the code
> >> in the project SVN somewhere?
> >>
> >> I faced the following problem with existing
> solution for a particular
> >> corporate network setup. The company where I've
> installed jitsi uses
> >> web proxy for 80 port, and has direct access for
> other ports. This is
> >> likely used for filtering web pages contents, so
> there is some
> >> justification for such approach.
> >>
> >> By default the plugin does not work for this case,
> because it has both
> >> SOAP calls to openmeetings server and jabber
> exchange to set up a
> >> conference. The former should be proxied, and the
> latter shouldn't.
> >> I've just hardcoded the following in
> OpenmeetingsPluginSoapClient
> >> constructor, and get things working.
> >>
> >>     
>    System.getProperties().put("proxyHost",
> ...);
> >>     
>    System.getProperties().put("proxyPort",
> ...);
> >>
> >> That's not very beautiful code. I'm trying now to
> figure our how the
> >> correct product solution would be for this case.
> Would you please
> >> answer some questions?
> >>
> >> 1.
> >> The first thing to improve is to avoid changing
> global properties.
> >> SOAP library documentation on .call method is not
> very explicit on how
> >> to make proxied calls. Is there any working example
> around?
> >>
> >> 2.
> >> If I set up global proxy, than jabber stops working
> because it starts
> >> using proxy. Should we use a "hacked" version for
> our case with
> >> hardcoded settings, or implement a special
> configuration for this
> >> case?
> >>
> >> Thanks in advance!
> >>
> >> --
> >> With best regards / с наилучшими
> пожеланиями,
> >> Alexei Fedotov / Алексей Федотов,
> >> http://dataved.ru/
> >> +7 916 562 8095
> >