Module: sems Branch: master Commit: 9d6f495dec53644031da694157ff38103f775db9 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9d6f495dec53644031da694157ff38103f775db9
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Mar 4 11:40:07 2013 +0100 b/f: short-circuit ACK processing in AmSipDialog before this fix, ACK requests would accumulate in uas_reqs for no reason. --- core/AmSipDialog.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index 1605642..80c509b 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -76,7 +76,9 @@ AmSipDialog::~AmSipDialog() bool AmSipDialog::onRxReqSanity(const AmSipRequest& req) { if (req.method == SIP_METH_ACK) { - return true; + if(onRxReqStatus(req) && hdl) + hdl->onSipRequest(req); + return false; } if (req.method == SIP_METH_CANCEL) { _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
