[kopete-bugs] [Bug 201724] New: Kopete jingle support doesn't work with Google Talk - button greyed out

Bonne Eggleston bonne at ixum.net
Tue Jul 28 04:43:40 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=201724

           Summary: Kopete jingle support doesn't work with Google Talk -
                    button greyed out
           Product: kopete
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: bonne at ixum.net


Version:           0.70.4 (using 4.2.4 (KDE 4.2.4), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.29-gentoo-r5

I have Kopete installed from Gentoo with jabber and jingle support enabled. 
Logging in to "Google Talk" (jabber) works fine and sending instant messages
works fine. 
It is not possible to make voice calls.

In the chat window are two buttons "Start audio call", and "Show audio calls",
but they are greyed out. 

I believe the problem could be here (from line 85
kopete/protocols/jabber/jabberchatsession.cpp): 

        JabberResource *bestResource =
account()->resourcePool()->bestJabberResource( static_cast<JabberBaseContac
        if (bestResource)
        {
            jingleSessionGui->setEnabled( bestResource->features().canJingle()
);
            jingleSession->setEnabled( bestResource->features().canJingle() );
        }
        else
        {
            jingleSessionGui->setEnabled(false);
            jingleSession->setEnabled(false);
        }

I can see to resources for a google talk contact - one called "gmail.xyz", the
other "Talk.xzy", and there's another one "Automatic (best/default resource)". 
I assume that the above code is checking if the default resource has jingle
capability. If the default resource is the "gmail" one then it probably fails
that test and disables making audio calls. This code should probably check if
ANY resource can make jingle calls, or something similar.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list