Juha,

thanks for the detailed report.

o Juha Heinanen on 09/04/2013 09:55 AM:
> established a dialog and sems then sends the second invite as an
> in-dialog request with to ;tag.  since i have defined

I think clear_other needs to be called there. could you try out the
attached patch?

Stefan
diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp
index 29ea826..25e3b94 100644
--- a/core/AmB2BSession.cpp
+++ b/core/AmB2BSession.cpp
@@ -1118,8 +1118,10 @@ void AmB2BCallerSession::connectCallee(const string& remote_party,
 				       const string& remote_uri,
 				       bool relayed_invite)
 {
-  if(callee_status != None)
+  if(callee_status != None) {
     terminateOtherLeg();
+    clear_other();
+  }
 
   if (relayed_invite) {
     // relayed INVITE - we need to add the original INVITE to
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to