Hello,

if you experience lots of not terminated B2B sessions, apply the below patch.

Stefan

o [email protected] [02/14/09 17:25]:
Author: sayer
Date: 2009-02-14 17:25:21 +0100 (Sat, 14 Feb 2009)
New Revision: 1273

Modified:
   trunk/core/AmB2BSession.cpp
Log:
...
 o don't call terminateLeg() on negative reply on callee leg, only setStopped()
   (sessions would be in disconnecting state and not being stopped)
...

Modified: trunk/core/AmB2BSession.cpp
===================================================================
--- trunk/core/AmB2BSession.cpp 2009-02-14 12:35:24 UTC (rev 1272)
+++ trunk/core/AmB2BSession.cpp 2009-02-14 16:25:21 UTC (rev 1273)
@@ -198,8 +199,9 @@
bool AmB2BSession::onOtherReply(const AmSipReply& reply)
 {
-  if(reply.code >= 300)
-    terminateLeg();
+ if(reply.code >= 300) + setStopped(); + return false;
 }


--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to