/[resiprocate]/main/resip/dum/InviteSession.cxx
ViewVC logotype

Diff of /main/resip/dum/InviteSession.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9884 by sgodin, Wed Sep 26 13:05:13 2012 UTC revision 9902 by sgodin, Thu Nov 22 20:55:15 2012 UTC
# Line 2423  Line 2423 
2423     mSessionInterval = mDialog.mDialogSet.getUserProfile()->getDefaultSessionTime();  // Used only if remote doesn't request a time     mSessionInterval = mDialog.mDialogSet.getUserProfile()->getDefaultSessionTime();  // Used only if remote doesn't request a time
2424     if(mSessionInterval != 0)     if(mSessionInterval != 0)
2425     {     {
2426         // If session timers are no disabled then ensure interval is greater than or equal to MinSE         // If session timers are not disabled then ensure interval is greater than or equal to MinSE
2427         mSessionInterval = resipMax(mMinSE, mSessionInterval);         mSessionInterval = resipMax(mMinSE, mSessionInterval);
2428     }     }
2429     switch(mDialog.mDialogSet.getUserProfile()->getDefaultSessionTimerMode())     switch(mDialog.mDialogSet.getUserProfile()->getDefaultSessionTimerMode())
# Line 2530  Line 2530 
2530     // If session timers are locally supported then add necessary headers to response     // If session timers are locally supported then add necessary headers to response
2531     if(mDum.getMasterProfile()->getSupportedOptionTags().find(Token(Symbols::Timer)))     if(mDum.getMasterProfile()->getSupportedOptionTags().find(Token(Symbols::Timer)))
2532     {     {
2533          // Update MinSE if specified and longer than current value
2534          if(request.exists(h_MinSE))
2535          {
2536             mMinSE = resipMax(mMinSE, request.header(h_MinSE).value());
2537          }
2538        setSessionTimerPreferences();        setSessionTimerPreferences();
2539    
2540        // Check if far-end supports        // Check if far-end supports
# Line 2546  Line 2551 
2551                  mSessionRefresher = (request.header(h_SessionExpires).param(p_refresher) == Data("uas"));                  mSessionRefresher = (request.header(h_SessionExpires).param(p_refresher) == Data("uas"));
2552              }              }
2553           }           }
   
          // Update MinSE if specified and longer than current value  
          if(request.exists(h_MinSE))  
          {  
              mMinSE = resipMax(mMinSE, request.header(h_MinSE).value());  
          }  
2554        }        }
2555        else        else
2556        {        {

Legend:
Removed from v.9884  
changed lines
  Added in v.9902

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27