From f64e57590f52bc6503ab1cae8adb7db6653b89e1 Mon Sep 17 00:00:00 2001 From: Nathan Angelacos Date: Thu, 20 Sep 2012 19:31:58 +0000 Subject: main/sems/sems-0004-fix-PRACK-route.patch: Include full route path in PRACK --- main/sems/APKBUILD | 5 +++-- main/sems/sems-0004-fix-PRACK-route.patch | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 main/sems/sems-0004-fix-PRACK-route.patch diff --git a/main/sems/APKBUILD b/main/sems/APKBUILD index cfffe12a03..33458758cc 100644 --- a/main/sems/APKBUILD +++ b/main/sems/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=sems pkgver=1.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="SIP Express Media Server, an extensible SIP media server" url="http://iptel.org/sems/" arch="all" @@ -22,7 +22,7 @@ source="http://ftp.iptel.org/pub/sems/sems-$pkgver.tar.gz sems-0001-Force-to-use-system-wide-GSM-includes.patch sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch - + sems-0004-fix-PRACK-route.patch sems.initd " # sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch @@ -199,4 +199,5 @@ md5sums="ec0a88f9081679b3b4ab9d06e84ea759 sems-1.5.0.tar.gz 5b2fded836b44bda33f39adc37de4de7 sems-0001-Force-to-use-system-wide-GSM-includes.patch b8efd1a6415afa08f7c676f6976fca36 sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch 331e7529833c906b4738006f32a65fde sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch +62f03dac8e098b0333f3e8b06770b459 sems-0004-fix-PRACK-route.patch 36c2f993ba874781f5d3974b4f4c1503 sems.initd" 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 0000000000..af28271433 --- /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){ -- cgit v1.2.3