~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-devel] [PATCH] main/sems/sems-0004-fix-PRACK-route.patch: Include full route path in PRACK

Nathan Angelacos <nangel@alpinelinux.org>
Details
Message ID
<1348169518-4230-1-git-send-email-nangel@alpinelinux.org>
Sender timestamp
1348169518
DKIM signature
missing
Download raw message
Patch: +17 -2
---
 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 cfffe12..3345875 100644
--- a/main/sems/APKBUILD
+++ b/main/sems/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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 0000000..af28271
--- /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){
-- 
1.7.12



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20120920215755.23281078@ncopa-laptop.res.nor.wtbts.net>
In-Reply-To
<1348169518-4230-1-git-send-email-nangel@alpinelinux.org> (view parent)
Sender timestamp
1348171075
DKIM signature
missing
Download raw message
On Thu, 20 Sep 2012 19:31:58 +0000
Nathan Angelacos <nangel@alpinelinux.org> wrote:

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

Applied. Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)