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

Sure, here you go:

I’ve done a complete registration process here, with those steps:

  • service discovery (not logged)
  • registration (logged)
  • set manual status to available (logged)

The Spectrum2 log (covers the whole process): http://dpaste.com/1326109/

The Gajim XML log from when I registered from service discovery: http://dpaste.com/1326110/ (look at the second-last incoming message “”)

And the Gajim log from when I changed my status manually and went online with that transport: http://dpaste.com/1326111/

I hope this helps, thank you for your effort!

can someone send me the files transport spectrum for me to compare with mine?

thank you friends!

i dont know why the gojara / spectrum2 guide is currently not visible, i can press publish but it doesnt change anything. I will attach it as PDF here as long as its not visible.
DOC-2601.pdf (380044 Bytes)

Hi,

In case I want to provide gateways for multiple IM services like MSN, ICQ, AIM, then, shall I need to run multiple instances of Spectrum2 with configuration files for respective IM services?

e.g.

spectrum -n msn.cfg

spectrum2 -n icq.cfg

spectrum2 -n aim.cfg

Or only a single instance of spectrum2 will suffice with configuration information in a single configuration file for all the different IM services?

Regards,

Kamal

You create multiple configurations for multiple transports and use spectrum2_manager to control them.

“spectrum2_manager start” starts all available configuration files, “spectrum2_manager jid.yourdomain.tld start” starts only a single configuration defining its JID as jid.yourdomain.tld.

Hey, you dont need to start multiple Instances of spectrum2 by yourself, but you DO need a configuration file for EVERY service you want to enable.

Please dont use most of this thread for configuration advice, as some of it is quite outdated.

If you want to run Gojara with Spectrum 2 on OF all you need should be provided by this guide:

http://community.igniterealtime.org/docs/DOC-2601

(Or see the pdf posted by me somewhere above)

Regards, Axel

That’s exactly how its done

Hey panni! Some new questions:

  1. When registering with MSN transport, does the registration show up in the gojara transport overview? ( be sure to delete it if it exist before trying it out again)

  2. Then try unregistering your credentials via your MESSENGER, not gojara admin console. After unregistering, is the registration still in the gojara overview?

Would also help me greatly if you could show me how gajim sends the unregister packet to OF, so just log the unregister process in the client.

  1. Your problem is currently that after entering your credentials for msn, it just stays offline and does nothing until you manually set your presence to online, did i get this right?
  1. no

  2. no, because it wasn’t there in the first place (and gajim responded as “registration successful” to my unregister request)

(un)registering via gajim: http://dpaste.com/1335686/

  1. yes

New version is up, see http://community.igniterealtime.org/message/231619#231619

Your registration should now get tracked properly, so register & unregister from gajim should be shown in transport overview. I dont think this affects the presence thing, but please try it out.

Concerning the presence i could probably do an extra presence push when Gojara see’s you connect via gajim packet forms, i just need to be sure it doesnt affect already working features so please try this out before we work on that

Regards, Axel

Hey,

registration/unregistration works now, though it still is only reflected in the transport overview after I change my individual presence to online for the transport.

What about the presence push - how did Kraken do this? I can connect to ejabberd and openfire kraken transports without any of the problems I have with Gojara/Spectrum2.

Try the jar in this post. Also wrote you a pm Ill upload it here because i will have to go offline now. Will be back on monday / tuesday. Hope this works for you, if it still doesnt work its probably a bit more work anyways, i’ll have to think about how to include the option so its done nicely and doesnt interfere with anything else

Regards, Axel

Hey panni! There is a new version out, please try that one. If you still have any issues, please create a new thread in our shining new community plugin subspace: http://community.igniterealtime.org/community/plugins/gojara

(this thread is getting a little confusing with all the different content in it)

Please also have a look at the Gajim section in the Guide document.

best regards, Axel

i have a bug, i must authorize the gateway but i not have a request for add it to my roster

Hi, Axel

I’m _vt from spectrum room

A lot of openfire users complain about spectrum2 setup with openfire and can’t getting it work.

I have try to setup openfire and spectrum and found the problem: openfire does not push transport jid to user roster. It must be there and subscription must be approved in “both” ways, then spectrum will able to detect user connect/disconnect and sends proper presences from contacts. The only way to make spectrum work - is add spectrum jid manually.

 At first, the problem is in openfire core: when user have registered on transport - transport check remote roster support by sending jabber:iq:roster request to server jid from transport jid. If server reply with error - then spectrum considers remote roster is not supported and sends subscription request to user and when user approve it - it pushed to user roster and transport will work normal. But Openfire replies with empty result, which is a **bug **- it should send an error response, because we cannot access to user roster.(See http://xmpp.org/rfcs/rfc6121.html#roster for details). Transport receive empty result, consider server is supporting remote roster and trying to push contacts directly, which doesn't work, because server reject pushes from unapproved jid. So the whole registration flow is broken: user must add transport jid to roster manually to work properly, receive tons of subscription requests from his contacts and only after that it will work more or less normal.

 The second problem is gojara - it does not resolve the first problem properly

It approve somehow transport jid for roster pushes, but it should push transport jid first when user just registered. If it will do it, then “gajim workaround” will not need Anyway, this workaround works only first time, if I check “persistent roster” option, which should be default, as I think

If you have any questions - please, contact me in spectrum room.

Hi Vitaly,

Is this in the latest Openfire/GoJara? I never had this issue with my Openfire installation. Haven’t updated either for a while… rolled back a bit to get Twitter working again.

Kind Regards,

Gary Shergill

Hi, Gary,

Yes, I have tested openfire 3.8.2 and gojara 2.1.3, please give your versions to test.

Hi Vitaly,

I’m using Openfire 3.8.2 as well, but GoJara 2.0.0.

Kind Regards,

Gary Shergill

i have the problem with the last gojara and openfire versione

Hey guys! I will look into it, maybe i broke something ^^

Was sick this week, but i think i will get to it as soon as i’m fully recovered.

Thanks for your effort _vt

Axel