[Pidgin] #11267: Pidgin randomly chooses an ICE role

Pidgin trac at pidgin.im
Sat Jan 30 08:09:38 EST 2010


#11267: Pidgin randomly chooses an ICE role
-------------------------------------------------+--------------------------
 Reporter:  PaulePanter                          |     Owner:  rekkanoryo
     Type:  defect                               |    Status:  new       
Component:  unclassified                         |   Version:  2.6.5     
 Keywords:  psi ice controlling controlled role  |  
-------------------------------------------------+--------------------------
 Dear Pidgin developers,

 I had problems doing voice calls with [http://psi-im.org/ Psi] and Pidgin.
 I reported that on [http://lists.affinix.com/listinfo.cgi/psi-devel-
 affinix.com psi-devel] and [http://lists.affinix.com/pipermail/psi-devel-
 affinix.com/2010-January/008964.html Justin summed it up the following
 way].

 > The bug has to do with ICE roles.  The caller is supposed to be in the
 > controlling role and the callee in the controlled role.  Pidgin takes on
 a
 > random role, and possibly biases to the controlling role.  I suspect an
 > uninitialized value somewhere.  The failed call occurs when the wrong
 role is
 > used.  For example, if Psi is in the controlling role (it is calling),
 and
 > Pidgin decides to operate in the controlling role too, even though it is
 the
 > one receiving the call, then the call will fail.
 >
 > The reason Pidgin works with itself (and with Empathy) is because both
 clients
 > support role conflict resolution.  This means that if both clients pick
 the
 > same role, there is a way for the clients to switch to appropriate
 roles.
 > For example, if both clients are in the controlling role, one would
 switch to
 > controlled.
 >
 > Someday, Psi will also support role conflict resolution, and calls would
 work
 > with Pidgin's current behavior.  However, that is not the "right"
 solution.
 > Role conflicts are only supposed to happen when you have weird use-cases
 like
 > a third-party call controller telling two clients to call each other at
 the
 > same time and then bridging them (in this case, both clients would think
 they
 > are the caller in the controlling role).  Role conflicts should not
 happen in
 > the typical case, and the fact that Pidgin probably causes role
 conflicts on
 > 50% of its Jingle calls is not only silly from a programming standpoint
 it is
 > also a violation of spec (the default roles are MUSTs in the ICE spec).

 Please see the [http://lists.affinix.com/pipermail/psi-devel-
 affinix.com/2010-January/008961.html whole thread] for further
 information. I also do not know if #10343 has to do with it and both
 should be merged.


 Thanks,

 Paul

-- 
Ticket URL: <http://developer.pidgin.im/ticket/11267>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list