Module: sems Branch: rco/offer_answer Commit: 9aa07f6c2b6c10d6c47eb7ff5760a263d47d840d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9aa07f6c2b6c10d6c47eb7ff5760a263d47d840d
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Tue May 10 16:37:40 2011 +0200 align BYE/CANCEL behavior with 1.4 --- core/AmSession.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/core/AmSession.cpp b/core/AmSession.cpp index a6ea0d7..91d16de 100644 --- a/core/AmSession.cpp +++ b/core/AmSession.cpp @@ -799,9 +799,11 @@ void AmSession::onSipRequest(const AmSipRequest& req) return; } else if( req.method == SIP_METH_BYE ){ + dlg.reply(req,200,"OK"); onBye(req); } else if( req.method == SIP_METH_CANCEL ){ + dlg.reply(req,200,"OK"); onCancel(req); } else if( req.method == SIP_METH_INFO ){ @@ -877,7 +879,6 @@ void AmSession::onInvite(const AmSipRequest& req) void AmSession::onBye(const AmSipRequest& req) { - dlg.reply(req,200,"OK"); setStopped(); } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
