multimediacommsengine/mmcesrv/mmceserver/src/mcenatstatedecodeanswer.cpp
branchRCL_3
changeset 3 513a8b745b2f
parent 0 1bce908db942
equal deleted inserted replaced
0:1bce908db942 3:513a8b745b2f
   140 
   140 
   141 	CSdpDocument* previous = session.Offer();
   141 	CSdpDocument* previous = session.Offer();
   142 	aEvent.Session().SetOffer( aEvent.Document() );
   142 	aEvent.Session().SetOffer( aEvent.Document() );
   143 	aEvent.NatActions().SetOffered( KMceNatOfferSdp );
   143 	aEvent.NatActions().SetOffered( KMceNatOfferSdp );
   144 	aEvent.NatActions().SdpCleanup( previous, session.Offer() );
   144 	aEvent.NatActions().SdpCleanup( previous, session.Offer() );
   145 	aEvent.NatActions().StateChangedL( aEvent, KMceNatStateConnected );
   145 	if( EMceProvisionalResponse == aEvent.Code() )
       
   146 		{
       
   147 		aEvent.NatActions().StateChangedL( aEvent, KMceNatStateWait );		
       
   148 		}
       
   149 	else
       
   150 		{
       
   151 		aEvent.NatActions().StateChangedL( aEvent, KMceNatStateConnected );		
       
   152 		}
   146     }
   153     }
   147 
       
   148 
   154 
   149 // End of File
   155 // End of File
   150 
   156