[sr-dev] [kamailio/kamailio] Kamailio system files for Oracle Enterprise Linux 6/7 (#591)

2016-04-28 Thread Konstantin S. Vishnivetsky
Added Kamailio system files for Oracle Enterprise Linux 6/7 Created a directory structure under /pkg/kamailio directory for Oracle Enterprise Linux. File oracle/kamailio.spec moved to oracle/el6/kamailio.spec Added init scripts and defaults for kamailio under oracle/el6 directory. Added systemd

Re: [sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Konstantin S. Vishnivetsky
Ok. I see. --- 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/588#issuecomment-215622965___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:ab4e501e: cfgutils: exported lock(...)/unlock(...) to kemi

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ab4e501e0e1baf26e5c2ecc24968d0afdded0edc URL: https://github.com/kamailio/kamailio/commit/ab4e501e0e1baf26e5c2ecc24968d0afdded0edc Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] git:master:0f2fddb3: Merge pull request #582 from eschmidbauer/new-module/nsq

2016-04-28 Thread Emmanuel Schmidbauer
Module: kamailio Branch: master Commit: 0f2fddb3f5ec139d0e87318a784dfb4258b0e25e URL: https://github.com/kamailio/kamailio/commit/0f2fddb3f5ec139d0e87318a784dfb4258b0e25e Author: Emmanuel Schmidbauer Committer: Emmanuel Schmidbauer Date:

[sr-dev] git:master:9e558735: New Module NSQ

2016-04-28 Thread Emmanuel Schmidbauer
Module: kamailio Branch: master Commit: 9e5587351d6e4739d44e47fd426e5d091822 URL: https://github.com/kamailio/kamailio/commit/9e5587351d6e4739d44e47fd426e5d091822 Author: Emmanuel Schmidbauer Committer: Emmanuel Schmidbauer Date:

[sr-dev] git:master:3dee74bb: nsq: updated doc

2016-04-28 Thread Emmanuel Schmidbauer
Module: kamailio Branch: master Commit: 3dee74bbb7eca8339108ce3dc89c1f76b4d560cc URL: https://github.com/kamailio/kamailio/commit/3dee74bbb7eca8339108ce3dc89c1f76b4d560cc Author: Emmanuel Schmidbauer Committer: Emmanuel Schmidbauer Date:

[sr-dev] git:master:67126a1f: Merge pull request #590 from kamailio/eschmidbauer/update-doc

2016-04-28 Thread Emmanuel Schmidbauer
Module: kamailio Branch: master Commit: 67126a1f7ad714d316f13fce73b68342c820e0a2 URL: https://github.com/kamailio/kamailio/commit/67126a1f7ad714d316f13fce73b68342c820e0a2 Author: Emmanuel Schmidbauer Committer: Emmanuel Schmidbauer Date:

[sr-dev] git:master:8ef73bd1: remove outdated README.md

2016-04-28 Thread Emmanuel Schmidbauer
Module: kamailio Branch: master Commit: 8ef73bd12ac4ef8cb3b2881438bff8e525237dbf URL: https://github.com/kamailio/kamailio/commit/8ef73bd12ac4ef8cb3b2881438bff8e525237dbf Author: Emmanuel Schmidbauer Committer: Emmanuel Schmidbauer Date:

Re: [sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Daniel-Constantin Mierla
Closed #588. --- 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/588#event-644892459___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Daniel-Constantin Mierla
Thanks! I applied the combined patches manually in order to format the commit messages as per guidelines: * https://www.kamailio.org/wiki/devel/github-contributions#commit_message_format It the future would be good to format the commit message of your patches based on the guidelines to make

Re: [sr-dev] [kamailio/kamailio] Fix memory leak when converting body to multipart with set_body_multipart(); (#587)

2016-04-28 Thread Daniel-Constantin Mierla
Closed #587. --- 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/587#event-644877513___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Fix memory leak when converting body to multipart with set_body_multipart(); (#587)

2016-04-28 Thread Daniel-Constantin Mierla
Thanks, the patches were applied manually 2b427a33937c6a86ab231de39d5a4574309dbfc6 61435f40f0f4ca25521f7f1b8515e47954a69b2d to format properly the commit message and also use tabs for indentation of the code. For future, it would be good to use tabs and format the commit messages like: *

[sr-dev] git:master:b7ec4988: pkg: added rpm spec file for Oracle Enterprise Linux 7

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b7ec49886264b52b15d22b80c1c74ac40a6fb314 URL: https://github.com/kamailio/kamailio/commit/b7ec49886264b52b15d22b80c1c74ac40a6fb314 Author: Konstantin S. Vishnivetsky Committer: Daniel-Constantin Mierla

[sr-dev] git:master:61435f40: textops: fix memory leak in when converting body to multipart with set_body_multipart()

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 61435f40f0f4ca25521f7f1b8515e47954a69b2d URL: https://github.com/kamailio/kamailio/commit/61435f40f0f4ca25521f7f1b8515e47954a69b2d Author: sergey-vb Committer: Daniel-Constantin Mierla Date:

[sr-dev] git:master:2b427a33: core: fix leak in case of error to get boundary inside check_boundaries()

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2b427a33937c6a86ab231de39d5a4574309dbfc6 URL: https://github.com/kamailio/kamailio/commit/2b427a33937c6a86ab231de39d5a4574309dbfc6 Author: sergey-vb Committer: Daniel-Constantin Mierla Date:

Re: [sr-dev] [kamailio/kamailio] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

2016-04-28 Thread Daniel-Constantin Mierla
Thanks for patch and pointers, helped to clarify. --- 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/589#issuecomment-215550652___ sr-dev

Re: [sr-dev] [kamailio/kamailio] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

2016-04-28 Thread Daniel-Constantin Mierla
Merged #589. --- 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/589#event-644844791___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:bc783bef: lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value

2016-04-28 Thread Mikko Lehto
Module: kamailio Branch: master Commit: bc783befbda947a7d789eebd70c64ec736892df5 URL: https://github.com/kamailio/kamailio/commit/bc783befbda947a7d789eebd70c64ec736892df5 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-04-28T15:04:53+03:00 lib/binrpc

[sr-dev] git:master:e9c25dac: Merge pull request #589 from mslehto/UNIX_PATH_MAX

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e9c25dac940609f184bd2b0b66408dc0a28e1c86 URL: https://github.com/kamailio/kamailio/commit/e9c25dac940609f184bd2b0b66408dc0a28e1c86 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

Re: [sr-dev] [kamailio/kamailio] nsq: updated doc (#590)

2016-04-28 Thread Emmanuel Schmidbauer
Merged #590. --- 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/590#event-644347953___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] [kamailio/kamailio] nsq: updated doc (#590)

2016-04-28 Thread Emmanuel Schmidbauer
- corrected transformations section, nsq.json usage You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/590 -- Commit Summary -- * nsq: updated doc -- File Changes -- M modules/nsq/doc/nsq_admin.xml (8) -- Patch Links --

Re: [sr-dev] [kamailio/kamailio] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

2016-04-28 Thread Mikko Lehto
UNIX_PATH_MAX is used to validate string length before memcpy() to sun_path. https://github.com/kamailio/kamailio/blob/master/lib/binrpc/binrpc_api.c#L148 https://github.com/kamailio/kamailio/blob/master/modules/ctl/init_socks.c#L94

Re: [sr-dev] [kamailio/kamailio] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

2016-04-28 Thread Daniel-Constantin Mierla
Why the lowest and not the highest? Is it used for buffers where the values are copied? --- 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] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

2016-04-28 Thread Mikko Lehto
sockaddr_un.sun_path[] seem to be either 104 or 108 in following Unices: 104 - NetBSD, OpenBSD, FreeBSD, DragonFly BSD, MINIX, XNU(Apple OS X) 108 - illumos, Solaris, Linux You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/589 -- Commit

Re: [sr-dev] [kamailio/kamailio] kamailio v4.4.0-12.1 x86_64 RPM install user/group not added on Oracle Enterprise Linux 7.2 (#584)

2016-04-28 Thread Konstantin S. Vishnivetsky
Just tested you brand new packages. it's very interesting: On a already installed system %pre scriptlet work just fine. On installing from an ISO system %pre scriptlet doest not work. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [sr-dev] [kamailio/kamailio] RPM mock build under Oracle Enterprise Linux 7.2 x86_64 failure (no modules in modules_k directory) (#586)

2016-04-28 Thread Konstantin S. Vishnivetsky
Just tested you brand new packages. it's very interesting: On a already installed system **%pre scriptlet** work just fine. On installing from an ISO system **%pre scriptlet** doest _not_ work. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Konstantin S. Vishnivetsky
Agree. Let's make it this way for now. In my own practice I use mock environment for building RPMs for different distributions from a single SPEC file with RPM macros and conditions within. What do you think about this way, as a possiblity of multi-distribution(RPM-based certainly) environment?

Re: [sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Daniel-Constantin Mierla
Thanks! I wonder if we should make a dedicated folder for oracle distro, like pkg/kamailio/oracle/. The pkg/kamailio/rpm/ tried to collect the generic ones, but proved over the time that each distro has its own specifics. Perhaps it needs to be split into a folder with opensuse specs, then

[sr-dev] library for copying sip_msg from shm to pvt memory?

2016-04-28 Thread Jason Penton
Does anybody know if there is an existing library function/s to copy a sip_msg (typically request) from shm to pkg? I know there is already this functionality in the tmx module but I think it would be useful to move this into a library so it can be used by other modules? I am just wanting to make

Re: [sr-dev] [kamailio/kamailio] RPM mock build under Oracle Enterprise Linux 7.2 x86_64 failure (no modules in modules_k directory) (#586)

2016-04-28 Thread Konstantin S. Vishnivetsky
https://github.com/kamailio/kamailio/pull/588 --- 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/586#issuecomment-215346343___ sr-dev

[sr-dev] [kamailio/kamailio] Added: Oracle Enterprise Linux 7 kamailio.spec file (#588)

2016-04-28 Thread Konstantin S. Vishnivetsky
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/588 -- Commit Summary -- * Added: Oracle Enterprise Linux 7 kamailio.spec file -- File Changes -- A pkg/kamailio/rpm/kamailio.spec.oracle-7 (854) -- Patch Links --

Re: [sr-dev] [kamailio/kamailio] RPM mock build under Oracle Enterprise Linux 7.2 x86_64 failure (no modules in modules_k directory) (#586)

2016-04-28 Thread Konstantin S. Vishnivetsky
I successfully belt **kamailio** branch **4.4** with modified **kamailio.spec** file. Which branch should I commit **kamailio.spec** file to? --- 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:39a4ce03: app_lua: added utils script to generate c functions for kemi exports

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 39a4ce0387cb78a0bcd2c8ea943d4670a663de57 URL: https://github.com/kamailio/kamailio/commit/39a4ce0387cb78a0bcd2c8ea943d4670a663de57 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] git:master:8f711092: app_lua: use direct mapping with C functions by index for kemi exports

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8f71109225def7861d3408188752d736301736aa URL: https://github.com/kamailio/kamailio/commit/8f71109225def7861d3408188752d736301736aa Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] [kamailio/kamailio] Fix memory leak when converting body to multipart with set_body_multipart(); (#587)

2016-04-28 Thread sergey-vb
Hi, All. I have some problems with pkg_memory leak. After each call used private memory of the "udp receiver" process increases at 2500 bytes. On test environment I hav set it to 2Mbyte, but it is full after 700 calls. I need to modify SDP in invite and other packets. When I do in script

[sr-dev] git:master:15499c19: app_lua: implemented KSR.x.exit()

2016-04-28 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 15499c19bae30f1ca5b98e06d840e8db1b37ff20 URL: https://github.com/kamailio/kamailio/commit/15499c19bae30f1ca5b98e06d840e8db1b37ff20 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: