summaryrefslogtreecommitdiffstats
path: root/main/sems/sems-0004-fix-PRACK-route.patch
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2012-09-20 19:31:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-20 19:56:06 +0000
commitf64e57590f52bc6503ab1cae8adb7db6653b89e1 (patch)
tree6648f4ab1f93f8c26a610b7c80b92ae3a3b491c5 /main/sems/sems-0004-fix-PRACK-route.patch
parent0673f1f7d1c96df35f74a141e32712921dbec45c (diff)
downloadaports-f64e57590f52bc6503ab1cae8adb7db6653b89e1.tar.bz2
aports-f64e57590f52bc6503ab1cae8adb7db6653b89e1.tar.xz
main/sems/sems-0004-fix-PRACK-route.patch: Include full route path in PRACK
Diffstat (limited to 'main/sems/sems-0004-fix-PRACK-route.patch')
-rw-r--r--main/sems/sems-0004-fix-PRACK-route.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/sems/sems-0004-fix-PRACK-route.patch b/main/sems/sems-0004-fix-PRACK-route.patch
new file mode 100644
index 000000000..af2827143
--- /dev/null
+++ b/main/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){