Bug 18868

Summary: Can't call Gmail chat users
Product: Telepathy Reporter: Andrew Min <andrew>
Component: gabbleAssignee: Senko Rasic <senko>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: freedesktop-bugs, jjardon
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Log

Description Andrew Min 2008-12-03 10:37:57 UTC
I was told by the Empathy devs that this was a telepathy-gabble bug. You can see the original bug filed against empathy at http://bugzilla.gnome.org/show_bug.cgi?id=563131.

Please describe the problem:
I tried calling my brother (on a Mac) who has the Gmail voice/video plugin
installed using Empathy (and telepathy-gabble) on my end. It hangs at connecting.

Steps to reproduce:
1. Call person who uses Gmail and the voice/video plugin that Google provides
for Gmail
2. Person picks up


Actual results:
Empathy hangs at "connecting"

Expected results:
Empathy would pick it up

Does this happen every time?
Yes
Comment 1 Guillaume Desmottes 2008-12-03 14:25:24 UTC
Which version of telepathy-gabble are you using?

Gabble and stream-engine log are needed to help us to understand the problem. See http://live.gnome.org/Empathy/Debugging about how to get those logs.
Comment 2 Andrew Min 2008-12-03 18:21:41 UTC
Created attachment 20781 [details]
Log
Comment 3 Andrew Min 2008-12-03 18:22:21 UTC
I am using Intrepid, so that would be 0.7.8.

Here's the log. I think I got all the directions down, not 100% sure.
Comment 4 Guillaume Desmottes 2008-12-04 02:29:41 UTC
As I said on the Empathy bug report, you need telepathy-gabble 0.7.16 for google web client compat.
As you are using Intrepid, you can find it on our PPA:
https://launchpad.net/~telepathy/+archive
Comment 5 Andrew Min 2008-12-04 06:38:43 UTC
Oh, sorry. I thought 0.7.16 = 0.7.1.6. :-P.
Comment 6 Guillaume Desmottes 2008-12-04 09:52:10 UTC
Could you try with latest version and let us know if that works for you?
Comment 7 Andrew Min 2008-12-04 13:04:33 UTC
This time, it connects, and then immediately hangs up (Gmail reports that Empathy immediately ended the call). Here's the pastebin from Empathy:

http://pastebin.com/m3a09c9c2
Comment 8 Guillaume Desmottes 2008-12-04 14:46:45 UTC
Please post telepathy-gabble and telepathy-sofiasip logs. Empathy's ones are not very useful in that case.
Comment 9 Guillaume Desmottes 2008-12-04 15:18:34 UTC
I just tried to call a google web client and audio wasn't working.

http://people.collabora.co.uk/~cassidy/logs/call-google-web-gabble.log
http://people.collabora.co.uk/~cassidy/logs/call-google-web-se.log
Comment 10 Guillaume Desmottes 2008-12-04 15:19:24 UTC
oh, I was using Gabble master for my test.
Comment 11 Senko Rasic 2008-12-04 22:42:17 UTC
(In reply to comment #7)
> This time, it connects, and then immediately hangs up (Gmail reports that
> Empathy immediately ended the call). Here's the pastebin from Empathy:
> 
> http://pastebin.com/m3a09c9c2

The component that does the actual connecting to the GTalk server is
telepathy-gabble, so we would need its debugging logs to figure out
what's happening. If possible, please provide gabble log, with
GABBLE_DEBUG=all and LM_DEBUG=net environment variables set. The
howto for debugging Telepathy components is at: 
  http://telepathy.freedesktop.org/wiki/Debugging 

(In reply to comment #9)
> I just tried to call a google web client and audio wasn't working.
> 
> http://people.collabora.co.uk/~cassidy/logs/call-google-web-gabble.log
> http://people.collabora.co.uk/~cassidy/logs/call-google-web-se.log

Gabble log indicates that session was successfully initiated and accepted,
and SE log shows the media is connected:

** (telepathy-stream-engine:28896): DEBUG: stream 1 (audio) cb_fs_state_changed: stream 0x8140910, state: connected, direction: both

So, from this it would seem that the call goes through. Can you describe
what you mean exactly by "audio wasn't working"? There was no sound, or
was the call ended immediately (which is the original bug report)?
Comment 12 Andrew Min 2008-12-05 09:46:35 UTC
OK, now it hangs at "ringing". Here's the telepathy-gabble log. http://pastebin.com/m7e5c1156
Comment 13 Johan Brannlund 2008-12-06 11:18:07 UTC
Andrew, some buggy webcam drivers hang under certain conditions. If you have a webcam, try disconnecting it or unloading the driver kernel module (in my case, uvcvideo).

With the latest versions of the PPA packages, I can establish an audio call, but the person on the other end (using the google web client) can't hear me. It doesn't appear to be a local problem - sip echo tests work well.

Comment 14 kunir 2008-12-11 11:10:40 UTC
(In reply to comment #13)
> Andrew, some buggy webcam drivers hang under certain conditions. If you have a
> webcam, try disconnecting it or unloading the driver kernel module (in my case,
> uvcvideo).

I had similar problem, call was getting disconnected as soon as it was answered. i had to install Gstreamer plugin for ALSA and it started working.
Comment 15 Andrew Min 2008-12-12 06:47:37 UTC
OK, I rmmoded all the webcam drivers I could think of. Nothing. GStreamer-alsa is installed.
Comment 16 Javier Jardón 2009-04-23 22:31:18 UTC
I tried the latest Ubuntu jaunty packages (telepathy-gabble_0.7.22) and I can't do a voice call with Gmail chat users.
Comment 17 Javier Jardón 2009-08-10 05:16:32 UTC
I tried the latest Ubuntu karmic packages (telepathy-gabble_0.7.31) and now I _can_ do a voice call with Gmail chat users.

Thank you
Comment 18 Dafydd Harries 2009-09-22 15:22:29 UTC
Thanks for the bug and confiming the fix!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.