powered by Jive Software

Voice chat using jingle?

Hello Friends,

I implement Demo application of jingle voice.

I download Demo application from smack\jingle\extension\source\org\jivesoftware\smackx\jingle\mediaimpl\demo.

Using this Demo application I am able to call Spark client and Also able to receive call from spark client.

Now I want to make voice chat from Demo to Demo appication. I also try it but I am failed to do so. Can you guide me to do so?

Actually I have one small java application and i want to implement voice chat in it using jingle.

Please guide me

Thanks in advance.

  • Pathik Patel


Are you providing the full JID of the other party when tryig to make a call?

What’'s the network setup? Lan to Lan or Internet to Internet ?

Are you connecting to a local XMPP Server or Remote one?

Best Regards,


Hello Thiago,

Here I am providing full JID.

Currently I am working for LAN but My Planning is to implement this for Internet to internet.

I have installed Wildfire as my local server and I am using jivesoftware.com as my STUN service in my demo code sample.

If you required more information than let me know.

Thank you

  • Pathik Patel

Hi Pathik,

I am working on the same thing, like i want to make Demo application work from one lan to another lan. I ve setup the openfire server in a public ip and using the stun server as stun.xten.net. when two users are inside the same lan, it is working fine but when one user is in one lan and another user is different lan, it is not working. Negotiation is failing. So can u please help me if u ve solved that problem.

any suggestion will b appreciated.

sorry for my english.

thanks in advance.

I started a discussion on this subject a while ago (http://www.igniterealtime.org/community/thread/27051?tstart=0) where I detailed what I believed needed to be modified in the demo app to accomplish UDP NAT hole punching outside of a particular intranet.

In the end I wrote my own jingle style NAT hole puncher which has been pretty successful across combinations of both cone and (most) symmetric based firewalls. The algorithms are based directly on the descriptions from:

http://www.cs.cornell.edu/projects/stunt/draft-takeda-symmetric-nat-traversal-00 .txt



If you want to see an application which not only succeeds in making voice connections across the internet without the use of the openfire sever media proxy, but also allows real-time desktop sharing across the same peer-to-peer connection, feel free to check it out at http://www.yakkle.com.