multimediacommsengine/mmcesrv/mmceserver/src/mcestateestablished.cpp
branchRCL_3
changeset 17 a5ac35ca6d81
parent 0 1bce908db942
equal deleted inserted replaced
14:5bf83dc720b3 17:a5ac35ca6d81
    25 #include "mceactionset.h"
    25 #include "mceactionset.h"
    26 #include "mcefcactionset.h"
    26 #include "mcefcactionset.h"
    27 #include "mcenatmacros.h"
    27 #include "mcenatmacros.h"
    28 #include "mcesdpsession.h"
    28 #include "mcesdpsession.h"
    29 #include "mcesrvlogs.h"
    29 #include "mcesrvlogs.h"
    30 
    30 #include "mcenatsipsession.h"
    31 
    31 
    32 // -----------------------------------------------------------------------------
    32 // -----------------------------------------------------------------------------
    33 // CMceStateEstablished::CMceStateEstablished
    33 // CMceStateEstablished::CMceStateEstablished
    34 // -----------------------------------------------------------------------------
    34 // -----------------------------------------------------------------------------
    35 //
    35 //
   178 	            }
   178 	            }
   179 	        //refresher's session timer fired
   179 	        //refresher's session timer fired
   180 	        //and thus, refresh is launched (INVITE)
   180 	        //and thus, refresh is launched (INVITE)
   181 	        case EMceSessionRefresh:
   181 	        case EMceSessionRefresh:
   182 	            {
   182 	            {
   183 	            session.Actions().EncodeL();
   183                 session.Actions().EncodeL();
       
   184                 if ( session.IsNatSession() ) 
       
   185                     {
       
   186                     CMceNatSipSession* natSession = static_cast<CMceNatSipSession*>( &session );
       
   187                     natSession->CreateOfferL();
       
   188                     }
   184 	            session.FCActions().UpdateFCOfferL( *session.Offer() );
   189 	            session.FCActions().UpdateFCOfferL( *session.Offer() );
   185 	            session.Actions().SendSessionRefreshL();
   190 	            session.Actions().SendSessionRefreshL();
   186 	            break;
   191 	            break;
   187 	            }
   192 	            }
   188 	        //pending timer fired, re-send re-INVITE
   193 	        //pending timer fired, re-send re-INVITE