Re: [sr-dev] [SR-Users] Performance tests of native vs. kemi scripting for SIP routing

2018-12-11 Thread Samuel F .
Thanks Daniel, very interesting!

We are running four production instances with Kemi Python v2 and will launch 
two more instances starting next month on Python v3.

So far Python v2 has worked flawlessly!

As a side note, would be great to have a official recommended language for KEMI 
so other devs can share modules/codes/tutorials etc.. having too many 
languages, in my opinion, reduces the benefit a community can provide.

All the best,

Samuel

From: sr-users  on behalf of 
Daniel-Constantin Mierla 
Sent: Tuesday, December 11, 2018 09:30
To: Kamailio (SER) - Users Mailing List; Kamailio (SER) - Devel Mailing List; 
busin...@lists.kamailio.org
Subject: [SR-Users] Performance tests of native vs. kemi scripting for SIP 
routing

Hello,

during the preparations of Kamailio v5.2.0 and the days after, I got the
time to run some tests in order to see the differences of running
similar SIP routing logic when using native configuration file scripting
versus KEMI languages. So far I did it for Lua and Python (v2),
hopefully I will find time to run also for the rest of supported
scripting languages: Python (v3), JavaScript, Ruby, Squrrel and Lua with
LuaJIT.

The pleasant surprise was to see that this time, the results of using
Python were similar to native scripting and Lua. When I did some basic
tests during development of KEMI, using Python seemed slower.

More details about how tests were performed, the config files/scripts,
used tools and results were published in a wiki page:

  - 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fwiki%2Fkemi%2Fperformance-tests%2F5.2.x&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=GdUdX%2BjUgpJydYvBxP%2BChGbzD4qCJK%2BWJ7fFPNEYeOs%3D&reserved=0

A news article with further details is on kamailio website:

  -
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fw%2F2018%2F12%2Fperformance-tests-for-kemi-scripting-languages%2F&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=tYxvflkw9hFnVE%2BLe1wqrvvWQ7Nif0E%2F4NeT4hAdTSM%3D&reserved=0

Should anyhow of you have some time to run the tests in own environment
and share the results (on sr-users mailing list), it would be
appreciated and would help to validate the tests and discover if I
forgot something in any of the configs. Note that the goal of the tests
is not measuring the capacity of Kamailio in your environment, but see
the differences between using different scripting languages in the same
environment (so you can do the tests on raspberry pi, if you like).

I would also be interested in knowing if you are using Kamailio with
KEMI or you are planning to, if yes, which scripting language. If
already doing it, is already in production? These are useful to plan
where to allocate developer resources in the future...

And to start, I am running Kamailio with Lua (4 instances) and Python
(1) scripting in production deployments, with very good results so far.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- 
https://nam04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=vn1TxHaSsjR3gbvq5Gpw53%2BvJigcdrefxvEy163La8g%3D&reserved=0
https://nam04.safelinks.protection.outlook.com/?url=www.twitter.com%2Fmiconda&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=30E7Ww%2BigG3Rzbwi4j%2BIqjF4TpUqfnYYMspLhPQAvP0%3D&reserved=0
 -- 
https://nam04.safelinks.protection.outlook.com/?url=www.linkedin.com%2Fin%2Fmiconda&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=XEjKBjIq9eANmHr8KeEQXlB1HLR8Tn%2BVwoNtkMz2G%2Fg%3D&reserved=0
Kamailio World Conference - May 6-8, 2019 -- 
https://nam04.safelinks.protection.outlook.com/?url=www.kamailioworld.com&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=k5%2BSGddS3uWGMX7%2Fnyt13EBNrFcqqRYU%2FggS0EapwEw%3D&reserved=0
Kamailio Advanced Training -- 
https://nam04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=vn1TxHaSsjR3gbvq5Gpw53%2BvJigcdrefxvEy163La8g%3D&reserved=0


___
Kamailio (SER) - Users Mailing List
sr-us...@lists.kamailio.org
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=VuoEwq7PaEC3BYsGPgaRuXiLvJ%2B%2FTGi790ht1E9wvdY%3D&reserved=0

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-11 Thread sergey-safarov
PR is squashed and locally tested.
Now ready to merge.

-- 
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/1756#issuecomment-446461396___
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] mqueue: new RPC command mqueue.fetch (#1760)

2018-12-11 Thread Julien Chavanton
yes, it is equivalent of scripting command `mq_fetch(queue)`


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


[sr-dev] [kamailio/kamailio] http_client: http_connect_raw (#1763)

2018-12-11 Thread Julien Chavanton
similar to http_connect for http/post, however the data parameter is not PV 
parsed
this way json and any other content can be used without any escaping





 Pre-Submission Checklist



- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, 
...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:

- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
I have ran into the issue, where a dollar sign was present in the data  : 

https://lists.kamailio.org/pipermail/sr-dev/2009-March/000898.html
```
Try to replace $ with $$ inside the $var(data), something like:

$var(m) = "$";
$var(r) = "$$";
$var(newdata) = $(var(data){s.replace,$var(m),$var(r)});
```
This fix is working, but I thought others could fell into this pitfall and have 
builtin way to send raw data over http could be best.

By adding a module command to send `http_connect_raw()`

I wonder if this should be called something else ...
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * http_client: http_connect_raw

-- File Changes --

M src/modules/http_client/doc/http_client_admin.xml (63)
M src/modules/http_client/http_client.c (99)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1763.patch
https://github.com/kamailio/kamailio/pull/1763.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/1763
___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread sergey-safarov
To @miconda 
> Doesn't Fedora or CentOS have pkg-config for ruby devel lib?

I have tested pkconfig for ruby:
1) CendOS7 - `-lruby -lpthread -lrt -ldl -lcrypt -lm`;
2) Fedora 27 - `-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 
-lruby -lpthread -ldl -lcrypt -lm`;
3) Fedora 28- `-Wl,-z,relro -Wl,-z,now 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -lruby -lpthread -ldl 
-lcrypt -lm`
4) Fedora 29 - `-Wl,-z,relro -Wl,-z,now 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -lruby`
5) OpenSUSE tumbleweed - `ruby.pc` not exist. Installed ruby-2.5.0 
`/usr/include/ruby-2.5.0/ruby.h`
6) OpenSUSE tumbleweed - `ruby.pc` not exist. Installed ruby-2.1.0 
`/usr/include/ruby-2.1.0/ruby.h`

@linuxmaniac , i will wait Daniel and your feedback about pckconfig usage for 
this module.

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


[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » i386,precise,slave #1258

2018-12-11 Thread kamailio
See 



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


[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » i386,trusty,slave #1258

2018-12-11 Thread kamailio
See 



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


[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » amd64,wheezy,slave #1258

2018-12-11 Thread kamailio
See 



___
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] Module: security to prevent different types of attacks (#1755)

2018-12-11 Thread Daniel-Constantin Mierla
I would also like to suggest to replace that `1024` in the code with a define, 
it makes it easier to change if proves to be a small number.

Then the functions exported to the config should be also prefixed with `sec_` 
or `secf_` (e.g., secf_check_ua(...)) -- in the past few years, the functions 
exported by modules to config use a common prefix to be suggestive where they 
belong to. 

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


[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » amd64,trusty,slave #1258

2018-12-11 Thread kamailio
See 



___
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/obs: Fixed warning about not existen kamailio group (#1756)

2018-12-11 Thread Daniel-Constantin Mierla
The diff of the PR looks ok, so can be squashed and committed from my point of 
view.

-- 
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/1756#issuecomment-446279140___
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] mqueue: new RPC command mqueue.fetch (#1760)

2018-12-11 Thread Daniel-Constantin Mierla
Actually looks ok, with the first look somehow I missed the use of 
mq_head_fetch() in the rpc command c 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/pull/1760#issuecomment-446276710___
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] mqueue: new RPC command mqueue.fetch (#1760)

2018-12-11 Thread Daniel-Constantin Mierla
Is this fetching from the queue -- get the first item and remove it from queue? 
Looks like only getting the item (key, value).

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


[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » i386,wheezy,slave #1258

2018-12-11 Thread kamailio
See 



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


[sr-dev] git:5.2:69324086: pkg/kamailio/deb: remove ruby support for trusty [skip ci]

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: 5.2
Commit: 693240860b293bbc3e6b35a594ca24378edc9014
URL: 
https://github.com/kamailio/kamailio/commit/693240860b293bbc3e6b35a594ca24378edc9014

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T17:40:05+01:00

pkg/kamailio/deb: remove ruby support for trusty [skip ci]

(cherry picked from commit dae529cc39671b0b406fec5b088cdb4e0abcfcf7)

---

Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/trusty/rules

---

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

---

diff --git a/pkg/kamailio/deb/debian/backports/trusty 
b/pkg/kamailio/deb/debian/backports/trusty
index 5ec40afa14..a991ea7f4a 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -56,6 +56,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: 
kamailio-mongodb-modules/,/^$/d' \
 sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
 
+# no pkg-config for ruby-dev
+sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
+   ${DIST}/control
+sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 7fecc384b5..0ae8caa993 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -46,7 +46,6 @@ Build-Depends:
  pkg-config,
  python,
  python-dev,
- ruby-dev,
  unixodbc-dev,
  uuid-dev,
  xsltproc,
@@ -253,23 +252,6 @@ Description: The app_python module for the Kamailio SIP 
server
  This package provides the app_python module, an extension allowing to
  execute embedded Python applications within the Kamailio SIP routing script.
 
-Package: kamailio-ruby-modules
-Architecture: linux-any
-Multi-Arch: same
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- kamailio (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends},
-Description: The app_ruby module for Kamailio Ruby support
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides the app_ruby module, an extension allowing to
- execute embedded Ruby applications within the Kamailio SIP routing script.
-
 Package: kamailio-redis-modules
 Architecture: linux-any
 Multi-Arch: same
diff --git a/pkg/kamailio/deb/trusty/rules b/pkg/kamailio/deb/trusty/rules
index 54b895be7c..77c00e2797 100755
--- a/pkg/kamailio/deb/trusty/rules
+++ b/pkg/kamailio/deb/trusty/rules
@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module 
package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb ruby
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
@@ -36,7 +36,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy 
mi_xmlrpc systemd geoip2
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
   ldap xml perl utils lua memcached \
   snmpstats carrierroute xmpp cpl redis python geoip \
-  sqlite json mono ruby ims sctp java \
+  sqlite json mono ims sctp java \
   tls outbound websocket autheph dnssec kazoo cnxcc \
   erlang rabbitmq
 


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


[sr-dev] git:5.2:0d51eb3c: pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: 5.2
Commit: 0d51eb3c3127cc3f290659fb4265397cfb83380f
URL: 
https://github.com/kamailio/kamailio/commit/0d51eb3c3127cc3f290659fb4265397cfb83380f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T17:39:50+01:00

pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]

* no pkg-config provided

(cherry picked from commit 127b32801f3f25baa5684b4acd540bb48423c8e5)

---

Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/precise/rules
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/wheezy/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/0d51eb3c3127cc3f290659fb4265397cfb83380f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0d51eb3c3127cc3f290659fb4265397cfb83380f.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.2:8bece540: pkg/kamailio/deb: add kamailio-ruby-modules [skip ci]

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: 5.2
Commit: 8bece540f0859bb33f88bc8aa8414e6a9676d783
URL: 
https://github.com/kamailio/kamailio/commit/8bece540f0859bb33f88bc8aa8414e6a9676d783

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T12:36:38+01:00

pkg/kamailio/deb: add kamailio-ruby-modules [skip ci]

(cherry picked from commit 4698e97cd3985d3a7f51c709decb546e62b036c5)

---

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

---

Diff:  
https://github.com/kamailio/kamailio/commit/8bece540f0859bb33f88bc8aa8414e6a9676d783.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8bece540f0859bb33f88bc8aa8414e6a9676d783.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] pkg/kamailio/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread Victor Seva
@sergey-safarov can you please add ``[skip ci]`` to any commit message of 
pkg/kamailio/obs changes?
anything related to pkg doesn't need to be build by travis-ci

-- 
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/1762#issuecomment-446272386___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread Daniel-Constantin Mierla
@sergey-safarov - that list of libs was taken from the output of `pkg-config 
--libs`. I do not recall for which version of lib ruby devel, but eventually 
that piece from Makefile is not used because we should rely on pkg-config.

Doesn't Fedora or CentOS have pkg-config for ruby devel lib?

-- 
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/1762#issuecomment-446272365___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread sergey-safarov
sergey-safarov commented on this pull request.



> @@ -30,7 +30,7 @@ ifneq (,$(findstring darwin,$(OS)))
LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
 else
DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
-   LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl -lobjc

Ok will do.

-- 
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/1762#discussion_r240688659___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread Victor Seva
linuxmaniac commented on this pull request.



> @@ -30,7 +30,7 @@ ifneq (,$(findstring darwin,$(OS)))
LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
 else
DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
-   LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl -lobjc

I don't know if is needed or not, I'm saying the changes need to be split. You 
are changing the app_ruby, those changes need to be in another commit with the 
proper commit message prefix 

-- 
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/1762#discussion_r240687591___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread sergey-safarov
sergey-safarov commented on this pull request.



> @@ -30,7 +30,7 @@ ifneq (,$(findstring darwin,$(OS)))
LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
 else
DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
-   LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl -lobjc

Yes Victor @linuxmaniac,
I made this because `objc` lib cannot find. I have created PR on Fedora29 
environment. Think same error exist on CentOS.
I can see Travis-CI also build kamailio properly compiled without this options.
Is option really required?
What we can do to fix error with this options on RPM based dists?

-- 
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/1762#discussion_r240684499___
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/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread Victor Seva
linuxmaniac requested changes on this pull request.



> @@ -30,7 +30,7 @@ ifneq (,$(findstring darwin,$(OS)))
LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
 else
DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
-   LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl -lobjc

@sergey-safarov you are changing the module here!!

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


Re: [sr-dev] [SR-Users] Performance tests of native vs. kemi scripting for SIP routing

2018-12-11 Thread Daniel-Constantin Mierla
Thanks for the feedback!


Regarding an official recommended kemi language, I think it would rather
hard to do it, because it can be an opinionated choice for each developer.


I am more or less going for Lua if it's only about me. It is a small
interpreter, with a fair large set of extensions and good docs/community
out there.


However, many companies I work with have Python dev teams, rather than
Lua. So if they want Python, I help them to build the SIP routing logic
in it. But again, it is not a language I use often myself. Of course,
the ecosystem around Python is enormous comparing with Lua (community,
docs, extensions, ...).


Ruby was requested at last Kamailio World Conference edition and proved
to be easy to write the module for it, so I did it. It is the one I
tested the least so far.


JavaScript was added because embedding the JS duktape interpreter is
more or less like embedding Lua (same approach and similar api -- kind
of only different data type names and function names). However, this I
did it because I wanted to have an established scripting language (so
people can learn easily the syntax and the basics of the language)
without depending on external libs. That's why ducktape JS interpreter
code in imported in app_jsdt module (they recommend this way anyhow).
This is like a fist choice when one just need script reload without restart.


Squirrel support was added more for didactic purposes, it has the same
embedding API like Lua (and ducktape). Being small, can be used as a
module to learn how to develop another KEMI interpreter module. It can
be also an option for using with embedded devices, the code for its
interpreter (which is also imported in kamailio module app_sqlang) is
really small comparing with duktape. But then, JavaScript is a more
complex and complete language.


The fact is that apart of KSR.x and KSR.pv sub-modules, all the
functions/sub-modules exported by KSR are exactly the same in any of
these KEMI scripting languages -- read it like it is the exact same c
code running behind these functions, no matter which kemi scripting
language you use.


Cheers,
Daniel

 

On 11.12.18 16:09, Samuel F. wrote:
> Thanks Daniel, very interesting!
>
> We are running four production instances with Kemi Python v2 and will
> launch two more instances starting next month on Python v3.
>
> So far Python v2 has worked flawlessly!
>
> As a side note, would be great to have a official recommended language
> for KEMI so other devs can share modules/codes/tutorials etc.. having
> too many languages, in my opinion, reduces the benefit a community can
> provide.
>
> All the best,
>
> Samuel
> 
> *From:* sr-users  on behalf of
> Daniel-Constantin Mierla 
> *Sent:* Tuesday, December 11, 2018 09:30
> *To:* Kamailio (SER) - Users Mailing List; Kamailio (SER) - Devel
> Mailing List; busin...@lists.kamailio.org
> *Subject:* [SR-Users] Performance tests of native vs. kemi scripting
> for SIP routing
>  
> Hello,
>
> during the preparations of Kamailio v5.2.0 and the days after, I got the
> time to run some tests in order to see the differences of running
> similar SIP routing logic when using native configuration file scripting
> versus KEMI languages. So far I did it for Lua and Python (v2),
> hopefully I will find time to run also for the rest of supported
> scripting languages: Python (v3), JavaScript, Ruby, Squrrel and Lua with
> LuaJIT.
>
> The pleasant surprise was to see that this time, the results of using
> Python were similar to native scripting and Lua. When I did some basic
> tests during development of KEMI, using Python seemed slower.
>
> More details about how tests were performed, the config files/scripts,
> used tools and results were published in a wiki page:
>
>   -
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fwiki%2Fkemi%2Fperformance-tests%2F5.2.x&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=GdUdX%2BjUgpJydYvBxP%2BChGbzD4qCJK%2BWJ7fFPNEYeOs%3D&reserved=0
>
> A news article with further details is on kamailio website:
>
>   -
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fw%2F2018%2F12%2Fperformance-tests-for-kemi-scripting-languages%2F&data=02%7C01%7C%7Ca073cd176b784611f1a908d65f434965%7C84df9e7fe9f640afb435%7C1%7C0%7C636801139925397334&sdata=tYxvflkw9hFnVE%2BLe1wqrvvWQ7Nif0E%2F4NeT4hAdTSM%3D&reserved=0
>
> Should anyhow of you have some time to run the tests in own environment
> and share the results (on sr-users mailing list), it would be
> appreciated and would help to validate the tests and discover if I
> forgot something in any of the configs. Note that the goal of the tests
> is not measuring the capacity of Kamailio in your environment, but see
> the differences between using different scripting languages in the same
> environment (so yo

[sr-dev] Jenkins build is back to normal : kamailiodev-nightly-binaries » amd64,precise,slave #1258

2018-12-11 Thread kamailio
See 



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


[sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Added ruby package #1761 (#1762)

2018-12-11 Thread sergey-safarov
 Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, 
...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #1761

 Description
Ruby module is disabled on CentOS6 and RHEL6 dist
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * pkg/kamailio/obs: Added ruby package #1761

-- File Changes --

M pkg/kamailio/obs/kamailio.spec (38)
M src/modules/app_ruby/Makefile (2)

-- Patch Links --

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


[sr-dev] git:master:dae529cc: pkg/kamailio/deb: remove ruby support for trusty

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: master
Commit: dae529cc39671b0b406fec5b088cdb4e0abcfcf7
URL: 
https://github.com/kamailio/kamailio/commit/dae529cc39671b0b406fec5b088cdb4e0abcfcf7

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T16:41:32+01:00

pkg/kamailio/deb: remove ruby support for trusty

---

Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/trusty/rules

---

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

---

diff --git a/pkg/kamailio/deb/debian/backports/trusty 
b/pkg/kamailio/deb/debian/backports/trusty
index 5ec40afa14..a991ea7f4a 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -56,6 +56,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: 
kamailio-mongodb-modules/,/^$/d' \
 sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
 
+# no pkg-config for ruby-dev
+sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
+   ${DIST}/control
+sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
+
 wrap-and-sort -sat -d ${DIST}
 
 # clean backports scripts
diff --git a/pkg/kamailio/deb/trusty/control b/pkg/kamailio/deb/trusty/control
index 7fecc384b5..0ae8caa993 100644
--- a/pkg/kamailio/deb/trusty/control
+++ b/pkg/kamailio/deb/trusty/control
@@ -46,7 +46,6 @@ Build-Depends:
  pkg-config,
  python,
  python-dev,
- ruby-dev,
  unixodbc-dev,
  uuid-dev,
  xsltproc,
@@ -253,23 +252,6 @@ Description: The app_python module for the Kamailio SIP 
server
  This package provides the app_python module, an extension allowing to
  execute embedded Python applications within the Kamailio SIP routing script.
 
-Package: kamailio-ruby-modules
-Architecture: linux-any
-Multi-Arch: same
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- kamailio (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends},
-Description: The app_ruby module for Kamailio Ruby support
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides the app_ruby module, an extension allowing to
- execute embedded Ruby applications within the Kamailio SIP routing script.
-
 Package: kamailio-redis-modules
 Architecture: linux-any
 Multi-Arch: same
diff --git a/pkg/kamailio/deb/trusty/rules b/pkg/kamailio/deb/trusty/rules
index 54b895be7c..77c00e2797 100755
--- a/pkg/kamailio/deb/trusty/rules
+++ b/pkg/kamailio/deb/trusty/rules
@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module 
package,
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd 
geoip2 phonenum mongodb ruby
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
@@ -36,7 +36,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy 
mi_xmlrpc systemd geoip2
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
   ldap xml perl utils lua memcached \
   snmpstats carrierroute xmpp cpl redis python geoip \
-  sqlite json mono ruby ims sctp java \
+  sqlite json mono ims sctp java \
   tls outbound websocket autheph dnssec kazoo cnxcc \
   erlang rabbitmq
 


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


[sr-dev] git:master:127b3280: pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 127b32801f3f25baa5684b4acd540bb48423c8e5
URL: 
https://github.com/kamailio/kamailio/commit/127b32801f3f25baa5684b4acd540bb48423c8e5

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T16:38:55+01:00

pkg/kamailio/deb: remove ruby support from wheezy and precise [skip ci]

* no pkg-config provided

---

Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/precise/rules
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/wheezy/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/127b32801f3f25baa5684b4acd540bb48423c8e5.diff
Patch: 
https://github.com/kamailio/kamailio/commit/127b32801f3f25baa5684b4acd540bb48423c8e5.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] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread sergey-safarov
> wheezy (ruby1.9.1-dev) and precise(ruby1.8-dev) versions have no pkg-config 
> info
Same error on CentOS6 and RHEL6. I have now disabled this package on this dist.

-- 
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/1761#issuecomment-446244999___
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] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Victor Seva
>From 
>https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i386,distribution=wheezy,label=slave/1257/consoleText
or
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=precise,label=slave/1257/consoleText

```
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_x86_64 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -I/include -DMOD_NAME='"app_ruby"' -c app_ruby_api.c -o 
app_ruby_api.o -MMD -MP
In file included from app_ruby_api.c:37:0:
app_ruby_api.h:26:18: fatal error: ruby.h: No such file or directory
compilation terminated.
make[3]: *** [app_ruby_api.o] Error 1
```
wheezy (ruby1.9.1-dev) and precise(ruby1.8-dev) versions have no pkg-config info

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


[sr-dev] git:master:737a09c2: app_jsdt: support executing kemi functions with (str*, str*, int, int, str*) params

2018-12-11 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 737a09c2afcec9c737475ceae15652f99e60979d
URL: 
https://github.com/kamailio/kamailio/commit/737a09c2afcec9c737475ceae15652f99e60979d

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-12-11T16:27:47+01:00

app_jsdt: support executing kemi functions with (str*, str*, int, int, str*) 
params

---

Modified: src/modules/app_jsdt/app_jsdt_api.c

---

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

---

diff --git a/src/modules/app_jsdt/app_jsdt_api.c 
b/src/modules/app_jsdt/app_jsdt_api.c
index b542355172..907433573b 100644
--- a/src/modules/app_jsdt/app_jsdt_api.c
+++ b/src/modules/app_jsdt/app_jsdt_api.c
@@ -1300,6 +1300,16 @@ int sr_kemi_jsdt_exec_func_ex(duk_context *J, sr_kemi_t 
*ket)
&vps[0].s, &vps[1].s, 
&vps[2].s, &vps[3].s,
&vps[4].s);
return sr_kemi_jsdt_return_int(J, ket, ret);
+   } else if(ket->ptypes[0]==SR_KEMIP_STR
+   && ket->ptypes[1]==SR_KEMIP_STR
+   && ket->ptypes[2]==SR_KEMIP_INT
+   && ket->ptypes[3]==SR_KEMIP_INT
+   && ket->ptypes[4]==SR_KEMIP_STR) {
+   ret = 
((sr_kemi_fmssnns_f)(ket->func))(env_J->msg,
+   &vps[0].s, &vps[1].s, vps[2].n, 
vps[3].n,
+   &vps[4].s);
+   return sr_kemi_jsdt_return_int(J, ket, ret);
+
} else {
LM_ERR("invalid parameters for: %.*s\n",
fname->len, fname->s);


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


[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,precise,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.65 MB...]
/usr/bin/make every-module group_include="kcpl" quiet=verbose
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131331.1272+precise'
/usr/bin/make -C src/ every-module 
config.mak loaded
Makefile.defs defs skipped
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131331.1272+precise/src'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_i386 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_db.c -o cpl_db.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_i386 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_loader.c -o cpl_loader.o -MMD 
-MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_i386 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_log.c -o cpl_log.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' 
-DOS_QUOTED='

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,trusty,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.65 MB...]
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_db.c -o cpl_db.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_loader.c -o cpl_loader.o -MMD 
-MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_log.c -o cpl_log.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DT

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,wheezy,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.76 MB...]
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131721.1272+wheezy'
/usr/bin/make every-module group_include="kxmpp" quiet=verbose
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131721.1272+wheezy'
/usr/bin/make -C src/ every-module 
config.mak loaded
Makefile.defs defs skipped
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131721.1272+wheezy/src'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c network.c -o network.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c sha.c -o sha.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c util.c -o util.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTE

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,trusty,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.63 MB...]
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-DMOD_NAME='"snmpstats"' -c snmpstats.c -o snmpstats.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-DMOD_NAME='"snmpstats"' -c sub_agent.c -o sub_agent.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.8.2"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-DMOD_NAME='"snmpstats"' -c utilities.c -o utilities.o -MMD -MP
gcc -shared  -m64 -Wl,-O2 -Wl,-E  -Wl,-Bsymbolic-functions -Wl,-z,relro 
alarm_checks.o hashTable.o interprocess_buffer.o kamailioNet.o 
kamailioNetConfig.o kamailioServer.o snmpMIBNotifications.o snmpObjects.o 
snmpSIPCommonObjects.o snmpSIPContactTable.o snmpSIPMethodSupportedTable.o 
snmpSIPPortTable.o snmpSIPRegUserLookupTable.o snmpSIPRegUserTable.o 
snmpSIPServerObjects.o snmpSIPStatusCodesTable.o snmp_statistics.o snmpstats.o 
sub_agent.o utilities.o  -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs 
-lnetsnmpagent -lnetsnmp   -o snmpstats.so
make[2]: Leaving directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131404.1272+trusty/src'
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131404.1272+trusty'
/usr/bin/make every-module group_include="kcarrierroute" quiet=verbose
make[1]: Entering directory 
`/tmp/buildd/kamail

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » i386,wheezy,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.78 MB...]
/usr/bin/make every-module group_include="kcpl" quiet=verbose
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131721.1272+wheezy'
/usr/bin/make -C src/ every-module 
config.mak loaded
Makefile.defs defs skipped
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131721.1272+wheezy/src'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_db.c -o cpl_db.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_loader.c -o cpl_loader.o -MMD 
-MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=5003000 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP 
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS 
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT 
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/include/libxml2 -DMOD_NAME='"cplc"' -c cpl_log.c -o cpl_log.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m32 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -DVERSION_NODATE   -DNAME='"kamailio"' 
-DVERSION='"5.3.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 4.7.2"' -D__CPU_i386 -D__OS_linux -DVERSIONVAL=50030

[sr-dev] Build failed in Jenkins: kamailiodev-nightly-binaries » amd64,precise,slave #1257

2018-12-11 Thread kamailio
See 


--
[...truncated 1.64 MB...]
make[1]: Leaving directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131331.1272+precise'
/usr/bin/make every-module group_include="kxmpp" quiet=verbose
make[1]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131331.1272+precise'
/usr/bin/make -C src/ every-module 
config.mak loaded
Makefile.defs defs skipped
make[2]: Entering directory 
`/tmp/buildd/kamailio-5.3.0~dev1+0~20181211131331.1272+precise/src'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_x86_64 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c network.c -o network.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_x86_64 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c sha.c -o sha.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_x86_64 -D__OS_linux 
-DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP 
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER 
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC 
-DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS 
-DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"xmpp"' -c util.c -o util.o -MMD -MP
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall 
-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -DVERSION_NODATE   
-DNAME='

Re: [sr-dev] [kamailio/kamailio] Proxy Protocol support (#1757)

2018-12-11 Thread Sebastian Lauwers
@miconda & @henningw: Could I ask for some early input on my current progress?

https://github.com/kamailio/kamailio/compare/master...teotwaki:sl/implement-proxy-protocol

One thing that occurred to me, is that this parsing has to be done at a 
different moment than what we do with HEP3. From what I understand of the PROXY 
protocol, the parsing of the PROXY header has to be done as a first step after 
`accept()`ing a connection, even before TLS negotiation takes place.

-- 
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/1757#issuecomment-446194861___
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] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread sergey-safarov
@fatihorhan i now test RPM packages.
Maybe for CentOS this not created.

-- 
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/1761#issuecomment-446171372___
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] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Fatih Orhan
Thank you @linuxmaniac for your swift fix.

Pardon my ignorance but I only see DEB packages in your commit, will RPMs be 
built too?
I'm waiting for packages in repository.

Thanks again.

-- 
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/1761#issuecomment-446161888___
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] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Victor Seva
kamailio-ruby-modules added 
https://github.com/kamailio/kamailio/commit/4698e97cd3985d3a7f51c709decb546e62b036c5
 for master.
I will backport it to 5.2 branch afterwards

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


[sr-dev] git:master:4698e97c: pkg/kamailio/deb: add kamailio-ruby-modules [skip ci]

2018-12-11 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 4698e97cd3985d3a7f51c709decb546e62b036c5
URL: 
https://github.com/kamailio/kamailio/commit/4698e97cd3985d3a7f51c709decb546e62b036c5

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-12-11T10:54:52+01:00

pkg/kamailio/deb: add kamailio-ruby-modules [skip ci]

---

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

---

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


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


[sr-dev] [kamailio/kamailio] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Fatih Orhan
### Description
Hello.
There is no app_ruby RPM package in 
https://build.opensuse.org/project/show/home:kamailio:v5.2.x-rpms. Based on my 
slack conversation with Victor Seva, new modules introduced in v5.2 seem to be 
missed and SPEC didn't get updated.

### Troubleshooting

 Reproduction
yum install kamailio
have loadmodule "app_ruby.so" in kamailio.cfg
try to start kamailio service, it doesn't start

 Log Messages
```
ERROR:  [core/sr_module.c:487]: load_module(): could not find module 
 in 
```


### Possible Solutions
Update kamailio.spec file to compile and package app_ruby.so

### Additional Information
```
version: kamailio 5.2.0 (x86_64/linux) 535e13
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, 
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_URI_SIZE 1024, 
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 535e13
compiled on 10:26:34 Nov 28 2018 with gcc 4.8.5

```

* **Operating System**:
```
Linux servername 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux
```


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


[sr-dev] Performance tests of native vs. kemi scripting for SIP routing

2018-12-11 Thread Daniel-Constantin Mierla
Hello,

during the preparations of Kamailio v5.2.0 and the days after, I got the
time to run some tests in order to see the differences of running
similar SIP routing logic when using native configuration file scripting
versus KEMI languages. So far I did it for Lua and Python (v2),
hopefully I will find time to run also for the rest of supported
scripting languages: Python (v3), JavaScript, Ruby, Squrrel and Lua with
LuaJIT.

The pleasant surprise was to see that this time, the results of using
Python were similar to native scripting and Lua. When I did some basic
tests during development of KEMI, using Python seemed slower.

More details about how tests were performed, the config files/scripts,
used tools and results were published in a wiki page:

  - https://www.kamailio.org/wiki/kemi/performance-tests/5.2.x

A news article with further details is on kamailio website:

  -
https://www.kamailio.org/w/2018/12/performance-tests-for-kemi-scripting-languages/

Should anyhow of you have some time to run the tests in own environment
and share the results (on sr-users mailing list), it would be
appreciated and would help to validate the tests and discover if I
forgot something in any of the configs. Note that the goal of the tests
is not measuring the capacity of Kamailio in your environment, but see
the differences between using different scripting languages in the same
environment (so you can do the tests on raspberry pi, if you like).

I would also be interested in knowing if you are using Kamailio with
KEMI or you are planning to, if yes, which scripting language. If
already doing it, is already in production? These are useful to plan
where to allocate developer resources in the future...

And to start, I am running Kamailio with Lua (4 instances) and Python
(1) scripting in production deployments, with very good results so far.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training -- www.asipto.com


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