Re: [sr-dev] [kamailio/kamailio] Hello, kamailio v4.1 would not start after installation. Throws the following error even when mysql is running: (#1193)

2017-07-28 Thread Victor Seva
Closed #1193.

-- 
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/1193#event-1183329462___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Hello, kamailio v4.1 would not start after installation. Throws the following error even when mysql is running: (#1193)

2017-07-28 Thread Victor Seva
use user mailing list for this. And provide useful information.

-- 
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/1193#issuecomment-318623936___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:1fe94fe8: pkg/kamailio/deb: version set to 5.1.0-dev6

2017-08-14 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 1fe94fe8129649703c92a87ebd402068faa66624
URL: 
https://github.com/kamailio/kamailio/commit/1fe94fe8129649703c92a87ebd402068faa66624

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-08-14T23:29:41+02:00

pkg/kamailio/deb: version set to 5.1.0-dev6

---

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/1fe94fe8129649703c92a87ebd402068faa66624.diff
Patch: 
https://github.com/kamailio/kamailio/commit/1fe94fe8129649703c92a87ebd402068faa66624.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+  * version set to 5.1.0-dev6
+
+ -- Victor Seva <vs...@debian.org>  Mon, 14 Aug 2017 23:28:16 +0200
+
 kamailio (5.1.0~dev5) unstable; urgency=medium
 
   * version set to 5.1.0-dev5


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


Re: [sr-dev] deb nightly-builds not being built

2017-07-10 Thread Victor Seva
On 07/03/2017 11:53 PM, Victor Seva wrote:
> We are having some issues with our building infrastructure so packages
> are not being built. We are working on it, please be patient.

Build process working again.

For the curious changes performed are in [0], they were related to
jenkins needing Java 1.8 [1]

[0] https://github.com/sipwise/kamailio-deb-jenkins
[1] https://issues.jenkins-ci.org/browse/JENKINS-43492

Cheers,
Victor Seva



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


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-26 Thread Victor Seva
I'm going to try with the last version of branch 1.1.0

-- 
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/1189#issuecomment-318005177___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-26 Thread Victor Seva
FTR, tried with openssl/openssl@4b4bc00 applied same core

-- 
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/1189#issuecomment-317981985___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-26 Thread Victor Seva
just that patch

-- 
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/1189#issuecomment-318001713___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-26 Thread Victor Seva
```
Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/lb/kamailio.cfg -P 
/var/run/kamailio/kamail'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  ossl_init_thread_stop (locals=0x7f8d615fcd58) at ../crypto/init.c:335

warning: Source file is more recent than executable.
335 if (locals->async) {
(gdb) info locals
No locals.
(gdb) l
330 {
331 /* Can't do much about this */
332 if (locals == NULL)
333 return;
334
335 if (locals->async) {
336 #ifdef OPENSSL_INIT_DEBUG
337 fprintf(stderr, "OPENSSL_INIT: ossl_init_thread_stop: "
338 "ASYNC_cleanup_thread()\n");
339 #endif
(gdb) p locals
$1 = (struct thread_local_inits_st *) 0x7f8d615fcd58
(gdb) p *locals
Cannot access memory at address 0x7f8d615fcd58
(gdb) 
```

-- 
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/1189#issuecomment-318004842___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-24 Thread Victor Seva
backporting [0] and [1] didn't help
[0] 
https://github.com/kamailio/kamailio/commit/e7c03ce6ce61119fbf5cb9f41b7abcd4c7138d58
[1] 
https://github.com/kamailio/kamailio/commit/76efc9b7a1489007f9ff431e730ce4e86b446a6c
 

-- 
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/1189#issuecomment-317395129___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-24 Thread Victor Seva
FTR https://rt.openssl.org/Ticket/Display.html?id=1491 has been closed with

> This is reported against 0.9.8;  please open a new ticket if still a problem 
> with current releases.

-- 
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/1189#issuecomment-317395465___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-24 Thread Victor Seva
### Description

We are having cores when stopping the lb service if TLS is enabled.

### Troubleshooting

 Debugging Data

```
Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/lb/kamailio.cfg -P 
/var/run/kamailio/kamail'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  ossl_init_thread_stop (locals=0x7faaf4442d58) at ../crypto/init.c:332
332 ../crypto/init.c: No such file or directory.
(gdb) bt full
#0  ossl_init_thread_stop (locals=0x7faaf4442d58) at ../crypto/init.c:332
No locals.
#1  0x7faaf8d15234 in OPENSSL_cleanup () at ../crypto/init.c:400
currhandler = 
lasthandler = 
#2  0x7fab014bb910 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3  0x7fab014bb96a in exit () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4  0x556782094615 in handle_sigs () at main.c:698
chld = 
chld_status = 0
memlog = 
__func__ = "handle_sigs"
#5  0x55678209aa05 in main_loop () at main.c:1747

```

 Log Messages
```
lb[8618]: WARNING: tls [tls_init.c:704]: init_tls_h(): tls: openssl bug #1491 
(crash/mem leaks on low memory) workaround enabled (on low memory tls 
operations will fail preemptively) with free memory thresholds 7340032 and 
3670016 bytes
```

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
This is NGCP version based on 4.4.6

kamailio -v
version: kamailio 4.4.6 (x86_64/linux) becbde
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: becbde 
compiled with gcc 6.3.0
```

* **Operating System**:

```
Debian stretch
Linux spce 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 
GNU/Linux
libssl1.1 version 1.1.0f-3
```


-- 
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/1189___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-24 Thread Victor Seva
downloaded openssl source
```
#0  ossl_init_thread_stop (locals=0x7faaf4442d58) at ../crypto/init.c:332
332 if (locals->async) {
(gdb) p locals
$1 = (struct thread_local_inits_st *) 0x7faaf4442d58
(gdb) p *locals
Cannot access memory at address 0x7faaf4442d58
```

-- 
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/1189#issuecomment-317397086___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] cores on stop if TLS is enabled using libssl1.1 ( Debian stretch ) (#1189)

2017-07-24 Thread Victor Seva
This is what I have
```
static struct thread_local_inits_st *ossl_init_get_thread_local(int alloc)
{
struct thread_local_inits_st *local =
CRYPTO_THREAD_get_local();

if (local == NULL && alloc) {
local = OPENSSL_zalloc(sizeof *local);
CRYPTO_THREAD_set_local(, local);
}
if (!alloc) {
CRYPTO_THREAD_set_local(, NULL);
}

return local;
}
```

-- 
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/1189#issuecomment-317398482___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] deb nightly-builds not being built

2017-07-03 Thread Victor Seva
We are having some issues with our building infrastructure so packages
are not being built. We are working on it, please be patient.

Cheers,
Victor



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


Re: [sr-dev] [kamailio/kamailio] resolve an issue found by cppcheck (#1169)

2017-06-28 Thread Victor Seva
Please read 
https://www.kamailio.org/wiki/devel/git-commit-guidelines#commit_message

-- 
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/pull/1169#issuecomment-311631303___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio: Fix of ticket 1085 (#1086)

2017-06-29 Thread Victor Seva
I still don't see why we need this. What is the case of "non null exit"?
>From my POV I only want kamailio service to restart if there was a segfault 
>and AFAICT that is already happening with the actual systemd configuration 

-- 
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/pull/1086#issuecomment-311900396___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Installation broken because of commented out mpath in example config (#1096)

2017-04-27 Thread Victor Seva
>From 
>https://kamailio.sipwise.com/view/kam5.0/job/kamailio50-binaries/architecture=amd64,distribution=jessie,label=slave/3/consoleText

```
/usr/bin/make install LIBDIR=lib/x86_64-linux-gnu group_include="kstandard"
```

-- 
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/1096#issuecomment-297771459___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:86c4168d: pkg/kamailio/deb: set LIBDIR for all rules

2017-04-27 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 86c4168d2306b6648cd0540ece154d959727
URL: 
https://github.com/kamailio/kamailio/commit/86c4168d2306b6648cd0540ece154d959727

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-04-27T19:05:35+02:00

pkg/kamailio/deb: set LIBDIR for all rules

* default path to modules was wrong

Fix #1096

---

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

---

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


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


Re: [sr-dev] [kamailio/kamailio] Installation broken because of commented out mpath in example config (#1096)

2017-04-27 Thread Victor Seva
Closed #1096 via 86c4168d2306b6648cd0540ece154d959727.

-- 
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/1096#event-1060805023___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.0:59d67633: pkg/kamailio/deb: set LIBDIR for all rules

2017-04-27 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 59d676337e74195eafcfca3bfa6382cedd209acd
URL: 
https://github.com/kamailio/kamailio/commit/59d676337e74195eafcfca3bfa6382cedd209acd

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-04-27T19:09:52+02:00

pkg/kamailio/deb: set LIBDIR for all rules

* default path to modules was wrong

Fix #1096

(cherry picked from commit 86c4168d2306b6648cd0540ece154d959727)

---

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

---

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


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


Re: [sr-dev] [kamailio/kamailio] Installation broken because of commented out mpath in example config (#1096)

2017-04-27 Thread Victor Seva
@SipSeb please check tomorrow's deb from 
http://deb.kamailio.org/kamailio50-nightly/ or build it from source, It should 
be fixed

-- 
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/1096#issuecomment-297780465___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Daemon not restated if process exited with not null code (#1085)

2017-04-24 Thread Victor Seva
What do you mean by 'not null code'?

>From https://www.freedesktop.org/software/systemd/man/systemd.service.html

```
Restart:
[...] If set to on-failure, the service will be restarted when the process 
exits with a non-zero exit code, is terminated by a signal (including on core 
dump, but excluding the aforementioned four signals), when an operation (such 
as service reload) times out, and when the configured watchdog timeout is 
triggered.
[...] If set to on-abort, the service will be restarted only if the service 
process exits due to an uncaught signal not specified as a clean exit status. 
```

-- 
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/1085#issuecomment-296592791___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio: Fix of ticket 1085 (#1086)

2017-04-24 Thread Victor Seva
See my comment at 
https://github.com/kamailio/kamailio/issues/1085#issuecomment-296592791

-- 
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/pull/1086#issuecomment-296593042___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio: Fix of ticket 1085 (#1086)

2017-04-24 Thread Victor Seva
What happens if you have a non-working config and you have `on-failure`? I 
would assume the daemon will be restarted forever

-- 
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/pull/1086#issuecomment-296593428___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Installation broken because of commented out mpath in example config (#1096)

2017-04-27 Thread Victor Seva
Thanks @SipSeb for the report

-- 
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/1096#issuecomment-297790143___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dialog: execute pre script callback only when event route is set (7004969)

2017-04-24 Thread Victor Seva
forget it, I was mistaken. sorry for the noise

-- 
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/commit/7004969cf94815167d72d2e7158e4754c730ff1d#commitcomment-21878037___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:6bc6bbca: pkg/kamailio/deb: version set to 5.1.0-dev3

2017-05-18 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 6bc6bbca0e7fd17bef51bf0fecea389c9d0870c4
URL: 
https://github.com/kamailio/kamailio/commit/6bc6bbca0e7fd17bef51bf0fecea389c9d0870c4

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-18T13:15:26+02:00

pkg/kamailio/deb: version set to 5.1.0-dev3

---

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/6bc6bbca0e7fd17bef51bf0fecea389c9d0870c4.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6bc6bbca0e7fd17bef51bf0fecea389c9d0870c4.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 00eaba6..83c1a37 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev3) unstable; urgency=medium
+
+  * version set to 5.1.0-dev3
+
+ -- Victor Seva <vs...@debian.org>  Thu, 18 May 2017 13:14:33 +0200
+
 kamailio (5.1.0~dev2) unstable; urgency=medium
 
   * version set to 5.1.0-dev2


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


[sr-dev] git:5.0:a4d26dfd: core: parser reset_path_vector() remove check for msg->msg_flags

2017-06-09 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: a4d26dfde58d5e038ed53c315bbd6e7b353211fc
URL: 
https://github.com/kamailio/kamailio/commit/a4d26dfde58d5e038ed53c315bbd6e7b353211fc

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-09T23:53:14+02:00

core: parser reset_path_vector() remove check for msg->msg_flags

* tm now uses shared memory for fake_req() so faked_req->path_vec
was leaking

(cherry picked from commit cca31b30aeb80c808b10c5f4f36285c1c55cd72a)

---

Modified: src/core/parser/msg_parser.c

---

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

---

diff --git a/src/core/parser/msg_parser.c b/src/core/parser/msg_parser.c
index aaeb642517..bbd5062250 100644
--- a/src/core/parser/msg_parser.c
+++ b/src/core/parser/msg_parser.c
@@ -795,13 +795,11 @@ int set_path_vector(struct sip_msg* msg, str* path)
 
 void reset_path_vector(struct sip_msg* const msg)
 {
-   /* only free path vector from pkg IFF it is still in pkg... - ie. if 
msg is shm we don't free... */
-   if (!(msg->msg_flags_SHM_CLONE)) {
-   if (msg->path_vec.s)
-   pkg_free(msg->path_vec.s);
-   msg->path_vec.s = 0;
-   msg->path_vec.len = 0;
+   if (msg->path_vec.s) {
+   pkg_free(msg->path_vec.s);
}
+   msg->path_vec.s = 0;
+   msg->path_vec.len = 0;
 }
 
 


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


[sr-dev] git:master:b8750364: core: fix mem_summary comparation when SIGUSR1 is received

2017-05-23 Thread Victor Seva
Module: kamailio
Branch: master
Commit: b8750364571beeca6612b31a2948d62bddedc805
URL: 
https://github.com/kamailio/kamailio/commit/b8750364571beeca6612b31a2948d62bddedc805

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-23T18:14:56+02:00

core: fix mem_summary comparation when SIGUSR1 is received

From http://www.kamailio.org/wiki/cookbooks/4.4.x/core#mem_summary
 1 - dump all the pkg used blocks (status)
 2 - dump all the shm used blocks (status)
 4 - summary of pkg used blocks
 8 - summary of shm used blocks

---

Modified: src/main.c

---

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

---

diff --git a/src/main.c b/src/main.c
index 3fdf070054..0aff706ffb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -710,7 +710,7 @@ void handle_sigs(void)
LOG(memlog, "Memory status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 4) {
LOG(memlog, "Memory still-in-use summary 
(pkg):\n");
pkg_sums();
}
@@ -718,11 +718,11 @@ void handle_sigs(void)
 #endif
 #ifdef SHM_MEM
if (memlog <= cfg_get(core, core_cfg, debug)){
-   if (cfg_get(core, core_cfg, mem_summary) & 1) {
+   if (cfg_get(core, core_cfg, mem_summary) & 2) {
LOG(memlog, "Memory status (shm):\n");
shm_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 8) {
LOG(memlog, "Memory still-in-use summary 
(shm):\n");
shm_sums();
}
@@ -834,7 +834,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):"
"\n");
pkg_sums();
@@ -853,7 +853,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):\n");
pkg_sums();
}


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


Re: [sr-dev] git:master:b8750364: core: fix mem_summary comparation when SIGUSR1 is received

2017-05-23 Thread Victor Seva
On 05/23/2017 06:16 PM, Victor Seva wrote:
> 
> core: fix mem_summary comparation when SIGUSR1 is received
> 
> From http://www.kamailio.org/wiki/cookbooks/4.4.x/core#mem_summary
>  1 - dump all the pkg used blocks (status)
>  2 - dump all the shm used blocks (status)
>  4 - summary of pkg used blocks
>  8 - summary of shm used blocks
> 

There were several messages in the ML about SIGUSR1 and memlog not
working when I tried myself I notice it wasn't. I dug a bit and found
out the values of mem_summary comparation were wrong.

I will backport this fix to 4.4 and 5.0 tomorrow if no one objects




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


[sr-dev] git:5.0:fef4f2c9: core: fix mem_summary comparation when SIGUSR1 is received

2017-05-24 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: fef4f2c943ffe75f94f0985499fb9e46de409a50
URL: 
https://github.com/kamailio/kamailio/commit/fef4f2c943ffe75f94f0985499fb9e46de409a50

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-24T11:49:50+02:00

core: fix mem_summary comparation when SIGUSR1 is received

From http://www.kamailio.org/wiki/cookbooks/4.4.x/core#mem_summary
 1 - dump all the pkg used blocks (status)
 2 - dump all the shm used blocks (status)
 4 - summary of pkg used blocks
 8 - summary of shm used blocks

(cherry picked from commit b8750364571beeca6612b31a2948d62bddedc805)

---

Modified: src/main.c

---

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

---

diff --git a/src/main.c b/src/main.c
index 99feebbdf9..aecf0735a3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -713,7 +713,7 @@ void handle_sigs(void)
LOG(memlog, "Memory status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 4) {
LOG(memlog, "Memory still-in-use summary 
(pkg):\n");
pkg_sums();
}
@@ -721,11 +721,11 @@ void handle_sigs(void)
 #endif
 #ifdef SHM_MEM
if (memlog <= cfg_get(core, core_cfg, debug)){
-   if (cfg_get(core, core_cfg, mem_summary) & 1) {
+   if (cfg_get(core, core_cfg, mem_summary) & 2) {
LOG(memlog, "Memory status (shm):\n");
shm_status();
}
-   if (cfg_get(core, core_cfg, mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, mem_summary) & 8) {
LOG(memlog, "Memory still-in-use summary 
(shm):\n");
shm_sums();
}
@@ -825,7 +825,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):"
"\n");
pkg_sums();
@@ -844,7 +844,7 @@ void sig_usr(int signo)
LOG(memlog, "Memory 
status (pkg):\n");
pkg_status();
}
-   if (cfg_get(core, core_cfg, 
mem_summary) & 2) {
+   if (cfg_get(core, core_cfg, 
mem_summary) & 4) {
LOG(memlog, "Memory 
still-in-use summary (pkg):\n");
pkg_sums();
}


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


[sr-dev] git:4.2:98c3647a: travis-ci: use proper domain for sr-dev mailing list [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: 4.2
Commit: 98c3647a47a1c93f7182cdbf0c653c399a128f17
URL: 
https://github.com/kamailio/kamailio/commit/98c3647a47a1c93f7182cdbf0c653c399a128f17

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T17:02:04+02:00

travis-ci: use proper domain for sr-dev mailing list [skip ci]

(cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64)

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index bd33d3068b..ffcd3d87af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,6 @@ notifications:
 on_failure: always
   email:
 recipients:
-  - sr-...@lists.sip-router.org
+  - sr-dev@lists.kamailio.org
 on_success: never
 on_failure: always


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


[sr-dev] git:4.3:5859e438: travis-ci: use proper domain for sr-dev mailing list [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: 4.3
Commit: 5859e438b5c7b57dbc68bca958b810b177b8e2b9
URL: 
https://github.com/kamailio/kamailio/commit/5859e438b5c7b57dbc68bca958b810b177b8e2b9

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T17:01:48+02:00

travis-ci: use proper domain for sr-dev mailing list [skip ci]

(cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64)

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index bd33d3068b..ffcd3d87af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,6 @@ notifications:
 on_failure: always
   email:
 recipients:
-  - sr-...@lists.sip-router.org
+  - sr-dev@lists.kamailio.org
 on_success: never
 on_failure: always


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


[sr-dev] git:4.4:8351c7a8: travis-ci: use 4.4-stretch docker image [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 8351c7a81f432141d6d1348ffec9821ff028da33
URL: 
https://github.com/kamailio/kamailio/commit/8351c7a81f432141d6d1348ffec9821ff028da33

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T17:08:19+02:00

travis-ci: use 4.4-stretch docker image [skip ci]

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index 108624aeb5..3d5e58bb2b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,11 +6,10 @@ compiler:
 services:
   - docker
 before_install:
-  - docker pull linuxmaniac/pkg-kamailio-docker:stretch
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
linuxmaniac/pkg-kamailio-docker:stretch /bin/bash -c "export CC=$CC; cd /code; 
./test/travis/build_travis.sh"
+  - docker pull kamailio/pkg-kamailio-docker:4.4-stretch
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
kamailio/pkg-kamailio-docker:5.0-stretch /bin/bash -c "export CC=$CC; cd /code; 
./test/travis/build_travis.sh"
 branches:
   only:
-- 'master'
 - '/^4\.[0-9]+$/'
 notifications:
   irc:


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


[sr-dev] git:4.4:2cd91070: travis-ci: use proper domain for sr-dev mailing list [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 2cd91070d5eb823a2413d8100236db8c8a74d472
URL: 
https://github.com/kamailio/kamailio/commit/2cd91070d5eb823a2413d8100236db8c8a74d472

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T16:58:55+02:00

travis-ci: use proper domain for sr-dev mailing list [skip ci]

(cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64)

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index a05dabddd6..108624aeb5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,6 @@ notifications:
 on_failure: always
   email:
 recipients:
-  - sr-...@lists.sip-router.org
+  - sr-dev@lists.kamailio.org
 on_success: never
 on_failure: always


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


[sr-dev] git:master:bce1db4f: travis-ci: use proper domain for sr-dev mailing list [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: master
Commit: bce1db4fce2a7cd75a8103916e1361b9c94d6f64
URL: 
https://github.com/kamailio/kamailio/commit/bce1db4fce2a7cd75a8103916e1361b9c94d6f64

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T16:58:07+02:00

travis-ci: use proper domain for sr-dev mailing list [skip ci]

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index e95a837af8..d51c90349c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,6 @@ notifications:
 on_failure: always
   email:
 recipients:
-  - sr-...@lists.sip-router.org
+  - sr-dev@lists.kamailio.org
 on_success: never
 on_failure: always


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


[sr-dev] git:5.0:008aeb5c: travis-ci: use proper domain for sr-dev mailing list [skip ci]

2017-05-30 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 008aeb5c9844b734cdbb06d874a663c213d2c27d
URL: 
https://github.com/kamailio/kamailio/commit/008aeb5c9844b734cdbb06d874a663c213d2c27d

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-05-30T16:58:43+02:00

travis-ci: use proper domain for sr-dev mailing list [skip ci]

(cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64)

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index 27c09af06f..6aba8affd6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,6 @@ notifications:
 on_failure: always
   email:
 recipients:
-  - sr-...@lists.sip-router.org
+  - sr-dev@lists.kamailio.org
 on_success: never
 on_failure: always


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


Re: [sr-dev] [kamailio/kamailio] pkg: fixed location of ChangeLog (#1143)

2017-06-02 Thread Victor Seva
Closed #1143.

-- 
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/pull/1143#event-1107499968___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] core: parser reset_path_vector() remove check for msg->msg_flags (#1144)

2017-06-02 Thread Victor Seva
* tm now uses shared memory for fake_req() so faked_req->path_vec
was leaking
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1144

-- Commit Summary --

  * core: parser reset_path_vector() remove check for msg->msg_flags

-- File Changes --

M src/core/parser/msg_parser.c (10)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1144.patch
https://github.com/kamailio/kamailio/pull/1144.diff

-- 
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/pull/1144
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:d0bfefd0: src/Makefile: fix make deb rules

2017-06-02 Thread Victor Seva
Module: kamailio
Branch: master
Commit: d0bfefd0f03962b61162eeb65fe01e8dff91674f
URL: 
https://github.com/kamailio/kamailio/commit/d0bfefd0f03962b61162eeb65fe01e8dff91674f

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-02T11:42:58+02:00

src/Makefile: fix make deb rules

* dpkg-buildpackage needs to be executed from the root of the project
* don't sign any file

---

Modified: src/Makefile

---

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

---

diff --git a/src/Makefile b/src/Makefile
index bbf5f8db8a..2bbbdc3c89 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -609,25 +609,27 @@ bin:
 
 .PHONY: deb
 deb:
-   -@if [ -d debian ]; then \
-   dpkg-buildpackage -rfakeroot -tc; \
+   (cd ..; \
+   if [ -d debian ]; then \
+   dpkg-buildpackage -rfakeroot -tc --no-sign; \
rm debian; \
else \
-   ln -s ../pkg/$(MAIN_NAME)/deb/debian debian; \
-   dpkg-buildpackage -rfakeroot -tc; \
+   ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
+   dpkg-buildpackage -rfakeroot -tc --no-sign; \
rm debian; \
-   fi
+   fi)
 
 .PHONY: deb-stable
 deb-stable:
-   -@if [ -d debian ]; then \
-   dpkg-buildpackage -rfakeroot -tc; \
+   (cd ..; \
+   if [ -d debian ]; then \
+   dpkg-buildpackage -rfakeroot -tc --no-sign; \
rm debian; \
else \
-   ln -s ../pkg/$(MAIN_NAME)/deb/jessie debian; \
-   dpkg-buildpackage -rfakeroot -tc; \
+   ln -s pkg/$(MAIN_NAME)/deb/jessie debian; \
+   dpkg-buildpackage -rfakeroot -tc --no-sign; \
rm debian; \
-   fi
+   fi)
 
 .PHONY: sunpkg
 sunpkg:


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


[sr-dev] git:master:cca31b30: core: parser reset_path_vector() remove check for msg->msg_flags

2017-06-02 Thread Victor Seva
Module: kamailio
Branch: master
Commit: cca31b30aeb80c808b10c5f4f36285c1c55cd72a
URL: 
https://github.com/kamailio/kamailio/commit/cca31b30aeb80c808b10c5f4f36285c1c55cd72a

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-02T10:19:25+02:00

core: parser reset_path_vector() remove check for msg->msg_flags

* tm now uses shared memory for fake_req() so faked_req->path_vec
was leaking

---

Modified: src/core/parser/msg_parser.c

---

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

---

diff --git a/src/core/parser/msg_parser.c b/src/core/parser/msg_parser.c
index e8c990da9f..2a4f2bb593 100644
--- a/src/core/parser/msg_parser.c
+++ b/src/core/parser/msg_parser.c
@@ -799,13 +799,11 @@ int set_path_vector(struct sip_msg* msg, str* path)
 
 void reset_path_vector(struct sip_msg* const msg)
 {
-   /* only free path vector from pkg IFF it is still in pkg... - ie. if 
msg is shm we don't free... */
-   if (!(msg->msg_flags_SHM_CLONE)) {
-   if (msg->path_vec.s)
-   pkg_free(msg->path_vec.s);
-   msg->path_vec.s = 0;
-   msg->path_vec.len = 0;
+   if (msg->path_vec.s) {
+   pkg_free(msg->path_vec.s);
}
+   msg->path_vec.s = 0;
+   msg->path_vec.len = 0;
 }
 
 


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


Re: [sr-dev] [kamailio/kamailio] Kamailio is not passing bye to client side. (#1145)

2017-06-02 Thread Victor Seva
Start a discussion on sr-us...@lists.kamailio.org so people can provide hints. 
This tracker is only for bugs in the code.

-- 
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/1145#issuecomment-305741441___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg: fixed location of ChangeLog (#1143)

2017-06-02 Thread Victor Seva
@miconda yes, I'm going to do that and remove the signing phase too

-- 
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/pull/1143#issuecomment-305740054___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:4.4:5c8419eb: pkg/kamailio/deb: use default-libmysqlclient-dev/default-mysql-client

2017-06-05 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 5c8419eb3a1e26de77b714f53c5a2cf0e24cc76a
URL: 
https://github.com/kamailio/kamailio/commit/5c8419eb3a1e26de77b714f53c5a2cf0e24cc76a

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-05T13:46:41+02:00

pkg/kamailio/deb: use default-libmysqlclient-dev/default-mysql-client

(cherry picked from commit d81a8fcbc6183b5474d2d9315ad72fa342c30cf1)

---

Modified: pkg/kamailio/deb/debian/backports/jessie
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/squeeze
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/debian/backports/xenial
Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/stretch/control

---

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


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


[sr-dev] git:4.4:06a37767: travis-ci: set DIST variable for jessie

2017-06-05 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 06a377677889c5caeef705df145ea845df6715e8
URL: 
https://github.com/kamailio/kamailio/commit/06a377677889c5caeef705df145ea845df6715e8

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-05T13:47:47+02:00

travis-ci: set DIST variable for jessie

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index 130dcd8aa4..bc06380372 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ services:
   - docker
 before_install:
   - docker pull kamailio/pkg-kamailio-docker:4.4-jessie
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
kamailio/pkg-kamailio-docker:4.4-jessie /bin/bash -c "export CC=$CC; cd /code; 
./test/travis/build_travis.sh"
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
kamailio/pkg-kamailio-docker:4.4-jessie /bin/bash -c "export DIST=jessie 
CC=$CC; cd /code; ./test/travis/build_travis.sh"
 branches:
   only:
 - '/^4\.[0-9]+$/'


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


Re: [sr-dev] Broken: linuxmaniac/kamailio#51 (4.4 - 7d075da)

2017-06-05 Thread Victor Seva
This is quite strange, if I do:

$ docker pull kamailio/pkg-kamailio-docker:4.4-jessie
$ docker inspect kamailio/pkg-kamailio-docker:4.4-jessie | grep Id
"Id":
"sha256:6ee5a8451a2365cc497bbdf268335656143af81afceb9ee46f78bbafbcbbba37",
# docker run -i -t --rm -v $(pwd):/code:rw
kamailio/pkg-kamailio-docker:4.4-jessie /bin/bash

and inside docker:

root@d0a4b28bb583:/code# apt-cache policy libfreeradius-client-dev
libfreeradius-client-dev:
  Installed: 1.1.6-7
  Candidate: 1.1.6-7
  Version table:
 *** 1.1.6-7 0
100 /var/lib/dpkg/status


root@d0a4b28bb583:/code# FREERADIUS=1 make every-module
group_include="kradius"
Makefile:107: config.mak: No such file or directory
target architecture , host architecture 
making config...
CC (gcc) [M acc_radius.so]  acc_radius_mod.o
CC (gcc) [L libkcore.so.1.0]parse_privacy.o
CC (gcc) [L libkcore.so.1.0]regexp.o
CC (gcc) [L libkcore.so.1.0]parse_sst.o
CC (gcc) [L libkcore.so.1.0]strcommon.o
CC (gcc) [L libkcore.so.1.0]statistics.o
CC (gcc) [L libkcore.so.1.0]kstats_wrapper.o
CC (gcc) [L libkcore.so.1.0]cmpapi.o
LD (gcc) [L libkcore.so.1.0]libkcore.so.1.0
LD (gcc) [M acc_radius.so]  acc_radius.so
CC (gcc) [M auth_radius.so] sterman.o
CC (gcc) [M auth_radius.so] authrad_mod.o
CC (gcc) [M auth_radius.so] authorize.o
CC (gcc) [M auth_radius.so] extra.o
make[2]: 'libkcore.so.1.0' is up to date.
LD (gcc) [M auth_radius.so] auth_radius.so
CC (gcc) [M misc_radius.so] functions.o
CC (gcc) [M misc_radius.so] misc_radius.o
CC (gcc) [M misc_radius.so] extra.o
LD (gcc) [M misc_radius.so] misc_radius.so
CC (gcc) [M peering.so] verify.o
In file included from verify.c:37:0:
../../dprint.h:406:0: warning: "DEBUG" redefined
 # define DEBUG(fmt, args...) DBG(fmt , ## args)
 ^
In file included from ../../lib/kcore/radius.h:44:0,
 from verify.c:35:
/usr/include/freeradius-client.h:23:0: note: this is the location of the
previous definition
 #define  DEBUG(args...) ;
 ^
CC (gcc) [M peering.so] peering.o
make[2]: 'libkcore.so.1.0' is up to date.
LD (gcc) [M peering.so] peering.so


I don't see why it's failing on travis-ci if we are using the same
docker image



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


Re: [sr-dev] [kamailio/kamailio] pkg: fixed location of ChangeLog (#1143)

2017-06-01 Thread Victor Seva
Problem here is that make deb rules are wrong. There is were we have to make 
the fix.

-- 
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/pull/1143#issuecomment-305527183___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg: fixed location of ChangeLog (#1143)

2017-06-01 Thread Victor Seva
FTR We don't use that rule at all in the process of building the debs

-- 
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/pull/1143#issuecomment-305532302___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] Unable to make SIP Calls (403 Forbidden - Domain Not Served)

2017-06-01 Thread Victor Seva
On 06/01/2017 12:19 PM, Prasannakumar Merugu wrote:
> Hello All,
> I am re-sending the issue with edited data;

You need to send this question on sr-us...@lists.kamailio.org this list
is for devel discussion



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


[sr-dev] git:5.0:bcf6cb0d: sca: fix core when release_appearance RPC command parameter has wrong index

2017-06-08 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: bcf6cb0d22e851ce2a42427f1269718dca8dacae
URL: 
https://github.com/kamailio/kamailio/commit/bcf6cb0d22e851ce2a42427f1269718dca8dacae

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-08T13:46:52+02:00

sca: fix core when release_appearance RPC command parameter has wrong index

> #0  0x7fd8bba5a067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x7fd8bba5b448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
> #2  0x7fd8bba53266 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #3  0x7fd8bba53312 in __assert_fail () from 
> /lib/x86_64-linux-gnu/libc.so.6
> #4  0x7fd8a4b16328 in sca_appearance_list_unlink_index 
> (app_list=0x7fd8a603c528, idx=0) at sca_appearance.c:254
> #5  0x7fd8a4ae0372 in sca_rpc_release_appearance (rpc=0x7fd8b1162300 
> , ctx=0x7ffc2ce9eef0) at sca_rpc.c:504
> #6  0x7fd8b0f38abb in process_rpc_req (buf=0x1e5e744 
> "\241\003\067oZ\274Ƒ\027sca.release_appearance", size=12344, 
> bytes_needed=0x7ffc2ce9effc, sh=0xfefefefefefefe00,
>saved_state=0xfefefefefefefe00) at binrpc_run.c:675

(cherry picked from commit 68045ff55f8e9972d0560ae0216b0fe1f28556d6)

---

Modified: src/modules/sca/sca_rpc.c

---

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

---

diff --git a/src/modules/sca/sca_rpc.c b/src/modules/sca/sca_rpc.c
index 8edc572bac..6005aea3a8 100644
--- a/src/modules/sca/sca_rpc.c
+++ b/src/modules/sca/sca_rpc.c
@@ -483,6 +483,11 @@ void sca_rpc_release_appearance(rpc_t *rpc, void *ctx)
return;
}
 
+   if (app_idx <= 0) {
+   rpc->fault(ctx, 500, "appearance-index must be > 0");
+   return;
+   }
+
if ((ht = sca->appearances) == NULL) {
rpc->fault(ctx, 500, "No active appearances");
return;


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


[sr-dev] git:4.4:650f1cb5: sca: fix core when release_appearance RPC command parameter has wrong index

2017-06-08 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 650f1cb590b927a1254562299496b0974e5f168f
URL: 
https://github.com/kamailio/kamailio/commit/650f1cb590b927a1254562299496b0974e5f168f

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-08T13:49:43+02:00

sca: fix core when release_appearance RPC command parameter has wrong index

> #0  0x7fd8bba5a067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x7fd8bba5b448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
> #2  0x7fd8bba53266 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #3  0x7fd8bba53312 in __assert_fail () from 
> /lib/x86_64-linux-gnu/libc.so.6
> #4  0x7fd8a4b16328 in sca_appearance_list_unlink_index 
> (app_list=0x7fd8a603c528, idx=0) at sca_appearance.c:254
> #5  0x7fd8a4ae0372 in sca_rpc_release_appearance (rpc=0x7fd8b1162300 
> , ctx=0x7ffc2ce9eef0) at sca_rpc.c:504
> #6  0x7fd8b0f38abb in process_rpc_req (buf=0x1e5e744 
> "\241\003\067oZ\274Ƒ\027sca.release_appearance", size=12344, 
> bytes_needed=0x7ffc2ce9effc, sh=0xfefefefefefefe00,
>saved_state=0xfefefefefefefe00) at binrpc_run.c:675

(cherry picked from commit 68045ff55f8e9972d0560ae0216b0fe1f28556d6)

---

Modified: modules/sca/sca_rpc.c

---

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

---

diff --git a/modules/sca/sca_rpc.c b/modules/sca/sca_rpc.c
index 5e6873b48c..cac8465236 100644
--- a/modules/sca/sca_rpc.c
+++ b/modules/sca/sca_rpc.c
@@ -482,6 +482,11 @@ sca_rpc_release_appearance( rpc_t *rpc, void *ctx )
return;
 }
 
+if (app_idx <= 0) {
+   rpc->fault(ctx, 500, "appearance-index must be > 0");
+   return;
+}
+
 if (( ht = sca->appearances ) == NULL ) {
rpc->fault( ctx, 500, "No active appearances" );
return;


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


[sr-dev] git:4.4:f0da1424: travis-ci: use 4.4-jessie image

2017-06-04 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: f0da1424678d0f2d64fa9b2abfab538f1c2736cf
URL: 
https://github.com/kamailio/kamailio/commit/f0da1424678d0f2d64fa9b2abfab538f1c2736cf

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-04T13:13:25+02:00

travis-ci: use 4.4-jessie image

---

Modified: .travis.yml

---

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

---

diff --git a/.travis.yml b/.travis.yml
index 3d5e58bb2b..130dcd8aa4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,8 @@ compiler:
 services:
   - docker
 before_install:
-  - docker pull kamailio/pkg-kamailio-docker:4.4-stretch
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
kamailio/pkg-kamailio-docker:5.0-stretch /bin/bash -c "export CC=$CC; cd /code; 
./test/travis/build_travis.sh"
+  - docker pull kamailio/pkg-kamailio-docker:4.4-jessie
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw 
kamailio/pkg-kamailio-docker:4.4-jessie /bin/bash -c "export CC=$CC; cd /code; 
./test/travis/build_travis.sh"
 branches:
   only:
 - '/^4\.[0-9]+$/'


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


[sr-dev] git:4.4:b7bd4bea: pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

2017-06-04 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: b7bd4beabe76b01342afb4eb84ea4a4a68863efe
URL: 
https://github.com/kamailio/kamailio/commit/b7bd4beabe76b01342afb4eb84ea4a4a68863efe

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-04T13:08:53+02:00

pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

* xavp was not properly created at pv_var_to_xavp()
* add proper xavp loop for pv_xavp_to_var()

---

Modified: modules/pv/pv_xavp.c

---

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

---

diff --git a/modules/pv/pv_xavp.c b/modules/pv/pv_xavp.c
index 28bb06ed26..d6fd83d954 100644
--- a/modules/pv/pv_xavp.c
+++ b/modules/pv/pv_xavp.c
@@ -622,7 +622,7 @@ int xavp_params_explode(str *params, str *xname)
 int pv_var_to_xavp(str *varname, str *xname)
 {
script_var_t *it;
-   sr_xavp_t *xavp = NULL;
+   sr_xavp_t *avp = NULL;
sr_xval_t xval;
 
LM_DBG("xname:%.*s varname:%.*s\n", xname->len, xname->s,
@@ -638,18 +638,29 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, 
it->name.s, xval.v.i);
} else {
if(it->v.value.s.len==0) continue;
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, 
it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , 
NULL);
-   if(xavp==NULL) {
+   if(xavp_add_value(>name, , )==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, 
it->name.s);
goto error;
}
}
+   if(avp) {
+   memset(, 0, sizeof(sr_xval_t));
+   xval.type = SR_XTYPE_XAVP;
+   xval.v.xavp = avp;
+   if(xavp_add_value(xname, , NULL)==NULL) {
+   LM_ERR("Can't create xavp[%.*s]\n", xname->len, 
xname->s);
+   goto error;
+   }
+   }
}
else {
it = get_var_by_name(varname);
@@ -662,21 +673,23 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, it->name.s, 
xval.v.i);
} else {
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , NULL);
-   if(xavp==NULL) {
+   if(xavp_add_xavp_value(xname, >name, , NULL)==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, it->name.s);
-   goto error;
+   return -1;
}
}
return 1;
 
 error:
-   xavp_rm_by_name(xname, 1, NULL);
+   if(avp) xavp_destroy_list();
return -1;
 }
 
@@ -691,7 +704,7 @@ int pv_xavp_to_var_helper(sr_xavp_t *avp) {
flags |= VAR_VAL_STR;
value.s.len = avp->val.v.s.len;
value.s.s = avp->val.v.s.s;
-   LM_DBG("var:[%.*s]  STR:[%.*s]\n", avp->name.len, avp->name.s,
+   LM_DBG("var:[%.*s] STR:[%.*s]\n", avp->name.len, avp->name.s,
value.s.len, value.s.s);
}
else if(avp->val.type==SR_XTYPE_INT) {
@@ -723,18 +736,21 @@ int pv_xavp_to_var(str *xname) {
LM_ERR("%.*s not xavp type?\n", xname->len, xname->s);
return -1;
}
-   avp = xavp->val.v.xavp;
-   if (avp)
-   {
-   if(pv_xavp_to_var_helper(avp)<0) return -1;
-   avp = avp->next;
-   }
+   do {
+   avp = xavp->val.v.xavp;
+   if (avp)
+

[sr-dev] git:5.0:6171c150: pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

2017-06-04 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 6171c15069576c0686827d594d512170f187dd6c
URL: 
https://github.com/kamailio/kamailio/commit/6171c15069576c0686827d594d512170f187dd6c

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-04T13:09:05+02:00

pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

* xavp was not properly created at pv_var_to_xavp()
* add proper xavp loop for pv_xavp_to_var()

(cherry picked from commit 894d13f226310a6fcf78d0abbb4ea6e5eae903fd)

---

Modified: src/modules/pv/pv_xavp.c

---

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

---

diff --git a/src/modules/pv/pv_xavp.c b/src/modules/pv/pv_xavp.c
index e95d48d3e1..d556dda99f 100644
--- a/src/modules/pv/pv_xavp.c
+++ b/src/modules/pv/pv_xavp.c
@@ -622,7 +622,7 @@ int xavp_params_explode(str *params, str *xname)
 int pv_var_to_xavp(str *varname, str *xname)
 {
script_var_t *it;
-   sr_xavp_t *xavp = NULL;
+   sr_xavp_t *avp = NULL;
sr_xval_t xval;
 
LM_DBG("xname:%.*s varname:%.*s\n", xname->len, xname->s,
@@ -638,18 +638,29 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, 
it->name.s, xval.v.i);
} else {
if(it->v.value.s.len==0) continue;
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, 
it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , 
NULL);
-   if(xavp==NULL) {
+   if(xavp_add_value(>name, , )==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, 
it->name.s);
goto error;
}
}
+   if(avp) {
+   memset(, 0, sizeof(sr_xval_t));
+   xval.type = SR_XTYPE_XAVP;
+   xval.v.xavp = avp;
+   if(xavp_add_value(xname, , NULL)==NULL) {
+   LM_ERR("Can't create xavp[%.*s]\n", xname->len, 
xname->s);
+   goto error;
+   }
+   }
}
else {
it = get_var_by_name(varname);
@@ -662,21 +673,23 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, it->name.s, 
xval.v.i);
} else {
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , NULL);
-   if(xavp==NULL) {
+   if(xavp_add_xavp_value(xname, >name, , NULL)==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, it->name.s);
-   goto error;
+   return -1;
}
}
return 1;
 
 error:
-   xavp_rm_by_name(xname, 1, NULL);
+   if(avp) xavp_destroy_list();
return -1;
 }
 
@@ -691,7 +704,7 @@ int pv_xavp_to_var_helper(sr_xavp_t *avp) {
flags |= VAR_VAL_STR;
value.s.len = avp->val.v.s.len;
value.s.s = avp->val.v.s.s;
-   LM_DBG("var:[%.*s]  STR:[%.*s]\n", avp->name.len, avp->name.s,
+   LM_DBG("var:[%.*s] STR:[%.*s]\n", avp->name.len, avp->name.s,
value.s.len, value.s.s);
}
else if(avp->val.type==SR_XTYPE_INT) {
@@ -723,18 +736,21 @@ int pv_xavp_to_var(str *xname) {
LM_ERR("%.*s not xavp type?\n", xname->len, xname->s);
return -1;
}
-   avp = xavp->val.v.xavp;
-   if (avp)
-   {
-   if(pv_xavp_to_var_helper(avp)<0) return -1;
-   avp = avp->next;
-   }
+  

[sr-dev] git:master:66873cbe: pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

2017-06-04 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 66873cbec5249a21c048349f608e316febd1b313
URL: 
https://github.com/kamailio/kamailio/commit/66873cbec5249a21c048349f608e316febd1b313

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-04T13:09:12+02:00

pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

* xavp was not properly created at pv_var_to_xavp()
* add proper xavp loop for pv_xavp_to_var()

---

Modified: src/modules/pv/pv_xavp.c

---

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

---

diff --git a/src/modules/pv/pv_xavp.c b/src/modules/pv/pv_xavp.c
index e95d48d3e1..d556dda99f 100644
--- a/src/modules/pv/pv_xavp.c
+++ b/src/modules/pv/pv_xavp.c
@@ -622,7 +622,7 @@ int xavp_params_explode(str *params, str *xname)
 int pv_var_to_xavp(str *varname, str *xname)
 {
script_var_t *it;
-   sr_xavp_t *xavp = NULL;
+   sr_xavp_t *avp = NULL;
sr_xval_t xval;
 
LM_DBG("xname:%.*s varname:%.*s\n", xname->len, xname->s,
@@ -638,18 +638,29 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, 
it->name.s, xval.v.i);
} else {
if(it->v.value.s.len==0) continue;
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, 
it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , 
NULL);
-   if(xavp==NULL) {
+   if(xavp_add_value(>name, , )==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, 
it->name.s);
goto error;
}
}
+   if(avp) {
+   memset(, 0, sizeof(sr_xval_t));
+   xval.type = SR_XTYPE_XAVP;
+   xval.v.xavp = avp;
+   if(xavp_add_value(xname, , NULL)==NULL) {
+   LM_ERR("Can't create xavp[%.*s]\n", xname->len, 
xname->s);
+   goto error;
+   }
+   }
}
else {
it = get_var_by_name(varname);
@@ -662,21 +673,23 @@ int pv_var_to_xavp(str *varname, str *xname)
{
xval.type = SR_XTYPE_INT;
xval.v.i = it->v.value.n;
+   LM_DBG("[%.*s]: %d\n", it->name.len, it->name.s, 
xval.v.i);
} else {
xval.type = SR_XTYPE_STR;
xval.v.s.s = it->v.value.s.s;
xval.v.s.len = it->v.value.s.len;
+   LM_DBG("[%.*s]: '%.*s'\n", it->name.len, it->name.s,
+   xval.v.s.len, xval.v.s.s);
}
-   xavp = xavp_add_xavp_value(xname, >name, , NULL);
-   if(xavp==NULL) {
+   if(xavp_add_xavp_value(xname, >name, , NULL)==NULL) {
LM_ERR("can't copy [%.*s]\n", it->name.len, it->name.s);
-   goto error;
+   return -1;
}
}
return 1;
 
 error:
-   xavp_rm_by_name(xname, 1, NULL);
+   if(avp) xavp_destroy_list();
return -1;
 }
 
@@ -691,7 +704,7 @@ int pv_xavp_to_var_helper(sr_xavp_t *avp) {
flags |= VAR_VAL_STR;
value.s.len = avp->val.v.s.len;
value.s.s = avp->val.v.s.s;
-   LM_DBG("var:[%.*s]  STR:[%.*s]\n", avp->name.len, avp->name.s,
+   LM_DBG("var:[%.*s] STR:[%.*s]\n", avp->name.len, avp->name.s,
value.s.len, value.s.s);
}
else if(avp->val.type==SR_XTYPE_INT) {
@@ -723,18 +736,21 @@ int pv_xavp_to_var(str *xname) {
LM_ERR("%.*s not xavp type?\n", xname->len, xname->s);
return -1;
}
-   avp = xavp->val.v.xavp;
-   if (avp)
-   {
-   if(pv_xavp_to_var_helper(avp)<0) return -1;
-   avp = avp->next;
-   }
+   do {
+   avp = xavp->val.v.xavp;
+   i

[sr-dev] git:master:ad48f441: Makefile: deb rule, remove --no-sign and use -us -uc

2017-06-13 Thread Victor Seva
Module: kamailio
Branch: master
Commit: ad48f441ec9d0611b9c80d51c459099bb520f393
URL: 
https://github.com/kamailio/kamailio/commit/ad48f441ec9d0611b9c80d51c459099bb520f393

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-13T15:40:12+02:00

Makefile: deb rule, remove --no-sign and use -us -uc

* --no-sign just works for stretch

---

Modified: src/Makefile

---

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

---

diff --git a/src/Makefile b/src/Makefile
index 2bbbdc3c89..c590e5c9f0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -611,11 +611,11 @@ bin:
 deb:
(cd ..; \
if [ -d debian ]; then \
-   dpkg-buildpackage -rfakeroot -tc --no-sign; \
+   dpkg-buildpackage -rfakeroot -tc -uc -us; \
rm debian; \
else \
ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
-   dpkg-buildpackage -rfakeroot -tc --no-sign; \
+   dpkg-buildpackage -rfakeroot -tc -uc -us; \
rm debian; \
fi)
 
@@ -623,11 +623,11 @@ deb:
 deb-stable:
(cd ..; \
if [ -d debian ]; then \
-   dpkg-buildpackage -rfakeroot -tc --no-sign; \
+   dpkg-buildpackage -rfakeroot -tc -uc -us; \
rm debian; \
else \
ln -s pkg/$(MAIN_NAME)/deb/jessie debian; \
-   dpkg-buildpackage -rfakeroot -tc --no-sign; \
+   dpkg-buildpackage -rfakeroot -tc -uc -us; \
rm debian; \
fi)
 


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


Re: [sr-dev] [kamailio/kamailio] Makefile: deb rule, remove --no-sign and use -us -uc (ad48f44)

2017-06-13 Thread Victor Seva
@abalashov what about now?

-- 
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/commit/ad48f441ec9d0611b9c80d51c459099bb520f393#commitcomment-2251___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.0:c7fdf0a4: pkg/kamailio/deb: version set to 5.0.2

2017-06-14 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: c7fdf0a4d50340dfbf91889c43c85fbf7b753d45
URL: 
https://github.com/kamailio/kamailio/commit/c7fdf0a4d50340dfbf91889c43c85fbf7b753d45

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-14T08:38:44+02:00

pkg/kamailio/deb: version set to 5.0.2

---

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/c7fdf0a4d50340dfbf91889c43c85fbf7b753d45.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c7fdf0a4d50340dfbf91889c43c85fbf7b753d45.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 673f70e4ec..477f56c729 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.2) unstable; urgency=medium
+
+  * version set to 5.0.2
+
+ -- Victor Seva <vs...@debian.org>  Wed, 14 Jun 2017 08:37:53 +0200
+
 kamailio (5.0.1) unstable; urgency=medium
 
   * version set to 5.0.1


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


[sr-dev] git:4.4:46c738aa: pkg/kamailio/deb: version set to 4.4.6

2017-06-16 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 46c738aa8b5587f21ea1cd91fbeabd77c02ad750
URL: 
https://github.com/kamailio/kamailio/commit/46c738aa8b5587f21ea1cd91fbeabd77c02ad750

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-16T10:02:54+02:00

pkg/kamailio/deb: version set to 4.4.6

---

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/squeeze/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/46c738aa8b5587f21ea1cd91fbeabd77c02ad750.diff
Patch: 
https://github.com/kamailio/kamailio/commit/46c738aa8b5587f21ea1cd91fbeabd77c02ad750.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/squeeze/changelog 
b/pkg/kamailio/deb/squeeze/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/squeeze/changelog
+++ b/pkg/kamailio/deb/squeeze/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 263271d898..7b26f390d4 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (4.4.6) unstable; urgency=medium
+
+  * version set to 4.4.6
+
+ -- Victor Seva <vs...@debian.org>  Fri, 16 Jun 2017 10:02:05 +0200
+
 kamailio (4.4.5) unstable; urgency=medium
 
   * version set to 4.4.5


___
Kamailio (SER) - Development Mai

Re: [sr-dev] [kamailio/kamailio] Call and Voice issues (#1151)

2017-06-16 Thread Victor Seva
Closed #1151.

-- 
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/1151#event-1127192436___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] IPv6 parse_uri error (#1136)

2017-06-16 Thread Victor Seva
@davidxbwang please use markdown format when pasting.

-- 
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/1136#issuecomment-309082579___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:2ac39d96: pkg/kamailio/deb: version set to 5.1.0-dev4

2017-06-12 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 2ac39d963d02e6bc2ed056da1762ce286cf8d976
URL: 
https://github.com/kamailio/kamailio/commit/2ac39d963d02e6bc2ed056da1762ce286cf8d976

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-06-12T13:16:01+02:00

pkg/kamailio/deb: version set to 5.1.0-dev4

---

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/2ac39d963d02e6bc2ed056da1762ce286cf8d976.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2ac39d963d02e6bc2ed056da1762ce286cf8d976.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 83c1a37af5..d7fc4fc35b 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev4) unstable; urgency=medium
+
+  * version set to 5.1.0-dev4
+
+ -- Victor Seva <vs...@debian.org>  Mon, 12 Jun 2017 13:15:18 +0200
+
 kamailio (5.1.0~dev3) unstable; urgency=medium
 
   * version set to 5.1.0-dev3


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


[sr-dev] ubuntu failures

2017-09-14 Thread Victor Seva
Hi, it seems there is a connection problem with the ubuntu repo. I
will investigate

Err http://ie.archive.ubuntu.com/ubuntu/ precise/main libexpat1 amd64
2.0.1-7.2ubuntu1
  Could not connect to ie.archive.ubuntu.com:80 (193.1.193.69),
connection timed out

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


Re: [sr-dev] ubuntu failures

2017-09-14 Thread Victor Seva
As you already notice, things are back to normal.

We changed Ubuntu repositories from ie.archive.ubuntu.com to archive.ubuntu.com
and added Debian buster support for the future

Thanks @mikagrml for the help

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


[sr-dev] git:master:593f929f: pkg/kamailio/deb: version set to 5.1.0-dev7

2017-09-18 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 593f929f3678150423b50b68293ac6267ddcb4a3
URL: 
https://github.com/kamailio/kamailio/commit/593f929f3678150423b50b68293ac6267ddcb4a3

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-09-18T09:25:18+02:00

pkg/kamailio/deb:  version set to 5.1.0-dev7

---

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/593f929f3678150423b50b68293ac6267ddcb4a3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/593f929f3678150423b50b68293ac6267ddcb4a3.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index d2709ed68c..358ae895cc 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev7) unstable; urgency=medium
+
+  * version set to 5.1.0-dev7
+
+ -- Victor Seva <vs...@debian.org>  Mon, 18 Sep 2017 09:24:11 +0200
+
 kamailio (5.1.0~dev6) unstable; urgency=medium
 
   * version set to 5.1.0-dev6


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


[sr-dev] git:master:9c064ff6: pkg/kamailio/deb: set version 5.1.0~dev8

2017-10-16 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 9c064ff672df7c3e65b4b2891899bfaa460469dd
URL: 
https://github.com/kamailio/kamailio/commit/9c064ff672df7c3e65b4b2891899bfaa460469dd

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-16T12:11:13+02:00

pkg/kamailio/deb: set version 5.1.0~dev8

---

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/9c064ff672df7c3e65b4b2891899bfaa460469dd.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9c064ff672df7c3e65b4b2891899bfaa460469dd.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 358ae895cc..c141ede2f5 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev8) unstable; urgency=medium
+
+  * version set to 5.1.0~dev8
+
+ -- Victor Seva <vs...@debian.org>  Mon, 16 Oct 2017 12:09:55 +0200
+
 kamailio (5.1.0~dev7) unstable; urgency=medium
 
   * version set to 5.1.0-dev7


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


Re: [sr-dev] git:master:02074c81: Merge branch 'master' of github.com:kamailio/kamailio

2017-10-16 Thread Victor Seva
2017-10-16 13:00 GMT+02:00 Juha Heinanen <j...@tutpro.com>:
> Victor Seva writes:
>
>> rebase before pushing
>
> Hard to remember. Is it possible to configure git so that it cancels
> push if local repo is not up to date?


See pull.rebase, branch..rebase and branch.autoSetupRebase in
git-config[1] if you want to make git pull always use --rebase instead
of merging.

> And even if had remembered to rebase, there would still be a cap between
> push during which a new commit could have occurred.  Sound broken system
> to me.

You can't push in that case. I would say git is not broken

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


Re: [sr-dev] git:master:02074c81: Merge branch 'master' of github.com:kamailio/kamailio

2017-10-16 Thread Victor Seva
Please Juha,

rebase before pushing

2017-10-16 11:42 GMT+02:00 Juha Heinanen :
> Module: kamailio
> Branch: master
> Commit: 02074c81158b0927778e5f2daaae8da953580f2f
> URL: 
> https://github.com/kamailio/kamailio/commit/02074c81158b0927778e5f2daaae8da953580f2f
>
> Author: Juha Heinanen 
> Committer: Juha Heinanen 
> Date: 2017-10-16T12:41:48+03:00
>
> Merge branch 'master' of github.com:kamailio/kamailio
>
> ---
>
> Added: src/modules/phonenum/Makefile
> Added: src/modules/phonenum/README
> Added: src/modules/phonenum/cphonenumber.cpp
> Added: src/modules/phonenum/cphonenumber.h
> Added: src/modules/phonenum/doc/Makefile
> Added: src/modules/phonenum/doc/phonenum.xml
> Added: src/modules/phonenum/doc/phonenum_admin.xml
> Added: src/modules/phonenum/phonenum_mod.c
> Added: src/modules/phonenum/phonenum_pv.c
> Added: src/modules/phonenum/phonenum_pv.h
> Modified: src/Makefile.defs
> Modified: src/Makefile.groups
> Modified: src/modules/sipdump/sipdump_mod.c
> Modified: src/modules/sipdump/sipdump_write.c
>
> ---
>
> Diff:  
> https://github.com/kamailio/kamailio/commit/02074c81158b0927778e5f2daaae8da953580f2f.diff
> Patch: 
> https://github.com/kamailio/kamailio/commit/02074c81158b0927778e5f2daaae8da953580f2f.patch
>
>
> ___
> Kamailio (SER) - Development Mailing List
> sr-dev@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

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


[sr-dev] git:master:c6e921e4: core: add safety check to rval_get_tmp_str()

2017-10-05 Thread Victor Seva
Module: kamailio
Branch: master
Commit: c6e921e45f1257913848110189eab82a34aa2f8b
URL: 
https://github.com/kamailio/kamailio/commit/c6e921e45f1257913848110189eab82a34aa2f8b

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-05T13:28:38+02:00

core: add safety check to rval_get_tmp_str()

See #1263

---

Modified: src/core/rvalue.c

---

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

---

diff --git a/src/core/rvalue.c b/src/core/rvalue.c
index 540f26620a..fcb238d111 100644
--- a/src/core/rvalue.c
+++ b/src/core/rvalue.c
@@ -1099,6 +1099,10 @@ int rval_get_tmp_str(struct run_act_ctx* h, struct 
sip_msg* msg,
avp_t* r_avp;
int i;
 
+   if(rv==NULL) {
+   return -1;
+   }
+
switch(rv->type){
case RV_INT:
tmpv->s=sint2strbuf(rv->v.l, tmp_cache->i2s,


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


[sr-dev] git:master:6b021e19: pkg/kamailio/deb: add buster support

2017-10-17 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 6b021e199cfdfaac3e4723320742377e9da1e1d0
URL: 
https://github.com/kamailio/kamailio/commit/6b021e199cfdfaac3e4723320742377e9da1e1d0

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-17T09:02:16+02:00

pkg/kamailio/deb: add buster support

* remove buildserver.net reference from backports

---

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

---

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

---

diff --git a/pkg/kamailio/deb/debian/backports/buster 
b/pkg/kamailio/deb/debian/backports/buster
new file mode 100755
index 00..9fc54a9e40
--- /dev/null
+++ b/pkg/kamailio/deb/debian/backports/buster
@@ -0,0 +1,23 @@
+#!/bin/bash
+#
+# Target dist: Debian buster
+DIST=buster
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+# No mi_xmlrpc module
+sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package: kamailio-xmlrpc-modules/,/^$/d' 
\
+   ${DIST}/control
+sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules
+
+# No dnssec module:
+sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
+  ${DIST}/control
+sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0
diff --git a/pkg/kamailio/deb/debian/backports/jessie 
b/pkg/kamailio/deb/debian/backports/jessie
index ec8187fb17..48fc3d3798 100755
--- a/pkg/kamailio/deb/debian/backports/jessie
+++ b/pkg/kamailio/deb/debian/backports/jessie
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Debian Jessie
 DIST=jessie
 
diff --git a/pkg/kamailio/deb/debian/backports/precise 
b/pkg/kamailio/deb/debian/backports/precise
index 3fbca2811f..80a2beff03 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Debian Squeeze
 DIST=precise
 
diff --git a/pkg/kamailio/deb/debian/backports/sid 
b/pkg/kamailio/deb/debian/backports/sid
index df1a365da9..e642c049e0 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Debian Sid
 DIST=sid
 
diff --git a/pkg/kamailio/deb/debian/backports/stretch 
b/pkg/kamailio/deb/debian/backports/stretch
index f75b2a3f16..285eb85633 100755
--- a/pkg/kamailio/deb/debian/backports/stretch
+++ b/pkg/kamailio/deb/debian/backports/stretch
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Debian Stretch
 DIST=stretch
 
diff --git a/pkg/kamailio/deb/debian/backports/trusty 
b/pkg/kamailio/deb/debian/backports/trusty
index 6aa1c2f76f..2e3665ba4a 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Ubuntu trusty
 DIST=trusty
 
diff --git a/pkg/kamailio/deb/debian/backports/wheezy 
b/pkg/kamailio/deb/debian/backports/wheezy
index 1b4fa2e021..c526f2fd42 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Debian Wheezy
 DIST=wheezy
 
diff --git a/pkg/kamailio/deb/debian/backports/xenial 
b/pkg/kamailio/deb/debian/backports/xenial
index 174fbc9fdd..721ca849a0 100755
--- a/pkg/kamailio/deb/debian/backports/xenial
+++ b/pkg/kamailio/deb/debian/backports/xenial
@@ -1,7 +1,5 @@
 #!/bin/bash
 #
-# Hook for automatic backports at buildserver.net
-#
 # Target dist: Ubuntu xenial
 DIST=xenial
 


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


[sr-dev] git:master:ad84dd05: pkg/kamailio/deb: buster files

2017-10-17 Thread Victor Seva
Module: kamailio
Branch: master
Commit: ad84dd05e678a180663c857637154bac1b159c27
URL: 
https://github.com/kamailio/kamailio/commit/ad84dd05e678a180663c857637154bac1b159c27

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-17T09:03:07+02:00

pkg/kamailio/deb: buster files

---

Added: pkg/kamailio/deb/buster/changelog
Added: pkg/kamailio/deb/buster/compat
Added: pkg/kamailio/deb/buster/control
Added: pkg/kamailio/deb/buster/copyright
Added: pkg/kamailio/deb/buster/kamailio-autheph-modules.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio-berkeley-bin.dirs
Added: pkg/kamailio/deb/buster/kamailio-dnssec-modules.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio-outbound-modules.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio-tls-modules.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio-websocket-modules.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio.README.Debian
Added: pkg/kamailio/deb/buster/kamailio.default
Added: pkg/kamailio/deb/buster/kamailio.examples
Added: pkg/kamailio/deb/buster/kamailio.init
Added: pkg/kamailio/deb/buster/kamailio.lintian-overrides
Added: pkg/kamailio/deb/buster/kamailio.postinst
Added: pkg/kamailio/deb/buster/kamailio.service
Added: pkg/kamailio/deb/buster/rules
Added: pkg/kamailio/deb/buster/source.lintian-overrides
Added: pkg/kamailio/deb/buster/source/format
Added: pkg/kamailio/deb/buster/watch

---

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


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


Re: [sr-dev] [kamailio/kamailio] db_check_table_version(): invalid version 6 for table subscriber found, expected 7 (check table structure and table "version") (#1270)

2017-10-12 Thread Victor Seva
Closed #1270.

-- 
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/1270#event-1289763705___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] git:master:02074c81: Merge branch 'master' of github.com:kamailio/kamailio

2017-10-16 Thread Victor Seva
2017-10-16 13:30 GMT+02:00 Juha Heinanen <j...@tutpro.com>:
> Victor Seva writes:
>
>> rebase before pushing
>
> This is what I did (taken from shell history):
>
> 2060  emacs sipdump_mod.c
>  2061  git diff
>  2062  git commit -a
>  2063  git push
>  2064  git pull
>  2065  git push
>
> If I remember correctly, first git push failed with message asking to do
> pull first, which I did and then pushed again.
>
> What would have been the correct command sequence provided that I didn't
> remember to do 'git rebase'?

git pull --rebase is the missing step there. I have set pull rebase in
~/.gitconfig [0]

[pull]
rebase = true


so git pull --rebase is automatic for me

[0] https://coderwall.com/p/tnoiug/rebase-by-default-when-doing-git-pull

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


[sr-dev] git:master:982cc452: app_python: fix compiler warning

2017-09-26 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 982cc452c3ac80a38b562bc8d06159c8423ec18b
URL: 
https://github.com/kamailio/kamailio/commit/982cc452c3ac80a38b562bc8d06159c8423ec18b

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-01-12T17:16:50+01:00

app_python: fix compiler warning

>Add "-fno-strict-aliasing" to compilation flags
>
>Fixes a slew of:
>  "dereferencing type-punned pointer will break strict-aliasing rules"
>warnings from GCC for lines of the form:
>  Py_INCREF(Py_True);
>and
>  Py_INCREF(Py_False);
>
>due to the cast from PyIntObject* to PyObject*
>
>GCC is technically correct here; see:
>  http://www.python.org/dev/peps/pep-3123/
>though this is unlikely to lead to non-working machine code.

---

Modified: src/modules/app_python/Makefile

---

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

---

diff --git a/src/modules/app_python/Makefile b/src/modules/app_python/Makefile
index d1854c12e4..02f5fff664 100644
--- a/src/modules/app_python/Makefile
+++ b/src/modules/app_python/Makefile
@@ -22,6 +22,8 @@ ifeq ($(OS), freebsd)
 LIBS+=-pthread
 endif
 
+# python2 https://www.python.org/dev/peps/pep-3123/
+DEFS+=-fno-strict-aliasing
 DEFS+=-I${PYTHON_INCDIR}
 DEFS+=-DKAMAILIO_MOD_INTERFACE
 


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


[sr-dev] git:master:1473be69: cfgt: format code using clang-format

2017-09-28 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 1473be69e191c6873cfc4e2501999ebeb8a45159
URL: 
https://github.com/kamailio/kamailio/commit/1473be69e191c6873cfc4e2501999ebeb8a45159

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-09-28T08:41:57+02:00

cfgt: format code using clang-format

---

Modified: src/modules/cfgt/cfgt.c
Modified: src/modules/cfgt/cfgt.h
Modified: src/modules/cfgt/cfgt_int.c
Modified: src/modules/cfgt/cfgt_int.h
Modified: src/modules/cfgt/cfgt_json.c
Modified: src/modules/cfgt/cfgt_json.h
Modified: src/modules/cfgt/cfgt_mod.c
Modified: src/modules/cfgt/cfgt_mod.h

---

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


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


[sr-dev] git:master:8d9459b7: tls: fix sanitization of log macros commit a8b30d340f9d

2017-08-29 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 8d9459b7de28de90993e7e26c827298c7b2d08a4
URL: 
https://github.com/kamailio/kamailio/commit/8d9459b7de28de90993e7e26c827298c7b2d08a4

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-08-29T12:58:41+02:00

tls: fix sanitization of log macros commit a8b30d340f9d

---

Modified: src/modules/tls/tls_init.c

---

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

---

diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c
index 65704ff27e..936bec1f81 100644
--- a/src/modules/tls/tls_init.c
+++ b/src/modules/tls/tls_init.c
@@ -763,7 +763,6 @@ int init_tls_h(void)
}else
low_mem_threshold2*=1024; /* KB */
if ((low_mem_threshold1==0) || (low_mem_threshold2==0))
-   :w
 LM_WARN("tls: openssl bug #1491 (crash/mem leaks on low memory)"
" workarround disabled\n");
else


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


[sr-dev] git:5.0:556e066b: pkg/kamailio/deb: version set to 5.0.3

2017-09-01 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 556e066b084099ef89e63ec397e9a431eef33b3b
URL: 
https://github.com/kamailio/kamailio/commit/556e066b084099ef89e63ec397e9a431eef33b3b

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-09-01T10:58:32+02:00

pkg/kamailio/deb: version set to 5.0.3

---

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/556e066b084099ef89e63ec397e9a431eef33b3b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/556e066b084099ef89e63ec397e9a431eef33b3b.patch

---

diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 477f56c729..08f8f4a163 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.0.3) unstable; urgency=medium
+
+  * version set to 5.0.3
+
+ -- Victor Seva <vs...@debian.org>  Fri, 01 Sep 2017 10:57:51 +0200
+
 kamailio (5.0.2) unstable; urgency=medium
 
   * version set to 5.0.2


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


[sr-dev] git:5.0:9e3096e1: core: add safety check to rval_get_tmp_str()

2017-10-11 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 9e3096e16ac233e1667110904e1d944753d53c7a
URL: 
https://github.com/kamailio/kamailio/commit/9e3096e16ac233e1667110904e1d944753d53c7a

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-11T18:31:37+02:00

core: add safety check to rval_get_tmp_str()

See #1263

(cherry picked from commit c6e921e45f1257913848110189eab82a34aa2f8b)

---

Modified: src/core/rvalue.c

---

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

---

diff --git a/src/core/rvalue.c b/src/core/rvalue.c
index 540f26620a..fcb238d111 100644
--- a/src/core/rvalue.c
+++ b/src/core/rvalue.c
@@ -1099,6 +1099,10 @@ int rval_get_tmp_str(struct run_act_ctx* h, struct 
sip_msg* msg,
avp_t* r_avp;
int i;
 
+   if(rv==NULL) {
+   return -1;
+   }
+
switch(rv->type){
case RV_INT:
tmpv->s=sint2strbuf(rv->v.l, tmp_cache->i2s,


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


Re: [sr-dev] [kamailio/kamailio] crash on infinite loop processing a call (#1263)

2017-10-11 Thread Victor Seva
Closed #1263.

-- 
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/1263#event-1288547909___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:91bec00a: kex: fix compiler warning

2017-09-27 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 91bec00a1451f026ccfa5c42d1b945d15ced664e
URL: 
https://github.com/kamailio/kamailio/commit/91bec00a1451f026ccfa5c42d1b945d15ced664e

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-09-27T13:57:54+02:00

kex: fix compiler warning

> core_stats.c: In function 'stats_fetch_all':
> core_stats.c:521:7: warning: 'm' may be used uninitialized in this function 
> [-Wmaybe-uninitialized]
>  if(m==NULL) {
>^
> CC (gcc) [M kex.so]   mod_stats.o

---

Modified: src/modules/kex/core_stats.c

---

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

---

diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c
index fb311f0be4..ad8f42964d 100644
--- a/src/modules/kex/core_stats.c
+++ b/src/modules/kex/core_stats.c
@@ -518,10 +518,10 @@ static void stats_fetch_all(rpc_t* rpc, void* ctx, char* 
stat)
s_statistic.len = strlen(n);
s_stat = get_stat(_statistic);
if (s_stat) {
+   m = get_stat_module(s_stat);
if(m==NULL) {
return;
}
-   m = get_stat_module(s_stat);
for(i=0;  m[i]!=0 && stat[i]!=0; i++) {
if(stat[i]!=m[i]) {
/* module name mismatch */


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


[sr-dev] git:master:43b1f9de: pv: remove unused variable

2017-09-27 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 43b1f9de4538c0739a133c0181a4df97c23c5769
URL: 
https://github.com/kamailio/kamailio/commit/43b1f9de4538c0739a133c0181a4df97c23c5769

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-09-27T14:02:47+02:00

pv: remove unused variable

> pv_core.c: In function 'pv_get_protoid':
> pv_core.c:1259:6: warning: unused variable 's' [-Wunused-variable]
>   str s;
>   ^

---

Modified: src/modules/pv/pv_core.c

---

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

---

diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 2ef7f5f6c8..b087f5ad1b 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -1256,7 +1256,6 @@ int pv_get_proto(struct sip_msg *msg, pv_param_t *param,
 int pv_get_protoid(struct sip_msg *msg, pv_param_t *param,
pv_value_t *res)
 {
-   str s;
if(msg==NULL)
return -1;
 


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


[sr-dev] git:4.4:471f8843: pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

2017-10-19 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 471f8843cf3fa65e5215c284337e1206e1e96c9e
URL: 
https://github.com/kamailio/kamailio/commit/471f8843cf3fa65e5215c284337e1206e1e96c9e

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-19T10:40:45+02:00

pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

---

Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/jessie/control
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/squeeze/control
Modified: pkg/kamailio/deb/stretch/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/xenial/control

---

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


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


[sr-dev] git:5.0:60dc10a3: pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

2017-10-19 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 60dc10a3948bdc51d1c9298e8a174a0af066557a
URL: 
https://github.com/kamailio/kamailio/commit/60dc10a3948bdc51d1c9298e8a174a0af066557a

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-19T10:36:27+02:00

pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

---

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

---

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

---

diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 488c082045..eb22c68222 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -422,7 +422,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index eb2e603f3c..5c71aa4150 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -420,7 +420,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index 070856edcc..afb94c80f3 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -416,7 +416,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index e9e8231d62..2747c390d5 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -420,7 +420,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index e9e8231d62..2747c390d5 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -420,7 +420,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index d63ab59d31..4e375f6700 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -418,7 +418,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 070856edcc..afb94c80f3 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -416,7 +416,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index 0a03ef75fc..2e931f4cd9 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -421,7 +421,7 @@ Package: kamailio-berkeley-modules
 Architecture: linux-any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: db5.1-util,
+Depends: db-util (>= 4.6.19),
  kamailio (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}


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


[sr-dev] git:master:3a1e8807: pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

2017-10-19 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 3a1e8807d340dd7907b310006a18a7e82e795d2b
URL: 
https://github.com/kamailio/kamailio/commit/3a1e8807d340dd7907b310006a18a7e82e795d2b

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-10-19T10:31:51+02:00

pkg/kamailio/deb: fix kamailio-berkeley-modules dependence

---

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

---

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


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


[sr-dev] git:master:574ad1fc: pkg/kamailio/deb: add lsb-base

2017-11-13 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 574ad1fc96fa207a5a30fba66977d27e50ea1da1
URL: 
https://github.com/kamailio/kamailio/commit/574ad1fc96fa207a5a30fba66977d27e50ea1da1

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-13T12:08:08+01:00

pkg/kamailio/deb: add lsb-base

fixes lintian error:
> E: kamailio: init.d-script-needs-depends-on-lsb-base etc/init.d/kamailio

---

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

---

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

---

diff --git a/pkg/kamailio/deb/buster/control b/pkg/kamailio/deb/buster/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/buster/control
+++ b/pkg/kamailio/deb/buster/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index f24cd9bfcb..72177f1672 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -66,6 +66,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 0bc38c66f0..5eb4506b58 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index 8c1aa99547..e0c5ab5920 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 5d9096a857..e55c0b87e8 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -62,6 +62,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 8c1aa99547..e0c5ab5920 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index 8f9b0a0cdc..5c908b6362 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -65,6 +65,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},


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


[sr-dev] git:master:2dd971a9: pkg/kamailio/deb: wrap-and-sort -sat

2017-11-13 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 2dd971a970dbec87713177b52a32a667ebfa802c
URL: 
https://github.com/kamailio/kamailio/commit/2dd971a970dbec87713177b52a32a667ebfa802c

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-13T12:07:28+01:00

pkg/kamailio/deb: wrap-and-sort -sat

---

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

---

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


___
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:9e496761: pkg/kamailio/deb: add lsb-base

2017-11-13 Thread Victor Seva
Module: kamailio
Branch: 5.1
Commit: 9e49676173d7f333c9b5c995321a76b23768b8e9
URL: 
https://github.com/kamailio/kamailio/commit/9e49676173d7f333c9b5c995321a76b23768b8e9

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-13T12:12:51+01:00

pkg/kamailio/deb: add lsb-base

fixes lintian error:
> E: kamailio: init.d-script-needs-depends-on-lsb-base etc/init.d/kamailio

(cherry picked from commit 574ad1fc96fa207a5a30fba66977d27e50ea1da1)

---

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

---

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

---

diff --git a/pkg/kamailio/deb/buster/control b/pkg/kamailio/deb/buster/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/buster/control
+++ b/pkg/kamailio/deb/buster/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index f24cd9bfcb..72177f1672 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -66,6 +66,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 0bc38c66f0..5eb4506b58 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index 8c1aa99547..e0c5ab5920 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index ede501c9eb..5a7f711d35 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 5d9096a857..e55c0b87e8 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -62,6 +62,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 8c1aa99547..e0c5ab5920 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index 8f9b0a0cdc..5c908b6362 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -65,6 +65,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},


___
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:f9a90846: pkg/kamailio/deb: wrap-and-sort -sat

2017-11-13 Thread Victor Seva
Module: kamailio
Branch: 5.1
Commit: f9a908461731852befc067ef579b5f2f9439e8ed
URL: 
https://github.com/kamailio/kamailio/commit/f9a908461731852befc067ef579b5f2f9439e8ed

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-13T12:12:34+01:00

pkg/kamailio/deb: wrap-and-sort -sat

(cherry picked from commit 2dd971a970dbec87713177b52a32a667ebfa802c)

---

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

---

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


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


[sr-dev] git:4.4:6ff438d2: pkg/kamailio/deb: add lsb-base [skip ci]

2017-11-24 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 6ff438d29abf1dbbacc071c995456bd91ee93bf3
URL: 
https://github.com/kamailio/kamailio/commit/6ff438d29abf1dbbacc071c995456bd91ee93bf3

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-24T10:01:48+01:00

pkg/kamailio/deb: add lsb-base [skip ci]

fixes lintian error:
> E: kamailio: init.d-script-needs-depends-on-lsb-base etc/init.d/kamailio

(cherry picked from commit 574ad1fc96fa207a5a30fba66977d27e50ea1da1)
(cherry picked from commit 253e7884b67349c5042ff721161d974adc8e9bc4)

---

Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/jessie/control
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/squeeze/control
Modified: pkg/kamailio/deb/stretch/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/xenial/control

---

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

---

diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index aad8454efb..d03fb7b8f7 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -66,6 +66,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 78140a5be2..72f8280055 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index c14f5f38ec..ad956b19e6 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -61,6 +61,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index f500a50ffc..78e68197c5 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/control
index 3b2e6d7a2e..5000fadd9d 100644
--- a/pkg/kamailio/deb/squeeze/control
+++ b/pkg/kamailio/deb/squeeze/control
@@ -54,6 +54,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index f500a50ffc..78e68197c5 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index c444350189..278464023d 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -63,6 +63,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 7d77b3da16..3cf91a7a8d 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index dd03c6c3ca..dc312d65e9 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -65,6 +65,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},


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


[sr-dev] git:4.4:212b33ea: pkg/kamailio/deb: kamailio-nth add less as default [skip ci]

2017-11-24 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 212b33ea0a7c1494cfdca7c06d8425376914cbe9
URL: 
https://github.com/kamailio/kamailio/commit/212b33ea0a7c1494cfdca7c06d8425376914cbe9

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-24T10:01:48+01:00

pkg/kamailio/deb: kamailio-nth add less as default [skip ci]

* most is not available on all distributions

(cherry picked from commit c4e5d9bf4438561fe8a87361b462eff38dc88d93)
(cherry picked from commit 974a7d54052f4009376d451dcdad7620206cb1ca)

---

Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/jessie/control
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/squeeze/control
Modified: pkg/kamailio/deb/stretch/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/xenial/control

---

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

---

diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index d03fb7b8f7..3bf11e1bc0 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -752,9 +752,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 72f8280055..eaa3e17f96 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -750,9 +750,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index ad956b19e6..8f753a5fe6 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -699,9 +699,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index 78e68197c5..ac96ff2f42 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -734,9 +734,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/control
index 5000fadd9d..3a5ff22fbc 100644
--- a/pkg/kamailio/deb/squeeze/control
+++ b/pkg/kamailio/deb/squeeze/control
@@ -579,9 +579,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index 78e68197c5..ac96ff2f42 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -734,9 +734,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 278464023d..cbbf16e5b8 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -749,9 +749,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 3cf91a7a8d..a5aa33c3c7 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -681,9 +681,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index dc312d65e9..fba230d851 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -751,9 +751,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,


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


[sr-dev] git:4.4:fb66e911: pkg/kamailio/deb: remove lintian errors for old distributions [skip ci]

2017-11-24 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: fb66e911b17f5c4e378c4c8c2dd9a776d7d259b4
URL: 
https://github.com/kamailio/kamailio/commit/fb66e911b17f5c4e378c4c8c2dd9a776d7d259b4

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-24T10:01:15+01:00

pkg/kamailio/deb: remove lintian errors for old distributions [skip ci]

* we are using a newer version of lintian, so new errors are detected

(cherry picked from commit a56d67d3b7e0d4f5014f91b6b413c5861afc3560)

---

Added: pkg/kamailio/deb/jessie/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/precise/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/squeeze/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/trusty/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/wheezy/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/xenial/kamailio-mysql-modules.lintian-overrides
Modified: pkg/kamailio/deb/debian/backports/jessie
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/squeeze
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/debian/backports/xenial
Modified: pkg/kamailio/deb/jessie/source.lintian-overrides
Modified: pkg/kamailio/deb/precise/source.lintian-overrides
Modified: pkg/kamailio/deb/squeeze/source.lintian-overrides
Modified: pkg/kamailio/deb/trusty/source.lintian-overrides
Modified: pkg/kamailio/deb/wheezy/source.lintian-overrides
Modified: pkg/kamailio/deb/xenial/source.lintian-overrides

---

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


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


[sr-dev] git:4.4:50414379: pkg/kamailio/deb: wrap-and-sort -sat [skip ci]

2017-11-24 Thread Victor Seva
Module: kamailio
Branch: 4.4
Commit: 50414379518b38b1b7210d19f7d8ad1e7ba65d4c
URL: 
https://github.com/kamailio/kamailio/commit/50414379518b38b1b7210d19f7d8ad1e7ba65d4c

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-24T10:00:55+01:00

pkg/kamailio/deb: wrap-and-sort -sat [skip ci]

---

Modified: pkg/kamailio/deb/debian/control
Modified: pkg/kamailio/deb/jessie/control
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/sid/control
Modified: pkg/kamailio/deb/squeeze/control
Modified: pkg/kamailio/deb/stretch/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/xenial/control

---

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


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


[sr-dev] git:5.0:be39fa8a: pkg/kamailio/deb: remove lintian errors for old distributions

2017-11-22 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: be39fa8abb6f4f0b30c75da1150ec6a188be55d0
URL: 
https://github.com/kamailio/kamailio/commit/be39fa8abb6f4f0b30c75da1150ec6a188be55d0

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-22T12:24:34+01:00

pkg/kamailio/deb: remove lintian errors for old distributions

* we are using a newer version of lintian, so new errors are detected

(cherry picked from commit a56d67d3b7e0d4f5014f91b6b413c5861afc3560)
(cherry picked from commit fc3842545afee3c62005f9845600b75b8c48bba9)

---

Added: pkg/kamailio/deb/jessie/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/precise/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/trusty/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/wheezy/kamailio-mysql-modules.lintian-overrides
Added: pkg/kamailio/deb/xenial/kamailio-mysql-modules.lintian-overrides
Modified: pkg/kamailio/deb/debian/backports/jessie
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/debian/backports/xenial
Modified: pkg/kamailio/deb/jessie/source.lintian-overrides
Modified: pkg/kamailio/deb/precise/source.lintian-overrides
Modified: pkg/kamailio/deb/trusty/source.lintian-overrides
Modified: pkg/kamailio/deb/wheezy/source.lintian-overrides
Modified: pkg/kamailio/deb/xenial/source.lintian-overrides

---

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


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


[sr-dev] git:5.0:796003bb: pkg/kamailio/deb: wrap-and-sort -sat [skip ci]

2017-11-22 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 796003bbe4578ae85edb26047f7f5d9ddd6f24a9
URL: 
https://github.com/kamailio/kamailio/commit/796003bbe4578ae85edb26047f7f5d9ddd6f24a9

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-23T08:46:27+01:00

pkg/kamailio/deb: wrap-and-sort -sat [skip ci]

---

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

---

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


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


[sr-dev] git:5.0:974a7d54: pkg/kamailio/deb: kamailio-nth add less as default [skip ci]

2017-11-22 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 974a7d54052f4009376d451dcdad7620206cb1ca
URL: 
https://github.com/kamailio/kamailio/commit/974a7d54052f4009376d451dcdad7620206cb1ca

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-23T08:46:49+01:00

pkg/kamailio/deb: kamailio-nth add less as default [skip ci]

* most is not available on all distributions

(cherry picked from commit c4e5d9bf4438561fe8a87361b462eff38dc88d93)

---

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

---

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

---

diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 0928750577..dc2bb283cd 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -789,9 +789,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 0869281ea9..98fd92382a 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -787,9 +787,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index f8b476f21a..82000864d7 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -700,9 +700,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index a560dd2097..e396ab32e0 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -771,9 +771,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index a560dd2097..e396ab32e0 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -771,9 +771,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 7e4e3ae12c..1f95baf7e7 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -768,9 +768,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index f8b476f21a..82000864d7 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -700,9 +700,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index a551d1640e..e51d873825 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -788,9 +788,9 @@ Depends:
  gcc,
  gdb,
  iftop,
+ less | most,
  lsof,
  mc,
- most,
  ngrep,
  psmisc,
  screen,


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


[sr-dev] git:5.0:253e7884: pkg/kamailio/deb: add lsb-base [skip ci]

2017-11-22 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 253e7884b67349c5042ff721161d974adc8e9bc4
URL: 
https://github.com/kamailio/kamailio/commit/253e7884b67349c5042ff721161d974adc8e9bc4

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-23T08:46:39+01:00

pkg/kamailio/deb: add lsb-base [skip ci]

fixes lintian error:
> E: kamailio: init.d-script-needs-depends-on-lsb-base etc/init.d/kamailio

(cherry picked from commit 574ad1fc96fa207a5a30fba66977d27e50ea1da1)

---

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

---

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

---

diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index fc5bb0d96a..0928750577 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -66,6 +66,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control
index 79708a8d93..0869281ea9 100644
--- a/pkg/kamailio/deb/jessie/control
+++ b/pkg/kamailio/deb/jessie/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/precise/control b/pkg/kamailio/deb/precise/control
index c65ba6a196..f8b476f21a 100644
--- a/pkg/kamailio/deb/precise/control
+++ b/pkg/kamailio/deb/precise/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control
index ec5b823d8d..a560dd2097 100644
--- a/pkg/kamailio/deb/sid/control
+++ b/pkg/kamailio/deb/sid/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control
index ec5b823d8d..a560dd2097 100644
--- a/pkg/kamailio/deb/stretch/control
+++ b/pkg/kamailio/deb/stretch/control
@@ -64,6 +64,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index c701a61550..7e4e3ae12c 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -62,6 +62,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index c65ba6a196..f8b476f21a 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -60,6 +60,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},
diff --git a/pkg/kamailio/deb/xenial/control b/pkg/kamailio/deb/xenial/control
index 052851f108..a551d1640e 100644
--- a/pkg/kamailio/deb/xenial/control
+++ b/pkg/kamailio/deb/xenial/control
@@ -65,6 +65,7 @@ Pre-Depends:
  ${misc:Pre-Depends},
 Depends:
  adduser,
+ lsb-base,
  python,
  ${misc:Depends},
  ${shlibs:Depends},


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


Re: [sr-dev] [kamailio/kamailio] evapi: add module parameter to enable keepalive (#1290)

2017-11-29 Thread Victor Seva
Can I backport 95bd694e75c250d8b26cac071bff2e48e0eb9062 
bb91d6c4fa88324c31d3b7a91687057e0ae8bfa0 
d340582267174ccb0a5d816049c582fe75d2177b to 5.0?

-- 
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/1290#issuecomment-347843552___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.0:5f26a4e8: evapi: enable tcp keepalive on client connections

2017-11-29 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: 5f26a4e8c55cdf5a5a7eaf6864c4f5213d321293
URL: 
https://github.com/kamailio/kamailio/commit/5f26a4e8c55cdf5a5a7eaf6864c4f5213d321293

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-29T13:53:10+01:00

evapi: enable tcp keepalive on client connections

(cherry picked from commit d340582267174ccb0a5d816049c582fe75d2177b)

---

Modified: src/modules/evapi/evapi_dispatch.c

---

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

---

diff --git a/src/modules/evapi/evapi_dispatch.c 
b/src/modules/evapi/evapi_dispatch.c
index 3aa5288c7f..9fcde59f39 100644
--- a/src/modules/evapi/evapi_dispatch.c
+++ b/src/modules/evapi/evapi_dispatch.c
@@ -450,6 +450,8 @@ void evapi_accept_client(struct ev_loop *loop, struct ev_io 
*watcher, int revent
struct ev_io *evapi_client;
int i;
evapi_env_t evenv;
+   int optval;
+   socklen_t optlen;
 
evapi_client = (struct ev_io*) malloc (sizeof(struct ev_io));
if(evapi_client==NULL) {
@@ -496,6 +498,12 @@ void evapi_accept_client(struct ev_loop *loop, struct 
ev_io *watcher, int revent
return;
}
}
+   optval = 1;
+   optlen = sizeof(optval);
+   if(setsockopt(csock, SOL_SOCKET, SO_KEEPALIVE,
+   , optlen) < 0) {
+   LM_WARN("failed to enable keepalive on socket 
%d\n", csock);
+   }
_evapi_clients[i].connected = 1;
_evapi_clients[i].sock = csock;
_evapi_clients[i].af = caddr.sa_family;


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


[sr-dev] git:5.0:c7dc3f9d: evapi: do close() on client socket if libev detects it is gone

2017-11-29 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: c7dc3f9dbd691323bb65c549c6578adfb03392c6
URL: 
https://github.com/kamailio/kamailio/commit/c7dc3f9dbd691323bb65c549c6578adfb03392c6

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-29T13:53:10+01:00

evapi: do close() on client socket if libev detects it is gone

- handle socket values for valid range >=0

(cherry picked from commit bb91d6c4fa88324c31d3b7a91687057e0ae8bfa0)

---

Modified: src/modules/evapi/evapi_dispatch.c

---

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

---

diff --git a/src/modules/evapi/evapi_dispatch.c 
b/src/modules/evapi/evapi_dispatch.c
index 47fc6a0052..3aa5288c7f 100644
--- a/src/modules/evapi/evapi_dispatch.c
+++ b/src/modules/evapi/evapi_dispatch.c
@@ -154,10 +154,10 @@ int evapi_close_connection(int cidx)
if(cidx<0 || cidx>=EVAPI_MAX_CLIENTS)
return -1;
if(_evapi_clients[cidx].connected==1
-   && _evapi_clients[cidx].sock > 0) {
+   && _evapi_clients[cidx].sock >= 0) {
close(_evapi_clients[cidx].sock);
_evapi_clients[cidx].connected = 0;
-   _evapi_clients[cidx].sock = 0;
+   _evapi_clients[cidx].sock = -1;
return 0;
}
return -2;
@@ -196,7 +196,7 @@ int evapi_set_tag(sip_msg_t* msg, str* stag)
return -1;
 
if(!(_evapi_clients[evenv->conidx].connected==1
-   && _evapi_clients[evenv->conidx].sock > 0)) {
+   && _evapi_clients[evenv->conidx].sock >= 0)) {
LM_ERR("connection not established\n");
return -1;
}
@@ -221,7 +221,8 @@ int evapi_init_notify_sockets(void)
LM_ERR("opening notify stream socket pair\n");
return -1;
}
-   LM_DBG("inter-process event notification sockets initialized\n");
+   LM_DBG("inter-process event notification sockets initialized: %d ~ 
%d\n",
+   _evapi_notify_sockets[0], _evapi_notify_sockets[1]);
return 0;
 }
 
@@ -256,7 +257,7 @@ int evapi_dispatch_notify(evapi_msg_t *emsg)
 
n = 0;
for(i=0; i<EVAPI_MAX_CLIENTS; i++) {
-   if(_evapi_clients[i].connected==1 && _evapi_clients[i].sock>0) {
+   if(_evapi_clients[i].connected==1 && _evapi_clients[i].sock>=0) 
{
if(emsg->tag.s==NULL || (emsg->tag.len = 
_evapi_clients[i].stag.len
&& 
strncmp(_evapi_clients[i].stag.s,

emsg->tag.s, emsg->tag.len)==0)) {
@@ -329,7 +330,10 @@ void evapi_recv_client(struct ev_loop *loop, struct ev_io 
*watcher, int revents)
evenv.conidx = i;
evapi_run_cfg_route(, _evapi_rts.con_closed);
_evapi_clients[i].connected = 0;
-   _evapi_clients[i].sock = 0;
+   if(_evapi_clients[i].sock>=0) {
+   close(_evapi_clients[i].sock);
+   }
+   _evapi_clients[i].sock = -1;
_evapi_clients[i].rpos = 0;
ev_io_stop(loop, watcher);
free(watcher);
@@ -565,11 +569,14 @@ int evapi_run_dispatcher(char *laddr, int lport)
struct ev_io io_notify;
int yes_true = 1;
int fflags = 0;
+   int i;
 
LM_DBG("starting dispatcher processing\n");
 
memset(_evapi_clients, 0, sizeof(evapi_client_t) * EVAPI_MAX_CLIENTS);
-
+   for(i=0; i<EVAPI_MAX_CLIENTS; i++) {
+   _evapi_clients[i].sock = -1;
+   }
loop = ev_default_loop(0);
 
if(loop==NULL) {
@@ -843,7 +850,7 @@ int pv_get_evapi(sip_msg_t *msg, pv_param_t *param, 
pv_value_t *res)
return pv_get_null(msg, param, res);
 
if(_evapi_clients[evenv->conidx].connected==0
-   && _evapi_clients[evenv->conidx].sock <= 0)
+   && _evapi_clients[evenv->conidx].sock < 0)
return pv_get_null(msg, param, res);
 
switch(param->pvn.u.isname.name.n)


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


[sr-dev] git:5.0:b543496e: evapi: dispatcher worker to send event data directly

2017-11-29 Thread Victor Seva
Module: kamailio
Branch: 5.0
Commit: b543496e9e33639684e88fc28fda7cca61ada239
URL: 
https://github.com/kamailio/kamailio/commit/b543496e9e33639684e88fc28fda7cca61ada239

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2017-11-29T13:53:01+01:00

evapi: dispatcher worker to send event data directly

- instead of trying to send over internal socket, which is open only for
  reading in this process

(cherry picked from commit 95bd694e75c250d8b26cac071bff2e48e0eb9062)

---

Modified: src/modules/evapi/evapi_dispatch.c
Modified: src/modules/evapi/evapi_mod.c

---

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

---

diff --git a/src/modules/evapi/evapi_dispatch.c 
b/src/modules/evapi/evapi_dispatch.c
index f4d6ae3375..47fc6a0052 100644
--- a/src/modules/evapi/evapi_dispatch.c
+++ b/src/modules/evapi/evapi_dispatch.c
@@ -44,6 +44,8 @@
 static int _evapi_notify_sockets[2];
 static int _evapi_netstring_format = 1;
 
+extern int _evapi_dispatcher_pid;
+
 #define EVAPI_IPADDR_SIZE  64
 #define EVAPI_TAG_SIZE 64
 #define CLIENT_BUFFER_SIZE 32768
@@ -230,6 +232,7 @@ void evapi_close_notify_sockets_child(void)
 {
LM_DBG("closing the notification socket used by children\n");
close(_evapi_notify_sockets[1]);
+   _evapi_notify_sockets[1] = -1;
 }
 
 /**
@@ -239,6 +242,7 @@ void evapi_close_notify_sockets_parent(void)
 {
LM_DBG("closing the notification socket used by parent\n");
close(_evapi_notify_sockets[0]);
+   _evapi_notify_sockets[0] = -1;
 }
 
 /**
@@ -701,11 +705,21 @@ int _evapi_relay(str *evdata, str *ctag, int unicast)
emsg->unicast = unicast;
}
 
-   LM_DBG("sending [%p] [%.*s] (%d)\n", emsg, emsg->data.len, 
emsg->data.s, emsg->data.len);
-   len = write(_evapi_notify_sockets[1], , sizeof(evapi_msg_t*));
-   if(len<=0) {
-   LM_ERR("failed to pass the pointer to evapi dispatcher\n");
-   return -1;
+   LM_DBG("sending [%p] [%.*s] (%d)\n", emsg, emsg->data.len, emsg->data.s,
+   emsg->data.len);
+   if(_evapi_notify_sockets[1]!=-1) {
+   len = write(_evapi_notify_sockets[1], , 
sizeof(evapi_msg_t*));
+   if(len<=0) {
+   shm_free(emsg);
+   LM_ERR("failed to pass the pointer to evapi 
dispatcher\n");
+   return -1;
+   }
+   } else {
+   cfg_update();
+   LM_DBG("dispatching [%p] [%.*s] (%d)\n", emsg,
+   emsg->data.len, emsg->data.s, emsg->data.len);
+   evapi_dispatch_notify(emsg);
+   shm_free(emsg);
}
return 0;
 }
diff --git a/src/modules/evapi/evapi_mod.c b/src/modules/evapi/evapi_mod.c
index e9a8163948..e9f2da98af 100644
--- a/src/modules/evapi/evapi_mod.c
+++ b/src/modules/evapi/evapi_mod.c
@@ -50,8 +50,9 @@ static int   _evapi_bind_port = 8448;
 static char *_evapi_bind_param = NULL;
 static int   _evapi_netstring_format_param = 1;
 
+int _evapi_dispatcher_pid = -1;
+
 static tm_api_t tmb;
-static int   _evapi_dispatcher_pid = -1;
 
 static int  mod_init(void);
 static int  child_init(int);


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


  1   2   3   4   5   6   7   8   9   10   >