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

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___

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:

[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

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-

[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

[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

[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

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

[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

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:

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:

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:

[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

[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

[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

[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

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:

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

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

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

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

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

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

[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

[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

[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

[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

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:

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

[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

[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

[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

[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

[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

[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

[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

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

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:

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

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:

[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

[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

[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