Subject: [alpine-devel] [PATCH] main/kamailio: apply upstream sca patch

From: Nathan Angelacos <[email-masked]>
Date: Tue, 19 Aug 2014 13:59:58 +0000

Addresses: http://bugs.alpinelinux.org/issues/3306
---
 main/kamailio/0002-fix_180_replies_in_sca_call_info.patch | 14 ++++++++++++++
 main/kamailio/APKBUILD                                    |  6 +++++-
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 main/kamailio/0002-fix_180_replies_in_sca_call_info.patch

diff --git a/main/kamailio/0002-fix_180_replies_in_sca_call_info.patch b/main/kamailio/0002-fix_180_replies_in_sca_call_info.patch
new file mode 100644
index 0000000..d5905d1
--- /dev/null
+++ b/main/kamailio/0002-fix_180_replies_in_sca_call_info.patch
@@ -0,0 +1,14 @@
+diff --git a/modules/sca/sca_call_info.c b/modules/sca/sca_call_info.c
+index 1e5bbfd..f8c4169 100644
+--- a/modules/sca/sca_call_info.c
++++ b/modules/sca/sca_call_info.c
+@@ -1072,9 +1072,6 @@ sca_call_info_invite_reply_18x_handler( sip_msg_t *msg,
+ 
+     switch ( msg->REPLY_STATUS ) {
+     case 180:
+-	state = SCA_APPEARANCE_STATE_ALERTING;
+-	break;
+-
+     case 183:
+ 	state = SCA_APPEARANCE_STATE_PROGRESSING;
+ 	break;
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 0dfdbd2..eb1fd2d 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Nathan Angelacos <[email-masked]>
 pkgname=kamailio
 pkgver=4.1.5
-pkgrel=0
+pkgrel=1
 pkgdesc="Open Source SIP Server"
 url="http://www.kamailio.org/"
 arch="all"
@@ -198,6 +198,7 @@ done
 source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz
 	kamailio-4.1-backslash.patch
 	0001-websocket-remove-libunistring-dependency.patch
+	0002-fix_180_replies_in_sca_call_info.patch 
 	musl-fixes.patch
 
 	kamailio.cfg
@@ -416,18 +417,21 @@ authephemeral() {
 md5sums="623b46e969445494655b1aa5ab5ad4b0  kamailio-4.1.5_src.tar.gz
 bad1ac2d4c95043df271d2ea6d37627a  kamailio-4.1-backslash.patch
 6251a5c33373c5276897c8abbbecc619  0001-websocket-remove-libunistring-dependency.patch
+018ce30f5169866d12b395ba30bf3263  0002-fix_180_replies_in_sca_call_info.patch
 558aa761bddb6ac85c152bd767670fcc  musl-fixes.patch
 a3c959ec568c43a905710e7d25cd8c25  kamailio.cfg
 1d9e153c56569df5c2a47c792527e0da  kamailio.initd"
 sha256sums="e24d078aa2a8500f7cf75120628140218241b1faf9f40ece118f4e6a5ca3b3d3  kamailio-4.1.5_src.tar.gz
 d7e59be721ed0ad4621d404493b9a519708d801e9d4914b0164b819fa1abcd13  kamailio-4.1-backslash.patch
 bbc06f9ae62b2e8df2c58f9a171f0408e075d5a51e2457e85ef3ca01aa972df9  0001-websocket-remove-libunistring-dependency.patch
+e7217f214c4bdd8c2dbccfa1036a68749b2e7c0dbad0b10a44a84709e1660a99  0002-fix_180_replies_in_sca_call_info.patch
 4f316e4c1617833111b86aad1e8878b62599e42bb229fe1ef7eee1d4438471e2  musl-fixes.patch
 8024266849033a917147827c3579a382f10f3796989bebc6de3d7c80c965fb72  kamailio.cfg
 26924dfec75a5ff0f669fabfdbf9c16bf35e93ea91ca736a9a6289be6ee21ddd  kamailio.initd"
 sha512sums="578870f96d9251e676c2689d7a48d2a0a4fd37e5bfde0d145adfcffea1470d618f1eb0e5012ffe2c63d1b2c9e659128e3cbe50403c94499951b75e59bb223f0e  kamailio-4.1.5_src.tar.gz
 a9bb1e8f9f373264b8351ddae099a36a46ddd46fdec09e468d297ba4f64bb4896e7d6e599da70a424e8a28695ab3f3b4ac940afab534593a6b9d08ae462f001a  kamailio-4.1-backslash.patch
 a972e57d8d64c104cb3df329442c746588818ed7f148a409d6050bcbbbb021cc1eeb970b59924e0ffb7f9487faacb99cada0dbfb19b0b87f66ca6b2bcf8b8345  0001-websocket-remove-libunistring-dependency.patch
+558a4dbd2c84a6d0208c5e0a65eacc6241ad20948a5882834d40106f6f1d4b40ec139bf8b513e6e7cb7afee71823f1811d85e2904f9b06720383b5581a1e9aca  0002-fix_180_replies_in_sca_call_info.patch
 9afb7191541b40678ede6dd1bb034b2a6a704659acb54e156096fe0660e08358b0691028b1facfb50608ca2d25714962c92ede62e1f95cb53475c89d96bd33e4  musl-fixes.patch
 0b666bfa10fd0af97b62749f8691cb3f76d9b40d1abe0a33e810e367bd733d2e8189c89f7f23010ec591116aada6e1a8a403b17449fe775038917617f281ad4d  kamailio.cfg
 fa95cbfb1e7d32280cd6cd30e42a955da9561820540ee77b2da8ad1b9d1c7a83820f56be94ba9c2f172ad7bc285e68d8d60a000cde8271810569fa146a26cb15  kamailio.initd"
-- 
2.0.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---