Author: rco
Date: 2008-06-23 18:48:46 +0200 (Mon, 23 Jun 2008)
New Revision: 1030
Modified:
trunk/core/AmSipDialog.cpp
Log:
- fixes a possible issue with dead sessions if a BYE request is replied with an
error.
Modified: trunk/core/AmSipDialog.cpp
===================================================================
--- trunk/core/AmSipDialog.cpp 2008-06-23 16:35:10 UTC (rev 1029)
+++ trunk/core/AmSipDialog.cpp 2008-06-23 16:48:46 UTC (rev 1030)
@@ -161,8 +161,8 @@
case Disconnecting:
if(t.method == "BYE"){
- if((code < 300) && (code >= 200))
- status = Disconnected;
+ if(code >= 200)
+ status = Disconnected;
}
break;
}
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev