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

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

Hi Holger,

Thank you for posting this. When I sign on to spark I am greeted with a grey ICQ button. I searched through my spectrum.cfg file and couldn’t find where icq was added (I thought it might be a default or something), or where I could add other protocols (‘aim’,‘msn’…) When I looked through the Spectrum IM docs I couldn’t find these instructions either. I initially thought I could add more by logging the ‘login.oscar.aol.com’ server as an ‘allowed_servers’ option under the [service] tag in the config file. This did not work. My question is how can I add more protocols, or maybe even easier, where is this icq icon in Spark coming from?

full disclosure: Currently our Openfire server runs on a Solaris 10 server and I’m trying to set up Spectrum IM to run on a separate server that runs Linux Ubuntu. The admin console says that the Spectrum component is connected to openfire.

Thanks.

Hi David,

maybe you should create a new topic for your questions, however.

The icq icon in spark is chosen by the name of the gateway.

For example:

if your gateway URL is* icq.your-jabber.org spark will chose the icq logo. If it is something like _msn.your.com _spark will take the msn logo and so on…

So maybe you haven’t configured icq within your spectrum config, but your gateway is called icq.*.

You can change the protocol spectrum uses in the spectrum config. Have a closer look to this:

http://spectrum.im/documentation/backends/libpurple.html

This is the libpurple backend, which provides a lot of standard gateway protocols. If you want to support multiple protocols, like *icq *and *msn *at the same time you have to run 2 spectrum instances. Spectrum can serve only one protocol per instance.

Maybe it would be cool to create a new tutorial for the new gojara plugin and spectrum2…

Also Axel-F. Brand may help you, he is currently the active developer for gojara.

greetings

Okay Awesome! I’ll play around with this and let you know how everything turns out. I probably should have created a a new topic; I did not know that I could do that. Thank you for the heads up. I’m interning and my employer asked me to look into upgrading our Openfire server from 3.6.4 to 3.8.2. I will probably have to document what I have done thus far in a formal manner and could post my steps on the community as a sort of tutorial if that would be helpful?

yes, of course. feel free to document the steps and help the community and others to upgrade their OF installations

After apt-get upgrade I am getting this error on spark. I see that was an update for spectrum2 so I download it. Then.

Connecting

root@mensajeria:~# tail -f /var/log/spectrum2/msn.mensajeria.lgis.local/backends/backend-1.log

1560: 2013-07-23 16:06:45,215 INFO libpurple: proxy:Attempting connection to 157.56.108.81

1560: 2013-07-23 16:06:45,215 INFO libpurple: proxy:Connecting to messenger.hotmail.com:1863 with no proxy

1560: 2013-07-23 16:06:45,215 INFO libpurple: proxy:Connection in progress

1560: 2013-07-23 16:06:45,413 INFO libpurple: proxy:Connecting to messenger.hotmail.com:1863.

1560: 2013-07-23 16:06:45,413 INFO libpurple: proxy:Connected to messenger.hotmail.com:1863.

1560: 2013-07-23 16:06:45,413 INFO libpurple: msn:C: NS 000: VER 1 MSNP18 CVR0

1560: 2013-07-23 16:06:50,108 INFO libpurple: util:Writing file prefs.xml to directory /var/lib/spectrum2/msn.mensajeria.lgis.local

1560: 2013-07-23 16:06:50,108 INFO libpurple: util:Writing file /var/lib/spectrum2/msn.mensajeria.lgis.local/prefs.xml

1560: 2013-07-23 16:06:50,158 INFO libpurple: util:Writing file accounts.xml to directory /var/lib/spectrum2/msn.mensajeria.lgis.local

1560: 2013-07-23 16:06:50,158 INFO libpurple: util:Writing file /var/lib/spectrum2/msn.mensajeria.lgis.local/accounts.xml

1560: 2013-07-23 16:08:54,538 INFO libpurple: util:Writing file accounts.xml to directory /var/lib/spectrum2/msn.mensajeria.lgis.local

1560: 2013-07-23 16:08:54,538 INFO libpurple: util:Writing file /var/lib/spectrum2/msn.mensajeria.lgis.local/accounts.xml

1560: 2013-07-23 16:09:13,089 INFO backend: Creating account with name ‘juan_perez555@hotmail.com’ and protocol ‘prpl-msn’

1560: 2013-07-23 16:09:13,089 INFO libpurple: account:Connecting to account juan_perez555@hotmail.com.

1560: 2013-07-23 16:09:13,089 INFO libpurple: connection:Connecting. gc = 0x9156578

1560: 2013-07-23 16:09:13,090 INFO libpurple: msn:new httpconn (0x91563e0)

1560: 2013-07-23 16:09:13,090 INFO libpurple: dnsquery:Performing DNS lookup for messenger.hotmail.com

1560: 2013-07-23 16:09:13,090 INFO libpurple: dns:Wait for DNS child 1561 failed: No child processes

1560: 2013-07-23 16:09:13,090 INFO libpurple: dns:Created new DNS child 1576, there are now 1 children.

1560: 2013-07-23 16:09:13,091 INFO libpurple: dns:Successfully sent DNS request to child 1576

1560: 2013-07-23 16:09:13,180 INFO libpurple: dns:Got response for ‘messenger.hotmail.com

1560: 2013-07-23 16:09:13,180 INFO libpurple: dnsquery:IP resolved for messenger.hotmail.com

1560: 2013-07-23 16:09:13,180 INFO libpurple: proxy:Attempting connection to 157.56.108.81

1560: 2013-07-23 16:09:13,180 INFO libpurple: proxy:Connecting to messenger.hotmail.com:1863 with no proxy

1560: 2013-07-23 16:09:13,180 INFO libpurple: proxy:Connection in progress

1560: 2013-07-23 16:09:13,382 INFO libpurple: proxy:Connecting to messenger.hotmail.com:1863.

1560: 2013-07-23 16:09:13,382 INFO libpurple: proxy:Connected to messenger.hotmail.com:1863.

1560: 2013-07-23 16:09:13,382 INFO libpurple: msn:C: NS 000: VER 1 MSNP18 CVR0

1560: 2013-07-23 16:09:18,539 INFO libpurple: util:Writing file accounts.xml to directory /var/lib/spectrum2/msn.mensajeria.lgis.local

1560: 2013-07-23 16:09:18,539 INFO libpurple: util:Writing file /var/lib/spectrum2/msn.mensajeria.lgis.local/accounts.xml

1560: 2013-07-23 16:09:27,537 INFO libpurple: util:Writing file accounts.xml to directory /var/lib/spectrum2/msn.mensajeria.lgis.local

1560: 2013-07-23 16:09:27,537 INFO libpurple: util:Writing file /var/lib/spectrum2/msn.mensajeria.lgis.local/accounts.xml

2013-07-23 16:11:13,093 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)

2013-07-23 16:11:33,093 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)

2013-07-23 16:11:53,094 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)

2013-07-23 16:12:13,094 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)

2013-07-23 16:12:33,094 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)

2013-07-23 16:12:42,854 INFO User: PRESENCE jose@mensajeria.lgis.local/Spark 2.6.3 msn.mensajeria.lgis.local

2013-07-23 16:12:42,855 INFO User: jose@mensajeria.lgis.local: Changing legacy network presence to 0

2013-07-23 16:12:43,255 INFO User: jose@mensajeria.lgis.local/Spark 2.6.3: got disco#info

2013-07-23 16:12:43,255 INFO User: jose@mensajeria.lgis.local/Spark 2.6.3: LEGACY

2013-07-23 16:12:53,095 INFO NetworkPluginServer: PING to 0x91f5cb0 (ID=1560)