powered by Jive Software

Feature?

Hi,

Support Jingle for Wildfire or Spark ?

Daniel

Hola Daniel,

Yes, adding support for Jingle is in our roadmap both of Wildfire and Spark. We don’‘t have a target date yet but it’'s high in our priorities.

Saludos,

– Gato

I am already support jingle for Wildfire and IMX Client.

Hey zhuam,

Would you like to contribute the Jingle code to the Wildfire community? I would love to include it (after an agreed review) in a future release of the server.

Thanks,

– Gato

Hey gaston.

Support JEP-0166: Jingle for wildfire is easy, because of all consultations carry on in the client.

This is a Jingle Handler for wildfire .

package org.jivesoftware.wildfire.handler;

import org.dom4j.Element;

import org.jivesoftware.wildfire.IQHandlerInfo;

import org.jivesoftware.wildfire.auth.UnauthorizedException;

import org.xmpp.packet.IQ;

import org.xmpp.packet.PacketError;

/**

  • Support JEP-0166: Jingle Signalling .

  • @author aming zhu {@link zhuaming at gmail.com}

*/

public class IQJingleHandler extends IQHandler {

private IQHandlerInfo info;

public IQJingleHandler() {

super(“Jingle Handler”);

      info = new IQHandlerInfo("jingle", "http://jabber.org/protocol/jingle");

}

@Override

public IQ handleIQ(IQ packet) throws UnauthorizedException {

Element childElement = packet.getChildElement();

if ( childElement.attribute(“action”) == null

|| childElement.attribute(“initiator”) == null

|| childElement.attribute(“sid”) == null

|| childElement.element(“description”) == null

|| childElement.element(“transport”) == null ){

IQ reply = IQ.createResultIQ(packet);

reply.setChildElement(packet.getChildElement().createCopy());

reply.setError(PacketError.Condition.bad_request);

return reply;

}

else {

return packet;

}

}

@Override

public IQHandlerInfo getInfo() {

return info;

}

}

/code

Message was edited by: zhuam

Good day.

There is a lot of interest in the voice community for Jingle-to-SIP gateways, whereby Jingle based voice clients can bridge to SIP based voice clients.

I took a quick look at the GoogleTalkConnection class and mentally folded that in to what might be done with the Java.net project JAIN SIP reference API, and the possibilities are compelling for an all-Java solution to this problem.

If anyone in this community is working on such a gateway using Smack as a basis, I would dearly love to hear from you.

Thanks.

Mark