Module: sems Branch: rco/offer_answer Commit: 8252e0ca22fc125dd0cb5e0e868b0ade96f8682a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8252e0ca22fc125dd0cb5e0e868b0ade96f8682a
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Apr 21 17:47:16 2011 +0200 allow replies to be processed after clear_other(); --- core/AmB2BSession.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index 90e4d28..b1a52e4 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -860,15 +860,15 @@ void AmB2BCallerSession::onB2BEvent(B2BEvent* ev) AmSipReply& reply = ((B2BSipReplyEvent*)ev)->reply; if(other_id.empty()){ - DBG("Discarding B2BSipReply from other leg (other_id empty)\n"); - DBG("reply code=%i; method=%s; callid=%s; from_tag=%s; " - "to_tag=%s; cseq=%i\n", + //DBG("Discarding B2BSipReply from other leg (other_id empty)\n"); + DBG("B2BSipReply: other_id empty (" + "reply code=%i; method=%s; callid=%s; from_tag=%s; " + "to_tag=%s; cseq=%i)\n", reply.code,reply.cseq_method.c_str(),reply.callid.c_str(),reply.from_tag.c_str(), reply.to_tag.c_str(),reply.cseq); - return; + //return; } - - if(other_id != reply.from_tag){// was: local_tag + else if(other_id != reply.from_tag){// was: local_tag DBG("Dialog mismatch! (oi=%s;ft=%s)\n", other_id.c_str(),reply.from_tag.c_str()); return; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
