Module: sems Branch: master Commit: af9cb1c96069fec3636e535bf9841e46b91dc81e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=af9cb1c96069fec3636e535bf9841e46b91dc81e
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Mon Nov 15 17:17:10 2010 +0100 fixed some reply handling, done in core --- apps/sbc/SBC.cpp | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/apps/sbc/SBC.cpp b/apps/sbc/SBC.cpp index a47d9fa..e066f67 100644 --- a/apps/sbc/SBC.cpp +++ b/apps/sbc/SBC.cpp @@ -581,19 +581,9 @@ bool SBCDialog::onOtherReply(const AmSipReply& reply) startPrepaidAccounting(); } } - else if(reply.code == 487 && dlg.getStatus() == AmSipDialog::Pending) { - DBG("Stopping leg A on 487 from B with 487\n"); - dlg.reply(invite_req, 487, "Request terminated"); - setStopped(); - ret = true; - } - else if (reply.code >= 300 && dlg.getStatus() == AmSipDialog::Connected) { - DBG("Callee final error in connected state with code %d\n",reply.code); - terminateLeg(); - } else { DBG("Callee final error with code %d\n",reply.code); - AmB2BCallerSession::onOtherReply(reply); + ret = AmB2BCallerSession::onOtherReply(reply); } } return ret; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
