aports/testing/sipwise-sems/sems-0004-fix-PRACK-route.patch
Nathan Angelacos 8df570d991 new aport: sipwise-sems [3.8.1.1]
This is sipwise.com's fork of sems, based on 1.6.0-dev + nightlies
2015-05-15 11:44:06 +00:00

15 lines
409 B
Diff

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){