Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-29 Thread Daniel-Constantin Mierla
Reopen if still an issue there. -- 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/1040#issuecomment-290196344___ sr-dev mailing list sr-dev

Re: [sr-dev] [kamailio/kamailio] Segmentation Fault in Kamailio v4.4.5 Git-Rev. e9d576 (#1040)

2017-03-29 Thread Daniel-Constantin Mierla
Closed #1040. -- 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/1040#event-1021050699___ sr-dev mailing list sr-dev@lists.sip-router.org ht

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Charles Chance
Fixed in 71a88212 - please re-open if the issue remains after testing. -- 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/822#issuecomment-290176026

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Charles Chance
Closed #822. -- 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/822#event-1020940437___ sr-dev mailing list sr-dev@lists.sip-router.org http

Re: [sr-dev] [kamailio/kamailio] dmq: remove worker lock (#1046)

2017-03-29 Thread Charles Chance
Thanks - this has now been incorporated into 71a88212 -- 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/1046#issuecomment-290175395___ sr-dev

Re: [sr-dev] [kamailio/kamailio] dmq: remove worker lock (#1046)

2017-03-29 Thread Charles Chance
Closed #1046. -- 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/1046#event-1020936981___ sr-dev mailing list sr-dev@lists.sip-router.org http

[sr-dev] git:master:71a88212: dmq: add option for non-locking workers

2017-03-29 Thread Charles Chance
Module: kamailio Branch: master Commit: 71a882122c2e6a9c61f25cb34bfd4fef75c65fe0 URL: https://github.com/kamailio/kamailio/commit/71a882122c2e6a9c61f25cb34bfd4fef75c65fe0 Author: Charles Chance Committer: Charles Chance Date: 2017-03-29T19:05:50+01:00 dmq: add option for non-locking workers -

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO UPDATE (#1047)

2017-03-29 Thread Daniel-Constantin Mierla
Merged #1047. -- 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/1047#event-1020875565___ sr-dev mailing list sr-dev@lists.sip-router.org http

[sr-dev] git:master:88ba02fd: db_postgress: insert_update() with DO UPDATE

2017-03-29 Thread Julien Chavanton
Module: kamailio Branch: master Commit: 88ba02fd42403844afcdde82034e64a460dc1082 URL: https://github.com/kamailio/kamailio/commit/88ba02fd42403844afcdde82034e64a460dc1082 Author: Julien Chavanton Committer: Julien Chavanton Date: 2017-03-29T08:09:41-07:00 db_postgress: insert_update() with DO

[sr-dev] git:master:55bc7309: Merge pull request #1047 from jchavanton/db_postgres_upsert

2017-03-29 Thread GitHub
Module: kamailio Branch: master Commit: 55bc7309bdee23d1cbff3a122f4ce1d0d0fa84fa URL: https://github.com/kamailio/kamailio/commit/55bc7309bdee23d1cbff3a122f4ce1d0d0fa84fa Author: Daniel-Constantin Mierla Committer: GitHub Date: 2017-03-29T19:34:03+02:00 Merge pull request #1047 from jchavanton

Re: [sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO UPDATE (#1047)

2017-03-29 Thread Daniel-Constantin Mierla
Thanks, it will be merged! -- 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/1047#issuecomment-290164374___ sr-dev mailing list sr-dev@lists.

[sr-dev] [kamailio/kamailio] usrloc: adding params (#1048)

2017-03-29 Thread Julien Chavanton
db_load: enable/disable loading from the database on mod_init (except when in db_mode 4 /READ_ONLY) db_insert_update: insert into table, update on duplicate key You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1048 -- Commit Summary --

[sr-dev] [kamailio/kamailio] db_postgress: insert_update() with DO UPDATE (#1047)

2017-03-29 Thread Julien Chavanton
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/1047 -- Commit Summary -- * db_postgress: insert_update() with DO UPDATE -- File Changes -- M src/modules/db_postgres/db_postgres.c (1) M src/modules/db_postgres/db_postgres.h

Re: [sr-dev] [kamailio/kamailio] db_postgres insert_update and usrloc params (#1044)

2017-03-29 Thread Julien Chavanton
Closed #1044. -- 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/1044#event-1020622613___ sr-dev mailing list sr-dev@lists.sip-router.org http

Re: [sr-dev] [kamailio/kamailio] db_postgres insert_update and usrloc params (#1044)

2017-03-29 Thread Julien Chavanton
ok I will create two and propose a solution for db_mode=4 -- 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/1044#issuecomment-290121145___ s

[sr-dev] git:master:088c2f7d: Makefile.groups: added call_obj module to group extra

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 088c2f7d70eb3b8861b3f8f2dc03d9e01a68198f URL: https://github.com/kamailio/kamailio/commit/088c2f7d70eb3b8861b3f8f2dc03d9e01a68198f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-29T16:16:26+02:00 Makefile.groups: added

Re: [sr-dev] [kamailio/kamailio] db_postgres insert_update and usrloc params (#1044)

2017-03-29 Thread Daniel-Constantin Mierla
I would prefer to have two pull requests, each for the two different features. In this way one or the other can be merged separately. For example, the db_load addition may need to be adjusted to detect conflicts with db_mode, because db_mode=4 is supposed to only load from db. -- You are recei

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Charles Chance
Yes, I would be happier implementing that way, since the lock method is better in most situations. If no-one has any objections or reasons not to, then I shall proceed on that basis and make the necessary changes this evening. -- You are receiving this because you are subscribed to this thread

Re: [sr-dev] [kamailio/kamailio] Keepalive module - prototype (#1045)

2017-03-29 Thread Daniel-Constantin Mierla
Thanks for contributing! Can you make a pull request only with the new module as a single commit? It will be easier to review and see if anything needs to be adjusted. Also, add xml docbook files with the documentation of the module, as the other modules have. We are not merging new modules wit

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Daniel-Constantin Mierla
I am not sure if removing the lock/mutex is the proper solution here, as I didn't analyze the module properly, so it might be better to make it optional via modparam to run in old mode with locks and new mode with sleep. I guess it should not be that complex, given that the new patch is rather s

Re: [sr-dev] [kamailio/kamailio] Enabling DMQ cause high CPU usage (#822)

2017-03-29 Thread Charles Chance
Thanks, @tombeard - it works and appears safe. However, in my own (Centos) tests, CPU utilisation when workers are idle is noticeably higher than before. Increasing the sleep duration helps - so if it is implemented this way then it should be exposed as a mod param with a sensible default. Pers

[sr-dev] git:master:0bded933: call_obj: module to track calls and its duration by using ascending integers.

2017-03-29 Thread Vicente Hernando
Module: kamailio Branch: master Commit: 0bded933d8ff9e533d426dc205dd5db385bfaf53 URL: https://github.com/kamailio/kamailio/commit/0bded933d8ff9e533d426dc205dd5db385bfaf53 Author: Vicente Hernando Committer: Vicente Hernando Date: 2017-03-29T14:26:37+02:00 call_obj: module to track calls and it

[sr-dev] git:master:d8fa1ae3: pv: new variable - $hdrc(HName)

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d8fa1ae396305f6f05607f5bc0914913adc6bf7d URL: https://github.com/kamailio/kamailio/commit/d8fa1ae396305f6f05607f5bc0914913adc6bf7d Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-29T12:41:41+02:00 pv: new variable - $hd

[sr-dev] git:master:2d9a016e: core: new pv type for header count

2017-03-29 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2d9a016ede219c2f2731e09ca45281d8ef711d50 URL: https://github.com/kamailio/kamailio/commit/2d9a016ede219c2f2731e09ca45281d8ef711d50 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-03-29T12:41:16+02:00 core: new pv type for