Project

General

Profile

Message Carbons

Matthew M
Added over 5 years ago

Hi Tigase Team

I wonder if Message Carbons is supported by Tigase now? I see some implementation activites in your git, but I am not sure if it is officially released. It is a great feature and would be very helpful to sync up all the clients from the same user (if I understand it correctly). XMPP Spec: http://xmpp.org/extensions/xep-0280.html

I also see an old post, is it related to this implementation? http://www.tigase.org/content/xep-0280-message-carbons

Thanks!


Replies (12)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Yes, Message Carbons extension is already implemented and fully supported in the Tigase server (recent 5.2.0 beta) and our JaXMPP library plus in our Android client (most recent versions).

Added by Matthew M over 5 years ago

This is great, thanks!

Added by Matthew M over 5 years ago

Do we need to configure the server to enable Carbons, or it's already enabled, and just need go signaled by the client via a stanza like:

<iq xmlns='jabber:client'

type='set'

id='enable1'>

Thanks!

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

As far as I know it is loaded by default and just needs to be activated by the client so signal that the client supports it as well.

Added by Matthew M over 5 years ago

I sent the "enable" stanza from the client, but go some error like this:

Feature not supported yet.

Is it enabled in the official tigase.im site? I found the same response from there.

And I found I have to add line in SessionManageConfig.java of "message-carbons" to enable it, so that Tigase server will respond to the stanza. Am I doing the right thing?

Thanks.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Are you sure you are using most recent 5.2.0 Beta3 of the Tigase server?

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

I am sorry, I have just looked into the code and message carbons plugin is not loaded by default. Please add following line to your init.properties file and restart the server:

--sm-plugins=+message-carbons

From next version message carbons plugin will be loaded by default.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Sorry, I missed you other question. Unfortunately tigase.im runs on older version. We are preparing for an upgrade soon.

Added by Matthew M over 5 years ago

Great thanks a lot for your help! We still have a bit problem with Carbons, but I want to make sure it's not the client problem, so it would be best for us to test our client with your tigase.im to make sure Ia m doing the right thing. Could you post when tigase.im is updated? Thanks a lot!

Added by Matthew M over 5 years ago

I had no luck with carbons yet, with various of clients such as PSI. The client can discover it, and enable it, the server responds okay. If I log in from multiple clients, I did not see any carbons stanzas sending out to my other clients. Did I miss anything, or is there any hint to trace into the code find out why? It would be great if we could test on tigase.im too. I am using beta3. Many thanks and this feature would very helpful to us!

Thanks!

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Hm, I did know that Psi can support message carbons, which version of the Psi client do you use? And you know you have to enable carbons on each user's connection, so all clients have to support carbons in order to receive carbons stanzas.

Added by Matthew M over 5 years ago

You are right! I have to enable all the clients and it worked! Thanks a lot. And you are right too about PSI not supporting carbons, I have to manually enable it via its XML console. Many thanks!

    (1-12/12)