From cf3614c10e8c7934d79f0aca499de3e7233f2199 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 26 Mar 2008 11:26:38 +0000 Subject: [PATCH] fixed session timer to be aligned to AmSessionEventHandler prototype again git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@828 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/session_timer/SessionTimer.cpp | 4 +++- core/plug-in/session_timer/SessionTimer.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/plug-in/session_timer/SessionTimer.cpp b/core/plug-in/session_timer/SessionTimer.cpp index 79a49c90..02d26a25 100644 --- a/core/plug-in/session_timer/SessionTimer.cpp +++ b/core/plug-in/session_timer/SessionTimer.cpp @@ -91,6 +91,7 @@ bool SessionTimer::onSendRequest(const string& method, const string& content_type, const string& body, string& hdrs, + int flags, unsigned int cseq) { string m_hdrs = SIP_HDR_COLSP(SIP_HDR_SUPPORTED) "timer" CRLF; @@ -109,7 +110,8 @@ bool SessionTimer::onSendRequest(const string& method, bool SessionTimer::onSendReply(const AmSipRequest& req, unsigned int code,const string& reason, const string& content_type,const string& body, - string& hdrs) + string& hdrs, + int flags) { //if (!session_timer_conf.getEnableSessionTimer()) // return ""; diff --git a/core/plug-in/session_timer/SessionTimer.h b/core/plug-in/session_timer/SessionTimer.h index ae344822..5d41aba8 100644 --- a/core/plug-in/session_timer/SessionTimer.h +++ b/core/plug-in/session_timer/SessionTimer.h @@ -106,6 +106,7 @@ class SessionTimer: public AmSessionEventHandler const string& content_type, const string& body, string& hdrs, + int flags, unsigned int cseq); virtual bool onSendReply(const AmSipRequest& req, @@ -113,7 +114,8 @@ class SessionTimer: public AmSessionEventHandler const string& reason, const string& content_type, const string& body, - string& hdrs); + string& hdrs, + int flags); };