aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sipwise-sems/sems-0004-fix-PRACK-route.patch')
-rw-r--r--testing/sipwise-sems/sems-0004-fix-PRACK-route.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch b/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch
new file mode 100644
index 0000000000..af28271433
--- /dev/null
+++ b/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch
@@ -0,0 +1,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){