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

Aron Rosenberg arosenberg at sightspeed.com
Fri Apr 18 18:03:28 CDT 2008


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:

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080418/284c133d/attachment.htm>


More information about the resiprocate-devel mailing list