Bug 46756 - Raise NotCapable when trying to call a contact
Summary: Raise NotCapable when trying to call a contact
Status: RESOLVED NOTABUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-29 02:08 UTC by Guillaume Desmottes
Modified: 2012-03-06 02:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2012-02-29 02:08:41 UTC
Of my contact is supposed to be callable but Gabble raises NotCapable when requesting a Call1 channel with him.

His capabilities are:
{86L: [({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.TargetHandle']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.StreamTube',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
         u'org.freedesktop.Telepathy.Channel.Type.StreamTube.Service': u'rfb'},
        [u'org.freedesktop.Telepathy.Channel.TargetHandle',
         u'org.freedesktop.Telepathy.Channel.TargetID']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.StreamTube',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.TargetHandle',
         u'org.freedesktop.Telepathy.Channel.TargetID',
         u'org.freedesktop.Telepathy.Channel.Type.StreamTube.Service']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.DBusTube',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.TargetHandle',
         u'org.freedesktop.Telepathy.Channel.TargetID',
         u'org.freedesktop.Telepathy.Channel.Type.DBusTube.ServiceName']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialAudio',
         u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialVideo']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Call1',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.Type.Call1.InitialAudio',
         u'org.freedesktop.Telepathy.Channel.Type.Call1.InitialAudioName',
         u'org.freedesktop.Telepathy.Channel.Type.Call1.InitialVideo',
         u'org.freedesktop.Telepathy.Channel.Type.Call1.InitialVideoName',
         u'org.freedesktop.Telepathy.Channel.Type.Call1.MutableContents']),
       ({u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.FileTransfer',
         u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L},
        [u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.ContentHashType',
         u'org.freedesktop.Telepathy.Channel.TargetHandle',
         u'org.freedesktop.Telepathy.Channel.TargetID',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.ContentType',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.Filename',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.Size',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.ContentHash',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.Description',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.Date',
         u'org.freedesktop.Telepathy.Channel.Type.FileTransfer.URI'])]}
Comment 1 Guillaume Desmottes 2012-02-29 02:13:46 UTC
His presence:


<presence from='XXXXX@XXXXX/f9306a3d' to='cassidy@jabber.belnet.be/X200s'><status/><priority>-4</priority><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://telepathy.freedesktop.org/caps' ver='Nn5EUY18xWMLfOO2msyT/m0k1HU=' ext='pmuc-v1 share-v1 voice-v1 video-v1 camera-v1'/><x xmlns='vcard-temp:x:update'><photo>c411805300cce8d962c2d6b61c7b0848aab77b19</photo></x></presence>


According to him he's connected using Gabble 0.13.7 (OpenSuse 12.1).
Comment 2 Guillaume Desmottes 2012-03-06 02:12:58 UTC
That's because of <priority>-4</priority>, Gabble now rejects ressource having a negative priority. I guess that's fair, but a more helpful debug message would have save me a lot of time.

I'm wondering how he ended up with such priority as its empathy-accounts doesn't allow him to change the priority (gtalk account widget doesn't display the advanced settings).

Newest version of Empathy doesn't allow user to set a negative priority any more (bgo#669712) but maybe it should also automatically set to 0 any existing account having a negative priority as that's just asking for troubles. Thoughts?


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.