Module: sems Branch: 1.4 Commit: a9e934864cf77fe4641496ff82c25b86e97aac14 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a9e934864cf77fe4641496ff82c25b86e97aac14
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Wed Jun 22 17:13:46 2011 +0200 b/f: SST: only update Timers on INVITE and UPDATE reply --- core/plug-in/session_timer/SessionTimer.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/plug-in/session_timer/SessionTimer.cpp b/core/plug-in/session_timer/SessionTimer.cpp index d866de2..c464375 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; } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
