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

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


Thanks Aron – I’ll commit that fix.

 

From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Aron Rosenberg
Sent: April 18, 2008 7:03 PM
To: resiprocate-devel
Subject: [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: