fixes a bug causing the caller dialog to interpret answers from the

old callee dialog as if they where from the new one.


git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@58 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 20 years ago
parent 738313aa22
commit 759b24189f

@ -203,6 +203,11 @@ void AmB2BCallerSession::onB2BEvent(B2BEvent* ev)
AmSipReply& reply = ((B2BSipReplyEvent*)ev)->reply;
if(other_id != reply.local_tag){
DBG("Dialog missmatch!!\n");
return;
}
DBG("reply received from other leg\n");
switch(callee_status){
@ -221,6 +226,8 @@ void AmB2BCallerSession::onB2BEvent(B2BEvent* ev)
reinviteCaller(reply);
}
else {
//DBG("received %i from other leg: other_id=%s; reply.local_tag=%s\n",
// reply.code,other_id.c_str(),reply.local_tag.c_str());
terminateOtherLeg();
}

Loading…
Cancel
Save