From a9e934864cf77fe4641496ff82c25b86e97aac14 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 22 Jun 2011 17:13:46 +0200 Subject: [PATCH] b/f: SST: only update Timers on INVITE and UPDATE reply --- core/plug-in/session_timer/SessionTimer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/plug-in/session_timer/SessionTimer.cpp b/core/plug-in/session_timer/SessionTimer.cpp index d866de27..c464375d 100644 --- a/core/plug-in/session_timer/SessionTimer.cpp +++ b/core/plug-in/session_timer/SessionTimer.cpp @@ -125,8 +125,9 @@ bool SessionTimer::onSipReply(const AmSipReply& reply, int old_dlg_status, reply.cseq); } } - - updateTimer(s,reply); + if ((trans_method == SIP_METH_INVITE) || (trans_method == SIP_METH_UPDATE)) { + updateTimer(s,reply); + } return false; }