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

Scott Godin slgodin at icescape.com
Sun Apr 20 16:34:51 CDT 2008


Thanks Aron - I'll commit that fix.

 

From: resiprocate-devel-bounces at resiprocate.org
[mailto:resiprocate-devel-bounces at resiprocate.org] 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:

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080420/242216de/attachment.htm>


More information about the resiprocate-devel mailing list