< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] [Patch] fix state transition for ServerInviteSession Connected


This is a small patch to fix a bug where the state was not transitioned before the callback.

 

This affects 1.2, 1.3 and head (didn’t check 1.1)

 

Index: ServerInviteSession.cxx

===================================================================

--- ServerInviteSession.cxx     (revision 7575)

+++ ServerInviteSession.cxx     (working copy)

@@ -339,8 +339,8 @@

       case UAS_ReceivedUpdateWaitingAnswer:

          // send::2XXU-answer

          // send::2XXI

+         transition(Connected);

          handler->onConnected(getSessionHandle(), *mInvite200);

-         transition(Connected);

          break;

 

       case UAS_Accepted: