multimediacommsengine/mmcesrv/mmceserver/src/mcestateoffering.cpp
branchRCL_3
changeset 8 2a28ef775f15
parent 3 513a8b745b2f
child 12 91f50911ea81
--- a/multimediacommsengine/mmcesrv/mmceserver/src/mcestateoffering.cpp	Wed Mar 31 22:14:10 2010 +0300
+++ b/multimediacommsengine/mmcesrv/mmceserver/src/mcestateoffering.cpp	Wed Apr 14 16:21:36 2010 +0300
@@ -31,6 +31,7 @@
 #include "mceclientserver.h"
 #include "mcesip.h"
 #include "mcesipsession.h"
+#include "mcenatsipsession.h"
 #include "mcenatmacros.h"
 #include "mcesdpsession.h"
 #include "mcesrvlogs.h"
@@ -632,6 +633,11 @@
          else
             {
             session.Actions().UpdateFailed(); 
+            if(session.IsNatSession()) 
+            	{
+				CMceNatSipSession* natsession = static_cast <CMceNatSipSession*>( &session );
+				natsession->StateRollBack();
+            	}
             session.Actions().StateChanged( KMceStateEstablished );
             session.Actions().ClientStateChangedL( CMceSession::EEstablished, 
                                                    *session.Body(),