Author: sayer
Date: 2008-06-10 13:59:22 +0200 (Tue, 10 Jun 2008)
New Revision: 1012
Modified:
trunk/core/AmSipDialog.cpp
Log:
overwriting local tag when establishing the dialog. fixes problems with early
dialog from forked destination. patch from Alex Gradinar Alex.Gradinar at
cartel.md
Modified: trunk/core/AmSipDialog.cpp
===================================================================
--- trunk/core/AmSipDialog.cpp 2008-06-07 18:32:07 UTC (rev 1011)
+++ trunk/core/AmSipDialog.cpp 2008-06-10 11:59:22 UTC (rev 1012)
@@ -194,6 +194,10 @@
(remote_tag.empty() && !reply.remote_tag.empty()))
remote_tag = reply.remote_tag;
+ if ((reply.code >= 200) && (reply.code < 300) &&
+ (status != Connected && !reply.remote_tag.empty()))
+ remote_tag = reply.remote_tag;
+
// allow route overwritting
if(status < Connected) {
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev