After adding some debug lines, the problem is that sometimes there is no
audiocalls or videocalls caps when starting media-hub, so it never
really connects the off/on hook signals.

150     void checkAndAddAccount(const Tp::AccountPtr& account)
151     {
152         Tp::ConnectionCapabilities caps = account->capabilities();
153 
154         // anything call like, perhaps overkill?
155         if (caps.audioCalls() || caps.videoCalls() || 
caps.videoCallsWithAudio() || caps.streamedMediaCalls()) {
156             auto tcm = new TelepathyCallMonitor(account);
157             connect(tcm, SIGNAL(offHook()), SLOT(offHook()));
158             connect(tcm, SIGNAL(onHook()), SLOT(onHook()));
159             mCallMonitors.push_back(tcm);
160         }
161     }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1409125

Title:
  Media-hub fails to get the call started/ended signals from telepathy-
  bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1409125/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to