[sr-dev] git:5.4:dc082cec: Makefile.defs: version set to 5.4.0-rc1

2020-07-17 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: 5.4
Commit: dc082cec6f846df66ec3fa06a6c119b0d418ef19
URL: 
https://github.com/kamailio/kamailio/commit/dc082cec6f846df66ec3fa06a6c119b0d418ef19

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2020-07-17T09:19:55+02:00

Makefile.defs: version set to 5.4.0-rc1

---

Modified: src/Makefile.defs

---

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

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index 9004a372dc..254c1096ec 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -107,7 +107,7 @@ INSTALL_FLAVOUR=$(FLAVOUR)
 VERSION = 5
 PATCHLEVEL = 4
 SUBLEVEL =  0
-EXTRAVERSION = -rc0
+EXTRAVERSION = -rc1
 
 # memory manager switcher
 # 0 - f_malloc (fast malloc)


___
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] xHTTP_PROM with older Kamailio

2020-07-17 Thread Marat Gareev
Hello, Karsten,

Thanks for the link. I will definitely examine it.
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:18e4b6b4: Makefile.defs: version set to 5.5.0-dev1

2020-07-17 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 18e4b6b44eb52acf206d2d1f2933b7d5437e39a0
URL: 
https://github.com/kamailio/kamailio/commit/18e4b6b44eb52acf206d2d1f2933b7d5437e39a0

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2020-07-17T09:19:20+02:00

Makefile.defs: version set to 5.5.0-dev1

---

Modified: src/Makefile.defs

---

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

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index 17e61a8b45..296e7df727 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -107,7 +107,7 @@ INSTALL_FLAVOUR=$(FLAVOUR)
 VERSION = 5
 PATCHLEVEL = 5
 SUBLEVEL =  0
-EXTRAVERSION = -dev0
+EXTRAVERSION = -dev1
 
 # memory manager switcher
 # 0 - f_malloc (fast malloc)


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


[sr-dev] The plan for releasing Kamailio v5.4.0

2020-07-17 Thread Daniel-Constantin Mierla
Hello,

we are considering to release the next major stable release,
respectively 5.4.0, on Wednesday, July 29, 2020.

The branch 5.4 was already created, several doc resources were already
added (wiki pages with what is new,
core/variables/transformations/rpcs/stats cookbooks, alphabetic indexes,
...), at least debian/ubuntu packages should be built nightly, ...

If anyone is testing an upgrade from branch 5.3 to 5.4 and encounters
changes that should be done in Kamailio config, add notes about at:

  * https://www.kamailio.org/wiki/install/upgrade/5.3.x-to-5.4.0

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


___
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] p_usrloc: reworking mdb_availability_control (#2399)

2020-07-17 Thread Lucian Balaceanu
Thank you.

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


[sr-dev] git:master:993f4e9c: pkg/kamailio/deb: version set 5.5.0~dev1 [skip ci]

2020-07-17 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 993f4e9c36e4c5f1c5c7bc961865c17cae68478f
URL: 
https://github.com/kamailio/kamailio/commit/993f4e9c36e4c5f1c5c7bc961865c17cae68478f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2020-07-17T10:43:12+02:00

pkg/kamailio/deb: version set 5.5.0~dev1 [skip ci]

---

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

---

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


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


[sr-dev] git:master:5789c506: p_usrloc: reworking mdb_availability_control

2020-07-17 Thread Lucian Balaceanu
Module: kamailio
Branch: master
Commit: 5789c506d022dd5713072cd1fcc07a25f42e098c
URL: 
https://github.com/kamailio/kamailio/commit/5789c506d022dd5713072cd1fcc07a25f42e098c

Author: Lucian Balaceanu 
Committer: Lucian Balaceanu 
Date: 2020-07-14T11:49:21+03:00

p_usrloc: reworking mdb_availability_control

- simplify general implementation
- avoid deadlock due to a process trying to acquire same lock twice

---

Modified: src/modules/p_usrloc/p_usrloc_mod.c
Modified: src/modules/p_usrloc/p_usrloc_mod.h
Modified: src/modules/p_usrloc/ul_db.c
Modified: src/modules/p_usrloc/ul_db_watch.c
Modified: src/modules/p_usrloc/ul_db_watch.h

---

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


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


[sr-dev] git:master:021d4de2: Merge pull request #2399 from lbalaceanu/mdb_availability_control

2020-07-17 Thread GitHub
Module: kamailio
Branch: master
Commit: 021d4de2ad22f6453e8a48f0db841bfa6b1dbe88
URL: 
https://github.com/kamailio/kamailio/commit/021d4de2ad22f6453e8a48f0db841bfa6b1dbe88

Author: Lucian Balaceanu 
Committer: GitHub 
Date: 2020-07-17T10:43:30+03:00

Merge pull request #2399 from lbalaceanu/mdb_availability_control

p_usrloc: reworking mdb_availability_control

---

Modified: src/modules/p_usrloc/p_usrloc_mod.c
Modified: src/modules/p_usrloc/p_usrloc_mod.h
Modified: src/modules/p_usrloc/ul_db.c
Modified: src/modules/p_usrloc/ul_db_watch.c
Modified: src/modules/p_usrloc/ul_db_watch.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/021d4de2ad22f6453e8a48f0db841bfa6b1dbe88.diff
Patch: 
https://github.com/kamailio/kamailio/commit/021d4de2ad22f6453e8a48f0db841bfa6b1dbe88.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.4:ac436f2e: pkg/kamailio/deb: version set 5.4.0~rc1

2020-07-17 Thread Victor Seva
Module: kamailio
Branch: 5.4
Commit: ac436f2ee8103a6ce7b7648af5666d9e940bec15
URL: 
https://github.com/kamailio/kamailio/commit/ac436f2ee8103a6ce7b7648af5666d9e940bec15

Author: Victor Seva 
Committer: Victor Seva 
Date: 2020-07-17T10:41:11+02:00

pkg/kamailio/deb: version set 5.4.0~rc1

---

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

---

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


___
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] xHTTP_PROM with older Kamailio

2020-07-17 Thread Marat Gareev
I found that the export module interface was changed (
https://www.kamailio.org/w/2018/09/new-module-exports-interface/).

I downgraded to old-style version this structure

> struct module_exports exports = {
> "xhttp_prom",
> DEFAULT_DLFLAGS, /* dlopen flags */
> cmds,
> params,
> 0,  /* exported RPC methods */
> 0,  /* exported pseudo-variables */
> 0,  /* response function */
> mod_init,   /* module initialization function */
> 0,  /* per child init function */
> mod_destroy /* destroy function */
> };

to

> struct module_exports exports = {
> "xhttp_prom",
> DEFAULT_DLFLAGS, /* dlopen flags */
> cmds,
> params,
> 0,
> 0,  /* exported MI functions */
> 0,  /* exported pseudo-variables */
> 0,  /* extra processes */
> mod_init,   /* module initialization function */
> 0,  /* per child init function */
> mod_destroy, /* destroy function */
> NULL  /* per child init function */
> };

The problem is that *mod_init* was zero, so it was not called.
And now mod_init is called and I can use this module.

Many thanks 

>
___
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] xHTTP_PROM with older Kamailio

2020-07-17 Thread Karsten Horsmann
Hi Marat,

You could also reach your goal with an golang program that provides
prometheus for example


https://github.com/florentchauveau/kamailio_exporter

AFAIK there are also an implementation from pacom.

Cheers
Karsten

Marat Gareev  schrieb am Mo., 13. Juli 2020, 14:31:

> I found that the export module interface was changed (
> https://www.kamailio.org/w/2018/09/new-module-exports-interface/).
>
> I downgraded to old-style version this structure
>
>> struct module_exports exports = {
>> "xhttp_prom",
>> DEFAULT_DLFLAGS, /* dlopen flags */
>> cmds,
>> params,
>> 0,  /* exported RPC methods */
>> 0,  /* exported pseudo-variables */
>> 0,  /* response function */
>> mod_init,   /* module initialization function */
>> 0,  /* per child init function */
>> mod_destroy /* destroy function */
>> };
>
> to
>
>> struct module_exports exports = {
>> "xhttp_prom",
>> DEFAULT_DLFLAGS, /* dlopen flags */
>> cmds,
>> params,
>> 0,
>> 0,  /* exported MI functions */
>> 0,  /* exported pseudo-variables */
>> 0,  /* extra processes */
>> mod_init,   /* module initialization function */
>> 0,  /* per child init function */
>> mod_destroy, /* destroy function */
>> NULL  /* per child init function */
>> };
>
> The problem is that *mod_init* was zero, so it was not called.
> And now mod_init is called and I can use this module.
>
> Many thanks 
>
>> ___
> Kamailio (SER) - Users Mailing List
> sr-us...@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] Ims scscf notify improvements (#2401)

2020-07-17 Thread alexyosifov
!-- Kamailio Pull Request Template --

!--
IMPORTANT:
  - for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
  - pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
  - backports to stable branches must be done with git cherry-pick -x 
...
  - code is contributed under BSD for core and main components (tm, sl, auth, 
tls)
  - code is contributed GPLv2 or a compatible license for the other components
  - GPL code is contributed with OpenSSL licensing exception
--

 Pre-Submission Checklist
!-- Go over all points below, and after creating the PR, tick all the 
checkboxes that apply --
!-- All points should be verified, otherwise, read the CONTRIBUTING 
guidelines from above--
!-- If youre unsure about any of these, dont hesitate to ask on 
sr-dev mailing list --
- [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
- [x] 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:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
!-- Describe your changes in detail --

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * ims_usrloc_scscf: added a new contact state, udomain/impu improvements
  * ims_registrar_scscf: added a new registrar event, notification improvements

-- File Changes --

M src/modules/ims_registrar_scscf/cxdx_callbacks.c (4)
M src/modules/ims_registrar_scscf/reg_rpc.c (2)
M src/modules/ims_registrar_scscf/registrar_notify.c (154)
M src/modules/ims_registrar_scscf/registrar_notify.h (9)
M src/modules/ims_registrar_scscf/save.c (25)
M src/modules/ims_registrar_scscf/usrloc_cb.c (5)
M src/modules/ims_usrloc_scscf/impurecord.c (72)
M src/modules/ims_usrloc_scscf/udomain.c (39)
M src/modules/ims_usrloc_scscf/usrloc.h (7)

-- Patch Links --

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


[sr-dev] git:master:c3962fff: modules: readme files regenerated - sipdump ... [skip ci]

2020-07-17 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: c3962fff1c0efbd9ba2939b8f173efd08c263bac
URL: 
https://github.com/kamailio/kamailio/commit/c3962fff1c0efbd9ba2939b8f173efd08c263bac

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2020-07-17T08:01:20+02:00

modules: readme files regenerated - sipdump ... [skip ci]

---

Modified: src/modules/sipdump/README

---

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

---

diff --git a/src/modules/sipdump/README b/src/modules/sipdump/README
index 7b8aebedff..a699336f53 100644
--- a/src/modules/sipdump/README
+++ b/src/modules/sipdump/README
@@ -154,8 +154,10 @@ modparam("sipdump", "enable", 1)
 3.2. mode (int)
 
Set the type of activity done by the module, the value can be set based
-   on flags: 1 (value 1) - write to text files; 2 (value 2) - execute
-   event route; 3 (value 4) - write to pcap files.
+   on flags index: 0 (value 1) - write to text files; 1 (value 2) -
+   execute event route; 2 (value 4) - write to pcap files; 3 (value 8) -
+   insert the P-KSR-SIPDump header with meta data inside the SIP message
+   written in pcap file.
 
To enable several activity modes, set the parameter to the sum of
corresponding values.


___
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] p_usrloc: reworking mdb_availability_control (#2399)

2020-07-17 Thread Lucian Balaceanu
Merged #2399 into master.

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


[sr-dev] [kamailio/kamailio] core: add sip_parser_log core variable (#2402)

2020-07-17 Thread lazedo
- [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:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
when handling non sip messages, parser errors are logged at core level which 
defaults to ERR.
since this may induce in error sysops or log scanners, sometimes the core level 
is set to debug just to omit these
messages from log, which is not good since other messages are omitted too.
this commit adds a new core variable to set the log level for message parsing 
errors.
this way, we can explicitly set the log level for message parsing while leaving 
the core level at ERR.


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * core: add sip_parser_log core variable

-- File Changes --

M src/core/cfg.lex (2)
M src/core/cfg.y (3)
M src/core/cfg_core.c (3)
M src/core/cfg_core.h (1)
M src/core/parser/msg_parser.c (2)
M src/core/parser/parse_fline.c (2)
M src/core/receive.c (2)

-- Patch Links --

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


[sr-dev] git:5.3:204050d2: xhttp_prom: fixed typo in the documentation [skip ci]

2020-07-17 Thread Victor Seva
Module: kamailio
Branch: 5.3
Commit: 204050d214f9dfbd5c0f2cc12dad1beef70be952
URL: 
https://github.com/kamailio/kamailio/commit/204050d214f9dfbd5c0f2cc12dad1beef70be952

Author: Marat Gareev 
Committer: Victor Seva 
Date: 2020-07-17T15:11:15+02:00

xhttp_prom: fixed typo in the documentation [skip ci]

(cherry picked from commit fbfc720a82ed2e6c537fd7fa36b913cf079123ae)
(cherry picked from commit e8ef3c2bb57c3c35ca023d3b01577435f7b80529)

---

Modified: src/modules/xhttp_prom/doc/xhttp_prom_admin.xml

---

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

---

diff --git a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml 
b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
index 91ba012f3c..c098f2d382 100644
--- a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
+++ b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
@@ -101,7 +101,7 @@
Set xhttp_prom_buf_size 
parameter

 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...

  
@@ -122,7 +122,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)

 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...

  


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


[sr-dev] git:5.3:9f8b5648: p_usrloc: reworking mdb_availability_control

2020-07-17 Thread Lucian Balaceanu
Module: kamailio
Branch: 5.3
Commit: 9f8b564800aa029f1d374c502c8c96272e5ea68a
URL: 
https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a

Author: Lucian Balaceanu 
Committer: Lucian Balaceanu 
Date: 2020-07-17T13:04:32+03:00

p_usrloc: reworking mdb_availability_control

- simplify general implementation
- avoid deadlock due to a process trying to acquire same lock twice

(cherry picked from commit 5789c506d022dd5713072cd1fcc07a25f42e098c)
(cherry picked from commit ffb0576bd7d93303fb1068a332d9477a4d04471b)

---

Modified: src/modules/p_usrloc/p_usrloc_mod.c
Modified: src/modules/p_usrloc/p_usrloc_mod.h
Modified: src/modules/p_usrloc/ul_db.c
Modified: src/modules/p_usrloc/ul_db_watch.c
Modified: src/modules/p_usrloc/ul_db_watch.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9f8b564800aa029f1d374c502c8c96272e5ea68a.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.4:ffb0576b: p_usrloc: reworking mdb_availability_control

2020-07-17 Thread Lucian Balaceanu
Module: kamailio
Branch: 5.4
Commit: ffb0576bd7d93303fb1068a332d9477a4d04471b
URL: 
https://github.com/kamailio/kamailio/commit/ffb0576bd7d93303fb1068a332d9477a4d04471b

Author: Lucian Balaceanu 
Committer: Lucian Balaceanu 
Date: 2020-07-17T13:02:16+03:00

p_usrloc: reworking mdb_availability_control

- simplify general implementation
- avoid deadlock due to a process trying to acquire same lock twice

(cherry picked from commit 5789c506d022dd5713072cd1fcc07a25f42e098c)

---

Modified: src/modules/p_usrloc/p_usrloc_mod.c
Modified: src/modules/p_usrloc/p_usrloc_mod.h
Modified: src/modules/p_usrloc/ul_db.c
Modified: src/modules/p_usrloc/ul_db_watch.c
Modified: src/modules/p_usrloc/ul_db_watch.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/ffb0576bd7d93303fb1068a332d9477a4d04471b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ffb0576bd7d93303fb1068a332d9477a4d04471b.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.4:a13b0552: modules: readme files regenerated - modules ... [skip ci]

2020-07-17 Thread Kamailio Dev
Module: kamailio
Branch: 5.4
Commit: a13b055292999197ac21d23568d0c3ace8b9e87a
URL: 
https://github.com/kamailio/kamailio/commit/a13b055292999197ac21d23568d0c3ace8b9e87a

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2020-07-17T15:16:25+02:00

modules: readme files regenerated - modules ... [skip ci]

---

Modified: src/modules/xhttp_prom/README

---

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

---

diff --git a/src/modules/xhttp_prom/README b/src/modules/xhttp_prom/README
index a6c2e95868..da9ddbabcb 100644
--- a/src/modules/xhttp_prom/README
+++ b/src/modules/xhttp_prom/README
@@ -168,7 +168,7 @@ Chapter 1. Admin Guide
 
Example 1.1. Set xhttp_prom_buf_size parameter
 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...
 
 3.2. xhttp_prom_timeout (integer)
@@ -181,7 +181,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)
Example 1.2. Set xhttp_prom_timeout parameter
 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...
 
 3.3. xhttp_prom_stats (str)


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


[sr-dev] git:master:1c129fdf: modules: readme files regenerated - xhttp_prom ... [skip ci]

2020-07-17 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 1c129fdfbf73a5235ea69273316f4b4b229d9dcc
URL: 
https://github.com/kamailio/kamailio/commit/1c129fdfbf73a5235ea69273316f4b4b229d9dcc

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2020-07-17T15:16:12+02:00

modules: readme files regenerated - xhttp_prom ... [skip ci]

---

Modified: src/modules/xhttp_prom/README

---

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

---

diff --git a/src/modules/xhttp_prom/README b/src/modules/xhttp_prom/README
index a6c2e95868..da9ddbabcb 100644
--- a/src/modules/xhttp_prom/README
+++ b/src/modules/xhttp_prom/README
@@ -168,7 +168,7 @@ Chapter 1. Admin Guide
 
Example 1.1. Set xhttp_prom_buf_size parameter
 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...
 
 3.2. xhttp_prom_timeout (integer)
@@ -181,7 +181,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)
Example 1.2. Set xhttp_prom_timeout parameter
 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...
 
 3.3. xhttp_prom_stats (str)


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


[sr-dev] git:master:77bc422c: core: remove not needed parser definitions files after rework in commit ded4fa4ff

2020-07-17 Thread Henning Westerholt
Module: kamailio
Branch: master
Commit: 77bc422ce12e3353c88b98a78ef18969f7d64593
URL: 
https://github.com/kamailio/kamailio/commit/77bc422ce12e3353c88b98a78ef18969f7d64593

Author: Henning Westerholt 
Committer: Henning Westerholt 
Date: 2020-07-17T10:30:34Z

core: remove not needed parser definitions files after rework in commit 
ded4fa4ff

---

Removed: src/core/parser/case_acce.h
Removed: src/core/parser/case_allo.h
Removed: src/core/parser/case_auth.h
Removed: src/core/parser/case_c_inf.h
Removed: src/core/parser/case_call.h
Removed: src/core/parser/case_cont.h
Removed: src/core/parser/case_cseq.h
Removed: src/core/parser/case_date.h
Removed: src/core/parser/case_dive.h
Removed: src/core/parser/case_even.h
Removed: src/core/parser/case_expi.h
Removed: src/core/parser/case_from.h
Removed: src/core/parser/case_iden.h
Removed: src/core/parser/case_max.h
Removed: src/core/parser/case_min.h
Removed: src/core/parser/case_orga.h
Removed: src/core/parser/case_p_as.h
Removed: src/core/parser/case_p_pr.h
Removed: src/core/parser/case_path.h
Removed: src/core/parser/case_prio.h
Removed: src/core/parser/case_priv.h
Removed: src/core/parser/case_prox.h
Removed: src/core/parser/case_reas.h
Removed: src/core/parser/case_reco.h
Removed: src/core/parser/case_refe.h
Removed: src/core/parser/case_reje.h
Removed: src/core/parser/case_remo.h
Removed: src/core/parser/case_requ.h
Removed: src/core/parser/case_retr.h
Removed: src/core/parser/case_rout.h
Removed: src/core/parser/case_serv.h
Removed: src/core/parser/case_sess.h
Removed: src/core/parser/case_sip.h
Removed: src/core/parser/case_subj.h
Removed: src/core/parser/case_subs.h
Removed: src/core/parser/case_supp.h
Removed: src/core/parser/case_to.h
Removed: src/core/parser/case_unsu.h
Removed: src/core/parser/case_user.h
Removed: src/core/parser/case_via.h
Removed: src/core/parser/case_www.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/77bc422ce12e3353c88b98a78ef18969f7d64593.diff
Patch: 
https://github.com/kamailio/kamailio/commit/77bc422ce12e3353c88b98a78ef18969f7d64593.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.3:c51a6385: modules: readme files regenerated - modules ... [skip ci]

2020-07-17 Thread Kamailio Dev
Module: kamailio
Branch: 5.3
Commit: c51a6385a1af68bc3fd459a4d7a153b82381a738
URL: 
https://github.com/kamailio/kamailio/commit/c51a6385a1af68bc3fd459a4d7a153b82381a738

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2020-07-17T15:16:40+02:00

modules: readme files regenerated - modules ... [skip ci]

---

Modified: src/modules/xhttp_prom/README

---

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

---

diff --git a/src/modules/xhttp_prom/README b/src/modules/xhttp_prom/README
index a6c2e95868..da9ddbabcb 100644
--- a/src/modules/xhttp_prom/README
+++ b/src/modules/xhttp_prom/README
@@ -168,7 +168,7 @@ Chapter 1. Admin Guide
 
Example 1.1. Set xhttp_prom_buf_size parameter
 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...
 
 3.2. xhttp_prom_timeout (integer)
@@ -181,7 +181,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)
Example 1.2. Set xhttp_prom_timeout parameter
 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...
 
 3.3. xhttp_prom_stats (str)


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


[sr-dev] [kamailio/kamailio] xhttp_prom: fixed typo in the documentation (#2403)

2020-07-17 Thread Marat
!-- Kamailio Pull Request Template --

!--
IMPORTANT:
  - for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
  - pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
  - backports to stable branches must be done with git cherry-pick -x 
...
  - code is contributed under BSD for core and main components (tm, sl, auth, 
tls)
  - code is contributed GPLv2 or a compatible license for the other components
  - GPL code is contributed with OpenSSL licensing exception
--

 Pre-Submission Checklist
!-- Go over all points below, and after creating the PR, tick all the 
checkboxes that apply --
!-- All points should be verified, otherwise, read the CONTRIBUTING 
guidelines from above--
!-- If youre unsure about any of these, dont hesitate to ask on 
sr-dev mailing list --
- [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
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
!-- Describe your changes in detail --

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * xhttp_prom: fixed typo in the documentation

-- File Changes --

M src/modules/xhttp_prom/doc/xhttp_prom_admin.xml (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2403.patch
https://github.com/kamailio/kamailio/pull/2403.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/2403
___
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] xhttp_prom: fixed typo in the documentation (#2403)

2020-07-17 Thread Victor Seva
Merged #2403 into master.

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


[sr-dev] git:master:fbfc720a: xhttp_prom: fixed typo in the documentation

2020-07-17 Thread Victor Seva
Module: kamailio
Branch: master
Commit: fbfc720a82ed2e6c537fd7fa36b913cf079123ae
URL: 
https://github.com/kamailio/kamailio/commit/fbfc720a82ed2e6c537fd7fa36b913cf079123ae

Author: Marat Gareev 
Committer: Victor Seva 
Date: 2020-07-17T15:08:42+02:00

xhttp_prom: fixed typo in the documentation

---

Modified: src/modules/xhttp_prom/doc/xhttp_prom_admin.xml

---

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

---

diff --git a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml 
b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
index 91ba012f3c..c098f2d382 100644
--- a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
+++ b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
@@ -101,7 +101,7 @@
Set xhttp_prom_buf_size 
parameter

 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...

  
@@ -122,7 +122,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)

 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...

  


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


[sr-dev] git:5.4:e8ef3c2b: xhttp_prom: fixed typo in the documentation [skip ci]

2020-07-17 Thread Victor Seva
Module: kamailio
Branch: 5.4
Commit: e8ef3c2bb57c3c35ca023d3b01577435f7b80529
URL: 
https://github.com/kamailio/kamailio/commit/e8ef3c2bb57c3c35ca023d3b01577435f7b80529

Author: Marat Gareev 
Committer: Victor Seva 
Date: 2020-07-17T15:10:21+02:00

xhttp_prom: fixed typo in the documentation [skip ci]

(cherry picked from commit fbfc720a82ed2e6c537fd7fa36b913cf079123ae)

---

Modified: src/modules/xhttp_prom/doc/xhttp_prom_admin.xml

---

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

---

diff --git a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml 
b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
index 91ba012f3c..c098f2d382 100644
--- a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
+++ b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
@@ -101,7 +101,7 @@
Set xhttp_prom_buf_size 
parameter

 ...
-modparam("xhttp", "xhttp_prom_buf_size", 1024)
+modparam("xhttp_prom", "xhttp_prom_buf_size", 1024)
 ...

  
@@ -122,7 +122,7 @@ modparam("xhttp", "xhttp_prom_buf_size", 1024)

 ...
 # Set timeout to 10 hours
-modparam("xhttp", "xhttp_prom_timeout", 600)
+modparam("xhttp_prom", "xhttp_prom_timeout", 600)
 ...

  


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