Module: sems Branch: sayer/1.4-spce3.0 Commit: 26035b6f2665249bd6831b680488595755478108 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=26035b6f2665249bd6831b680488595755478108
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Mon Aug 19 18:03:22 2013 +0200 sbc: update SBCCallRegistry only on positive replies to INVITE --- apps/sbc/SBC.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/apps/sbc/SBC.cpp b/apps/sbc/SBC.cpp index b589fb5..ad8a055 100644 --- a/apps/sbc/SBC.cpp +++ b/apps/sbc/SBC.cpp @@ -1339,7 +1339,7 @@ void SBCCalleeSession::onSipReply(const AmSipReply& reply, int old_dlg_status, // update call registry (unfortunately has to be done always - // not possible to determine if learned in this reply) - if (!dlg.remote_tag.empty()) { + if (!dlg.remote_tag.empty() && reply.code >= 200 && trans_method == SIP_METH_INVITE) { SBCCallRegistry::updateCall(other_id, dlg.remote_tag); } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
