[sr-dev] git:master:f8d0a395: .clang-format: do not use bleeding edge keys

2017-11-27 Thread Juha Heinanen
Module: kamailio
Branch: master
Commit: f8d0a395074cd066a9f3df26debf14cf26e21a12
URL: 
https://github.com/kamailio/kamailio/commit/f8d0a395074cd066a9f3df26debf14cf26e21a12

Author: Juha Heinanen 
Committer: Juha Heinanen 
Date: 2017-11-28T00:22:36+02:00

.clang-format: do not use bleeding edge keys

---

Modified: .clang-format

---

Diff:  
https://github.com/kamailio/kamailio/commit/f8d0a395074cd066a9f3df26debf14cf26e21a12.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f8d0a395074cd066a9f3df26debf14cf26e21a12.patch

---

diff --git a/.clang-format b/.clang-format
index b44f1c4a54..d805149083 100644
--- a/.clang-format
+++ b/.clang-format
@@ -36,8 +36,6 @@ BreakBeforeBinaryOperators: NonAssignment
 BreakBeforeBraces: Mozilla
 BreakBeforeTernaryOperators: true
 BreakConstructorInitializersBeforeComma: false
-BreakAfterJavaFieldAnnotations: false
-BreakStringLiterals: true
 ColumnLimit: 80
 CommentPragmas:  '^ IWYU pragma:'
 ConstructorInitializerAllOnOneLineOrOnePerLine: false
@@ -55,12 +53,9 @@ IncludeCategories:
 Priority:3
   - Regex:   '.*'
 Priority:1
-IncludeIsMainRegex: '$'
 IndentCaseLabels: true
 IndentWidth: 4
 IndentWrappedFunctionNames: false
-JavaScriptQuotes: Leave
-JavaScriptWrapImports: true
 KeepEmptyLinesAtTheStartOfBlocks: true
 MacroBlockBegin: ''
 MacroBlockEnd:   ''


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] topos: BYE befor 200 OK creates new connection (#1339)

2017-11-27 Thread sergey-vb
### Description
If call has ended with BYE after 180/183 before 200 OK, kamailio tries to 
create new connection to destination, not to use existing.
With firewall enabled and TLS transport this is issue.

### Troubleshooting

 Reproduction

Load topos module, register client (asterisk, it shows port 5061 in contact but 
real query comes from random tcp port) using TLS, make call to it, terminate 
call with BYE, before answering.

 Log Messages

[kamailio-topos.gz](https://github.com/kamailio/kamailio/files/1505189/kamailio-topos.gz)

 SIP Traffic

[topos-by-befor-ack.tar.gz](https://github.com/kamailio/kamailio/files/1505192/topos-by-befor-ack.tar.gz)


### Additional Information

version: kamailio 5.2.0-dev1 (x86_64/linux) 
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, 
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, 
TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, 
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown 
compiled on 09:24:06 Nov 27 2017 with gcc 4.8.5

* **Operating System**:

Red Hat Enterprise Linux Server 7.3

3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 
GNU/Linux

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1339___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.1:1e05eaa1: pkg/kamailio/deb: version set to 5.1.0~rc2

2017-11-27 Thread Victor Seva
Module: kamailio
Branch: 5.1
Commit: 1e05eaa12e97f761a6356c134bccc99aff11
URL: 
https://github.com/kamailio/kamailio/commit/1e05eaa12e97f761a6356c134bccc99aff11

Author: Victor Seva 
Committer: Victor Seva 
Date: 2017-11-27T09:48:51+01:00

pkg/kamailio/deb: version set to 5.1.0~rc2

---

Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/1e05eaa12e97f761a6356c134bccc99aff11.diff
Patch: 
https://github.com/kamailio/kamailio/commit/1e05eaa12e97f761a6356c134bccc99aff11.patch

---

diff --git a/pkg/kamailio/deb/buster/changelog 
b/pkg/kamailio/deb/buster/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/buster/changelog
+++ b/pkg/kamailio/deb/buster/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index ad1f4be0f2..ffe4d96e9a 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~rc2) unstable; urgency=medium
+
+  * version set to 5.1.0~rc2
+
+ -- Victor Seva   Mon, 27 Nov 2017 09:48:18 +0100
+
 kamailio (5.1.0~rc1) unstable; urgency=medium
 
   * version set to 5.1.0~rc1



[sr-dev] git: new commits in branch 5.1

2017-11-27 Thread Daniel-Constantin Mierla
- URL:  
https://github.com/kamailio/kamailio/commit/4bb2267e65af9079699b7248b86c1b64f3803fae
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:25:50+01:00

textops: more functions exported to kemi

(cherry picked from commit 18ebd5fe71baee236c8b2ee720028c5c90f622c5)

- URL:  
https://github.com/kamailio/kamailio/commit/7f4cdb2f3c94ef7869db767906b344844c27006f
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:26:16+01:00

textops: split the code for msg_apply_changes()

- exported msg_set_buffer(...) to kemi framework

(cherry picked from commit 0a626a257dceb0c7cee13bf4ed173b644a5e5fd7)

- URL:  
https://github.com/kamailio/kamailio/commit/75bb317825fdf3c9fb0f6c1e97235a7ed37344cf
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:26:29+01:00

textopsx: exported header management functions to kemi framework

(cherry picked from commit 80bed453cfcc5ec8753e4bb823097e711b1b5385)

- URL:  
https://github.com/kamailio/kamailio/commit/5ae1d7e8ee0673fc22adff5a1a6a09d5a91c9945
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:26:42+01:00

tsilo: exported functions to kemi framework

(cherry picked from commit 19f7d568a7bb17a88dd06f0b78775a559a1ca683)

- URL:  
https://github.com/kamailio/kamailio/commit/2541ea693b69dc705ff5e1ba0e8218fe7a6aaf5d
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:26:55+01:00

misc/examples: fixed position of ] in log message from kemi examples

- based on a reporte by GH #1324

(cherry picked from commit d9ca0f6fcbd479dc82f75d301e43e45daf36a658)

- URL:  
https://github.com/kamailio/kamailio/commit/89bdf5edb485e636f3592c37ac9ce5e1458b868b
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:27:08+01:00

dialog: proper description of is_in_profile() to match the code

- reported by GH #1320

(cherry picked from commit d319c449c8c15334ed913633cfece869a7d955aa)

- URL:  
https://github.com/kamailio/kamailio/commit/b4f53652d39a65e4dc5364e801038e9e4f67708c
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:27:19+01:00

drouting: use core fixup helper functions

(cherry picked from commit db6eae95e2c9a17eef8f823c30a39812429158d3)

- URL:  
https://github.com/kamailio/kamailio/commit/2178c95ccdc14086b3f23deba9fb836b65695525
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:27:33+01:00

drouting: exported functions to kemi interface

(cherry picked from commit 51837d8dd4bb42d4ad59da39ab9be9f5db58231e)

- URL:  
https://github.com/kamailio/kamailio/commit/b6c1b0e35e5ce9ea9ad938f7681f6d3f4668b1eb
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:27:46+01:00

drouting: updates to documentation

(cherry picked from commit ce96966593c9f7e12595b74c2a6bf50b248e64c8)

- URL:  
https://github.com/kamailio/kamailio/commit/eb746c0b6486b2cef6d9a5ffd0a0b37c11637101
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:28:02+01:00

drouting: exported next_routing() to kemi framework

(cherry picked from commit 57c14e65d3cea754c88374b8dd1d67cb5be3f295)

- URL:  
https://github.com/kamailio/kamailio/commit/be53e5d24707d8248a904124a6c88913b6eb0174
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:28:19+01:00

tm: default port checking in via_matching()

(cherry picked from commit 5fabdea4d86c527a2e38caaae7a54884367d6a7c)

- URL:  
https://github.com/kamailio/kamailio/commit/41bfcaab0d403d2290d353e9fa522af22b72e8f6
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:28:37+01:00

tm: fixed condition in via_matching()

- introduced in previous commit

(cherry picked from commit 4bd1d70c2804ee2a1d29bd911275aa241577cfc1)

- URL:  
https://github.com/kamailio/kamailio/commit/b9b0f7b480ff5003a19a9d3e86712caf156aefa5
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:28:55+01:00

app_python: implemented rpc command to list kemi functions

- kamctl rpc app_python.api_list

(cherry picked from commit bea0b53ce57f08ab9fc019c19f616b3b67795d64)

- URL:  
https://github.com/kamailio/kamailio/commit/4268a9b36d741d72cb412729c1619b6a087a00d4
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:29:08+01:00

app_python: documented rpc commands

(cherry picked from commit cbaceaf891e16e9b0a1ef4883b8fec5e33698a86)

- URL:  
https://github.com/kamailio/kamailio/commit/ae6c62f17a92e43bd83f2993cc188892241c3158
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:29:23+01:00

http_client: print url in log messages if query return code is not ok

- safety check for search of end-of-line in a one line result type

(cherry picked from commit ccbd1176242632fae2af39a168e4692dcf7ebcf9)

- URL:  
https://github.com/kamailio/kamailio/commit/989be5fe82b0b6ad503a804353e1519c1698d406
Author: Daniel-Constantin Mierla 
Date:   2017-11-27T09:29:35+01:00

ndb_redis: exported 

[sr-dev] Releasing Kamailio v5.1.0

2017-11-27 Thread Daniel-Constantin Mierla
Hello,

with no relevant new bugs reported lately, it is time to fix the date
for releasing next major version, respectively Kamailio v5.1.0.

I am proposing Monday, December 11, 2018, as the release date for
v5.1.0, with a fallback option to next day, if a bit of time is still
needed.

Currently there are ongoing efforts to make rpm packaging a first class
citizen via docker and obs, credits to Sergey Safarov for it, and get
(auto-generated) reference list of Kemi functions, credits to Samuel
Förnes for it. In the next two weeks, they can get in good shape and
also do a bit more testing as well as update relevant tutorials.

Regarding Kemi exports, if you are using a module, check the master
branch version to see if it has any sr_kemi_t exports, if not, report it
in the case you want to try using the new config framework that allows
reloading routing logic script without restart (you will have to use
Lua, JavaScript or Squirrel scripting).

And of course, if you are aware of any problem not yet reported to the
bug tracker, open an issue as soon as possible to allow time to try to
fix it before the release:

  * https://github.com/kamailio/kamailio/issues

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev