How to Spectrum IM support for OF [Alternativ for Kraken]

Hi gary,

gojara is currently saving the contacts permanently to the users roster. That is not my preferred way. A non persistent handling for external contacts is already implemented in gojara but not active at all.

Therefore we need to manually pull the contacts from spectrum which is not supported yet.

But please be patient, we are working close together with the spectrum developers to support non persistent remote contacts as you konw from the kraken plugin.

That means: you did nothing wrong!

There is also an issue for that you might want to follow:

http://issues.igniterealtime.org/browse/OF-494

Hi holger,

Sorry, I deleted the post asking that question after HanzZ mentioned on the chat channel that it isn’t implemented on the Spectrum side and he doesn’t use a workaround.

Thank you for the reply, was thinking was from my side because it works on Kraken, glad to know it isn’t.

Good luck =)

Kind Regards,

Gary Shergill

Hey guys

we want to give you some updates about the current state of GoJara:

While there still remain some Issues we have not fixed yet, we also made some progress by working close with the Spectrum2 team.

I will upload a new version of GoJara with this post, it would be nice if somebody would try it out. If you encounter any bugs or you have any questions, please feel free to email me or Holger. We are in need of feedback, as we are just starting to test this with a bigger userbase ourselves.

Non-Persistant Roster should work now, also Users being in multiple Groups should not cause any problems. Spectrum2 currently has a small issue which results in some redundand traffic upon login, which could matter for Users with large Rosters. As Spectrum2 / GoJara is worked on nearly every day, this probably will be fixed in the next days / week.

            • important - - - - - - -

When you already have GoJara installed, you probably need to restart the OF-Server after deleting & / updating GoJara. We experienced some cases where Gojara would not correctly unload, which could be caused through this Issue http://issues.igniterealtime.org/browse/OF-197

In this case multiple Instances of Gojara would run, producing unnecessary traffic.

We will try to find a workaround for older Versions, can’t give an ETA though.

I will use this thread for further updates until we have a better way to keep things up to date and provide answers, although the Guide and posts already sum up most of the needed Info.

Please contact us if you have any problems or questions. I’m also regulary in the Spectrum2 conference room, spectrum@conference.spectrum.im

How to use Acess-Restriction with Gojara

  1. If you did not already do it, create a Group at Users/Groups -> Groups -> Create new Group, for example ICQWhiteList.
  2. normally you dont want groupmembers to see other groupmembers, so disable contact-list group-sharing. http://www.m-i-u.de/images-i41219b5yrgg.jpg
  3. At** Server -> Server Settings -> GoJara** add the Group to the corresponding transport-whitelist & save settings. http://www.m-i-u.de/images-i41218bf8zca.jpg

The group should also show up in System-Properties:plugin.remoteroster.permissiongroup.$transport.

Now the transport should only be visible to groupmembers of whitelisted groups. You may need to restart your client.

If this is not working for you or you have any other Problems please feel free to contact us.

EDIT : We fixed a bug concerning Acess-Control, it should work now. New .jar in attachment.

First production day of GoJara and Spectrum.im has passed. Migration from Kraken was smooth.

Great work by Axel and Holger.

GoJara 2.0 is out, mainly a stability & performance update.

For updating to 2.0 please stop OF server, remove gojara.jar / gojara folder and put the new jar in plugins directory. From 2.0 on unloading works fine and there should be no problems anymore with updating it from the OF-Console plugin panel.

For whole changelog see http://issues.igniterealtime.org/browse/OF-635

hello!

I have a problem in integration between Spectrum2 IM and Openfire.

I use Spark to login. As soon as I enter, I click the button to record the account msn, gtalk or whatever. He shows me an error:

“unable to register with transport”

what can be the problem?

Hi Holger,

Thanks for your details regarding integration of Spectrum plugin.

I am using Spark and Open fire’s latest version. Initially I used ‘Karken plugin’ to access and chat with external domains like Gtalk, Yahoo etc. and I was also able to connect with them and able send/recieve messages from Spark -> Gtalk account to other Gtalk users.

Unfortunately, I was not able to transfer the file using this plugin. I went through the details of Spectrum plugin but did not find any details related to file transfer.

Can you please guide me that is *Spectrum plugin *provide file transfer feature which is one of my need?

If not then is there any way to achieve file transfer from Spark (Gtalk,Yahoo) to other Gtalk account (considering at the other end user is not using Spark.)

Please Guide me.

Thanks & Regards,

Jigna

Hi Jigna,

unfortunately Spectrum2 does currently not support file transfer. If Kraken doesn’t support file transfer either, i don’t know if there is currently any Gateway(/ Plugin) that can do this.

Sorry :confused:

Regards, Axel

Hi Vinicius!

You would help me a great deal if you could send me the Spectrum2 logfiles (backend / transport).

Here is some info that can help you with this:

Logfiles are in** /var/log/spectrum2/**.

In this folder there is a folder for each gateway you configured in /etc/spectrum2/transports/.

To track the actual XML that is being sent, you should (i recommend this for debug purposes only) enable XML Logging. To do this set:

log4j.category.Component.XML = ON in /etc/spectrum2/logging.cfg

Please do the following:

  1. configure XML Logging

  2. delete current logfiles in /var/log/spectrum2/

  3. Now restart / start spectrum2, and try to connect to it with Openfire+Gojara until you get the error.

  4. Now there should be logfiles for spectrum2 and backend in the specific transport folder in /var/log/spectrum2/…

Please send me those logs via PM ( or via mail to axel.frederik.brand[at]kuehne-nagel.com ). If you want you can also join the spectrum@conference.spectrum.im chatroom, it might take a while but there we always try to help!

If you like you can also contact me via other messengers, ill send you my contacts in a pm.

Regards, Axel

I install spectrum 2 with 3 instance facebook, skype and msn (only for testing purpose). The spark client is not showing the skype or facebook transport. Only msn.

I am using

Ubuntu 12.04

Openfire 3.8.2

Spark 2.6.3

root@skype:~# spectrum2_manager stop
Stopping /etc/spectrum2/transports/skype.cfg: OK
Stopping /etc/spectrum2/transports/fb.cfg: OK
Stopping /etc/spectrum2/transports/msn.cfg: OK
root@skype:~# spectrum2_manager start
Starting /etc/spectrum2/transports/skype.cfg: OK
Starting /etc/spectrum2/transports/fb.cfg: OK
Starting /etc/spectrum2/transports/msn.cfg: OK
root@skype:~#

Thanks.

Hi Jose, Gojara is not officially tested with Skype / Facebook. We only use ICQ/MSN/Yahoo/Gtalk/AIM/ + some other XMPP Protocols, i’ll try to set up skype in some time so maybe i will be able to help then.

Regards, Axel

Hi Axel… thanks for the quick response. Now I active MSN without problems. How can I add contacts from spark? I do not see the options.

In spark you should have a Contacts tab, in which you can select something like Add Contact. There you can specify the user you want to add and the group it should be added to. Also you should select the network of contact so spark knows where to send the request to.

Regards, Axel

Axel… I will reinstall all again because I think that I play too mucho with the software server. The spark not showme that option “User is on a public network”. So I will reinstall and inform.

Axel… I send you pm with my configs. I getting this error now on spark. Also is not showing the transports.

Was a dns issue to solve the problem.But still now transport tab.

All issues resolved, Just make sure that JID a large domain.

MSN work like a charm. Skype still not apearing on transports list but spark log shows:

<feature var="[http://jabber.org/protocol/disco#info](http://jabber.org/protocol/disco#info)"/>

<feature var="[http://jabber.org/protocol/commands](http://jabber.org/protocol/commands)"/>

Some has the init script for spectrum on ubuntu ?

Yeah i think gojara/of is not correctly identifying skype, i guess will look into that as soon as i have time to test skype myself. but as long as im working on the “admin interface” it wont be a priority