< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Missing action at glare timeout


Hi all,
All glare timer cases are not handled when acting as UAS. This patch fixes the 
problem:

Best Regards
Björn A.



*** ServerInviteSession.cxx.orig        2014-08-26 10:18:31.966862507 +0200
--- ServerInviteSession.cxx     2014-08-26 10:19:47.302862731 +0200
*************** ServerInviteSession::dispatch(const DumT
*** 909,928 ****
--- 909,932 ----
     }
     else if (timeout.type() == DumTimeout::Glare)
     {
        if (mState == UAS_SentUpdateGlare)
        {
           transition(UAS_SentUpdate);
           InfoLog (<< "Retransmitting the UPDATE (glare condition timer)");
           mDialog.makeRequest(*mLastLocalSessionModification, UPDATE);  // 
increments CSeq
           send(mLastLocalSessionModification);
        }
+       else
+       {
+          InviteSession::dispatch(timeout);
+       }
     }
     else
     {
        InviteSession::dispatch(timeout);
     }
  }
  
  void
  ServerInviteSession::dispatchStart(const SipMessage& msg)
  {