~alpine/devel

main/sems/sems-0004-fix-PRACK-route.patch: Include full route path in PRACK v1 PROPOSED

Nathan Angelacos: 1
     main/sems/sems-0004-fix-PRACK-route.patch: Include full route path in PRACK

 2 files changed, 17 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/84/mbox | git am -3
Learn more about email & git

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

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