aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch
blob: af282714332154d3e26f37de7876509c13b41fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp
index d121606..17c9731 100644
--- a/core/AmSipDialog.cpp
+++ b/core/AmSipDialog.cpp
@@ -406,6 +406,9 @@ void AmSipDialog::onRxReply(const AmSipReply& reply)
 	else {
 	  status = Early;
 	  remote_tag = reply.to_tag;
+	  route = reply.route;
+	  if(!reply.to_uri.empty())
+	    remote_uri = reply.to_uri;
 	}
       }
       else if(reply.code < 300){