Fixes for Jingle on Linux

Description

Could not establish a communication calling from a user in Linux. The message shown to the user is "Calling user. Please wait..."

How to reproduce it:
1- Modify the jingle/plugin.xml to include the linux os.
2- Modify the startup.sh to include ../lib/linux/jmf.jar: in the class path
3- Login and call a user.
4- In the error log there is the following error
5- Called user answer the phone.
6- The caller does not establish the communication

Error Log

Environment

Debian

Activity

Show:
wroot
November 11, 2009, 3:51 PM

cstux, maybe this is already resolved as Spark is already on fmj? Maybe we can close this issue?

Michael Will
January 29, 2009, 2:49 PM

FMJ help for this problem. Here you can find the patch for Jingle with FMJ:
http://www.igniterealtime.org/community/message/186687#186687

At this time you need a simple patched FMJ Version:
http://www.igniterealtime.org/community/message/186581#186581

Andrew Kornilov
November 20, 2007, 1:21 AM

May be this will help: http://fmj-sf.net/index.php

Eric de Boer
July 14, 2007, 2:29 AM

The javax.media.rtp.InvalidSessionAddressException: Local Data AddressDoes not belong to any of this hosts local interfaces is caused by the way the JSTUN library gets the local ip adres, it gets the adres only as ip adres while JMF checks the adres with a hostname/ipadres combination. The solution is to get the hostname before giving the localAdrr to JMF in AudioChannel

To fix it change
localAddr = new SessionAddress(InetAddress.getByName(this.localIpAddress),
localPort);

in AudioChannel to

String hostname = InetAddress.getByName(this.localIpAddress).getHostName();
localAddr = new SessionAddress(InetAddress.getByName(hostname),
localPort);

The hostname also has to be added to the local ip adress in /etc/hosts

MattM
April 20, 2007, 4:47 AM

After an immense amount of work by Thiago, we unfortunately need to reschedule this issue for some future release. JMF has many severe issues on Linux and it may never be possible to use it for stable audio and video capture on that platform. We're currently looking at other possible approaches, but it will not be a short term fix.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Major

Assignee

Michael Will

Reporter

Francisco Vives