[jitsi-users] version 2.2: Thunderbird contact source disappears after first ? start


#1

I very much appreciate the new TB contact source in jitsi 2.2. The
problem is that when I started jitsi today the second time the contact
source is gone - not even visible in the advanced settings anymore -
only the usual Addressbook / GoogleContacts and LDAP choices.

all the best, Mark

.


#2

I very much appreciate the new TB contact source in jitsi 2.2. The
problem is that when I started jitsi today the second time the contact
source is gone - not even visible in the advanced settings anymore -
only the usual Addressbook / GoogleContacts and LDAP choices.

Could you please post your logs?
(Please note that this feature is experimental, we forgot to mention this in
the release notes).

all the best, Mark

Ingo


#3

Thanks, but unfortunately I couldn't find anything in the logs.
Do you see the Thunderbird-Plugin in Tools->Options->Advanced->Plug-ins?
What happens if you disable and then re-enable it?

Ingo

···

-----Original Message-----
From: M Dammer [mailto:info@mdammer.net]
Sent: Mittwoch, 1. Mai 2013 19:24
To: Ingo Bauersachs
Subject: Re: [jitsi-users] Re: version 2.2: Thunderbird contact source
disappears after first ? start
Hi Ingo,
I post the logs to you personally as I do not know how much potential
confidential information can be extracted what I want to avoid.

all the best, Mark

On 01/05/13 17:48, Ingo Bauersachs wrote:

I very much appreciate the new TB contact source in jitsi 2.2. The
problem is that when I started jitsi today the second time the contact
source is gone - not even visible in the advanced settings anymore -
only the usual Addressbook / GoogleContacts and LDAP choices.

Could you please post your logs? (Please note that this feature is
experimental, we forgot to mention this in the release notes).

all the best, Mark

Ingo


#4

Hello,

I'm trying to do a video-call with people with a Tandberg/Cisco Telepresence
(http://www.cisco.com/en/US/products/ps7060/index.html) and Jitsi 2.0 on a
Linux Debian Wheezy (I'll try today with Jitsi 2.2 on a Debian Jessie) using
SIP protocol.

I enabled every video codec on Jitsi, but the best I get is they can see my
video only if I disable and re-enable video, clicking on Jitsi's button, but I
can not see them in any case. Audio is perfect.

We connect directly to an Asterisk 1.6.2 on a Debian Squeeze in my LAN.

Any ideas?

By the way, I don't know how to configure Asterisk to let me call directly
account@otherdomains instead only phone numbers and internal@mypbx. Any hints?
:slight_smile:

Thanks a lot,
  Matteo


#5

Hi Ingo,
here we go - the plugin is red (disabled) and I get an "Activator start
error..." when I try to enable it. I have started jitsi from the
commandline and here is the java blurp including the exceptions (you see
one exception happening right at startup and another when I clicked the
activate button:

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1477)
    at
net.java.sip.communicator.plugin.thunderbird.ThunderbirdActivator.start(ThunderbirdActivator.java:113)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:679)
java.lang.IllegalStateException: Invalid BundleContext.
    at
org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:457)
    at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:392)
    at
net.java.sip.communicator.impl.argdelegation.ArgDelegationPeerImpl.serviceChanged(ArgDelegationPeerImpl.java:106)
    at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
    at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
    at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3890)
    at org.apache.felix.framework.Felix.access$000(Felix.java:79)
    at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:728)
    at
org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
    at
org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
    at
org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:178)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1926)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
    at
net.java.sip.communicator.plugin.pluginmanager.ManageButtonsPanel.actionPerformed(ManageButtonsPanel.java:143)
    at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
    at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2045)
    at java.awt.Component.dispatchEventImpl(Component.java:4649)
    at java.awt.Container.dispatchEventImpl(Container.java:2103)
    at java.awt.Component.dispatchEvent(Component.java:4475)
    at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
    at java.awt.Container.dispatchEventImpl(Container.java:2089)
    at java.awt.Window.dispatchEventImpl(Window.java:2587)
    at java.awt.Component.dispatchEvent(Component.java:4475)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
    at java.awt.EventQueue.access$300(EventQueue.java:96)
    at java.awt.EventQueue$2.run(EventQueue.java:634)
    at java.awt.EventQueue$2.run(EventQueue.java:632)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
    at java.awt.EventQueue$3.run(EventQueue.java:648)
    at java.awt.EventQueue$3.run(EventQueue.java:646)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
10:06:50.037 SEVERE: [15]
plugin.pluginmanager.ManageButtonsPanel.actionPerformed().148 Failed to
activate bundle.
org.osgi.framework.BundleException: Activator start error in bundle [122].
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1951)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
    at
net.java.sip.communicator.plugin.pluginmanager.ManageButtonsPanel.actionPerformed(ManageButtonsPanel.java:143)
    at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
    at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2045)
    at java.awt.Component.dispatchEventImpl(Component.java:4649)
    at java.awt.Container.dispatchEventImpl(Container.java:2103)
    at java.awt.Component.dispatchEvent(Component.java:4475)
    at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
    at java.awt.Container.dispatchEventImpl(Container.java:2089)
    at java.awt.Window.dispatchEventImpl(Window.java:2587)
    at java.awt.Component.dispatchEvent(Component.java:4475)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
    at java.awt.EventQueue.access$300(EventQueue.java:96)
    at java.awt.EventQueue$2.run(EventQueue.java:634)
    at java.awt.EventQueue$2.run(EventQueue.java:632)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
    at java.awt.EventQueue$3.run(EventQueue.java:648)
    at java.awt.EventQueue$3.run(EventQueue.java:646)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1477)
    at
net.java.sip.communicator.plugin.thunderbird.ThunderbirdActivator.start(ThunderbirdActivator.java:113)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
    at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
    ... 40 more


#6

here we go - the plugin is red (disabled) and I get an "Activator start
error..." when I try to enable it. I have started jitsi from the
commandline and here is the java blurp including the exceptions (you see
one exception happening right at startup and another when I clicked the
activate button:

[...]
java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1477)
    at

net.java.sip.communicator.plugin.thunderbird.ThunderbirdActivator.start(Thun
d

erbirdActivator.java:113)
    at
[...]

That helps. Could you please post the lines concerning the
thunderbird-configuration of your sip-communicator.properties? They all
start with net.java.sip.communicator.plugin.thunderbird.source

Thanks,
Ingo


#7

Here are the important lines. I already tried to modify them by removing
the filename or setting the first entry to zero, but none of these
resuscitated the plugin.

net.java.sip.communicator.plugin.thunderbird.source.1=1
net.java.sip.communicator.plugin.thunderbird.source.1.DISPLAYNAME=Thunderbird
net.java.sip.communicator.plugin.thunderbird.source.1.FILENAME=/home/mark/.thunderbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.1.PREFIX=

···

On 02/05/13 10:35, Ingo Bauersachs wrote:

here we go - the plugin is red (disabled) and I get an "Activator start
error..." when I try to enable it. I have started jitsi from the
commandline and here is the java blurp including the exceptions (you see
one exception happening right at startup and another when I clicked the
activate button:

[...]
java.lang.NullPointerException
    at java.lang.String.endsWith(String.java:1477)
    at

net.java.sip.communicator.plugin.thunderbird.ThunderbirdActivator.start(Thun
d

erbirdActivator.java:113)
    at
[...]

That helps. Could you please post the lines concerning the
thunderbird-configuration of your sip-communicator.properties? They all
start with net.java.sip.communicator.plugin.thunderbird.source

Thanks,
Ingo


#8

Here are the important lines. I already tried to modify them by removing
the filename or setting the first entry to zero, but none of these
resuscitated the plugin.

net.java.sip.communicator.plugin.thunderbird.source.1=1

net.java.sip.communicator.plugin.thunderbird.source.1.DISPLAYNAME=Thunderbir
d

net.java.sip.communicator.plugin.thunderbird.source.1.FILENAME=/home/mark/.t
h

underbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.1.PREFIX=

Could you try setting a value to the prefix property?

If that doesn't help, could you try to replace the .1 with .c1, e.g. so that
it looks like the following:
net.java.sip.communicator.plugin.thunderbird.source.c1=c1
net.java.sip.communicator.plugin.thunderbird.source.c1.DISPLAYNAME=Thunderbi
rd
net.java.sip.communicator.plugin.thunderbird.source.c1.FILENAME=/home/mark/.
thunderbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.c1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.c1.PREFIX=+41

The UI to configure the plugin was a rather quick&dirty thing, and as I
don't use Thunderbird, almost untested. Sorry for the hazzle and thanks for
helping to track this down.

Ingo


#9

The prefix property and the GUI part of it are causing the trouble:
Setting a prefix in the properties file makes the plugin to work again.
However this does not work for me as I do have all phonenumbers already
in international format in the TB addressbook. Any prefix would mess
things up - unless there is some (special) character that jitsi swallows
but not uses as a prefix.
Second problem: Trying to modify the prefix through the GUI does not
work - changes to the field are not accepted.

Mark

···

On 02/05/13 11:20, Ingo Bauersachs wrote:

Here are the important lines. I already tried to modify them by removing
the filename or setting the first entry to zero, but none of these
resuscitated the plugin.

net.java.sip.communicator.plugin.thunderbird.source.1=1

net.java.sip.communicator.plugin.thunderbird.source.1.DISPLAYNAME=Thunderbir
d
net.java.sip.communicator.plugin.thunderbird.source.1.FILENAME=/home/mark/.t
h

underbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.1.PREFIX=

Could you try setting a value to the prefix property?

If that doesn't help, could you try to replace the .1 with .c1, e.g. so that
it looks like the following:
net.java.sip.communicator.plugin.thunderbird.source.c1=c1
net.java.sip.communicator.plugin.thunderbird.source.c1.DISPLAYNAME=Thunderbi
rd
net.java.sip.communicator.plugin.thunderbird.source.c1.FILENAME=/home/mark/.
thunderbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.c1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.c1.PREFIX=+41

The UI to configure the plugin was a rather quick&dirty thing, and as I
don't use Thunderbird, almost untested. Sorry for the hazzle and thanks for
helping to track this down.

Ingo


#10

I just tried just two empty brackets () for the prefix property and it
works. Either Jitsi or my SIP provider (sipgate) seem to acknowledge
that many people use brackets in phone numbers and thus ignore them in
the dial URL.

The line should look like this:
net.java.sip.communicator.plugin.thunderbird.source.1.PREFIX=()

···

On 02/05/13 11:58, M Dammer wrote:

The prefix property and the GUI part of it are causing the trouble:
Setting a prefix in the properties file makes the plugin to work again.
However this does not work for me as I do have all phonenumbers already
in international format in the TB addressbook. Any prefix would mess
things up - unless there is some (special) character that jitsi swallows
but not uses as a prefix.
Second problem: Trying to modify the prefix through the GUI does not
work - changes to the field are not accepted.

Mark

On 02/05/13 11:20, Ingo Bauersachs wrote:

Here are the important lines. I already tried to modify them by removing
the filename or setting the first entry to zero, but none of these
resuscitated the plugin.

net.java.sip.communicator.plugin.thunderbird.source.1=1

net.java.sip.communicator.plugin.thunderbird.source.1.DISPLAYNAME=Thunderbir
d
net.java.sip.communicator.plugin.thunderbird.source.1.FILENAME=/home/mark/.t
h

underbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.1.PREFIX=

Could you try setting a value to the prefix property?

If that doesn't help, could you try to replace the .1 with .c1, e.g. so that
it looks like the following:
net.java.sip.communicator.plugin.thunderbird.source.c1=c1
net.java.sip.communicator.plugin.thunderbird.source.c1.DISPLAYNAME=Thunderbi
rd
net.java.sip.communicator.plugin.thunderbird.source.c1.FILENAME=/home/mark/.
thunderbird/tfk3jvxg.default/abook.mab
net.java.sip.communicator.plugin.thunderbird.source.c1.INDEX=1
net.java.sip.communicator.plugin.thunderbird.source.c1.PREFIX=+41

The UI to configure the plugin was a rather quick&dirty thing, and as I
don't use Thunderbird, almost untested. Sorry for the hazzle and thanks for
helping to track this down.

Ingo


#11

The prefix property and the GUI part of it are causing the trouble:
Setting a prefix in the properties file makes the plugin to work again.
However this does not work for me as I do have all phonenumbers already
in international format in the TB addressbook. Any prefix would mess
things up - unless there is some (special) character that jitsi swallows
but not uses as a prefix.
Second problem: Trying to modify the prefix through the GUI does not
work - changes to the field are not accepted.

Thanks for the diagnosis.
I've just committed some fixes that should address all the we found today.
You might want to try them with the next nightly build (should be available
in about two hours).

Emil: I also added a cache so that the parsing is only done once (or when
the file has changed). Does that solve your performance issues?

Mark

Ingo


#12

Could someone describe what the Phone prefix is? Is it the country code
or the area code, or does it depend? Also how does the prefix interact
with numbers stored in Thunderbird and Outlook address books?

David

···

On 5/2/2013 5:58 AM, M Dammer wrote:

I do have all phonenumbers already
in international format in the TB addressbook. Any prefix would mess
things up


#13

Jitsi puts the phone prefix before the number when its dialled. For example:
Your sipprovider is testprovider.net
Phonenumber is 12345
Prefix is +44
Jitsi will call +4412345@testprovider.net
The prefix is not changing anything in your external addressbooks. It is
only used while dialling.

Mark

···

On 05/05/13 05:39, David Bolton wrote:

On 5/2/2013 5:58 AM, M Dammer wrote:

I do have all phonenumbers already
in international format in the TB addressbook. Any prefix would mess
things up

Could someone describe what the Phone prefix is? Is it the country code
or the area code, or does it depend? Also how does the prefix interact
with numbers stored in Thunderbird and Outlook address books?

David


#14

Unfortunately not. A search would still cause excessive CPU use. The
application becomes pretty much unusable after that.

This happens from the very first search though so presumably it's
unrelated to the number of parsings.

Cheers,
Emil

···

On 02.05.13, 23:49, Ingo Bauersachs wrote:

Emil: I also added a cache so that the parsing is only done once (or when
the file has changed). Does that solve your performance issues?

--
https://jitsi.org


#15

A great feature!

I think that for many users this is a big leap in usability. Well... at
least for us privacy freaks who don't want to have everything
google-synchronized.

Thanks Ingo or whoever is responsible for implementing it :slight_smile:

karel