[sr-dev] git:master:b36da1dc: core: utils functions to converts strz to integer

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b36da1dca71036ea3aa52675d3166317851e6594 URL: https://github.com/kamailio/kamailio/commit/b36da1dca71036ea3aa52675d3166317851e6594 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-26T08:49:02+01:00 core: utils functions

[sr-dev] git:master:1c402ddc: core: new command line parameter --modparam

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 1c402ddc4cc499700e186b65108303a2aaec6287 URL: https://github.com/kamailio/kamailio/commit/1c402ddc4cc499700e186b65108303a2aaec6287 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-26T08:49:02+01:00 core: new command

Re: [sr-dev] git:master:063e6a02: core: increase SHM memory pool to 128 MB

2019-11-25 Thread Daniel-Constantin Mierla
Hello, On 25.11.19 20:57, Henning Westerholt wrote: > Hi Daniel, > > from time to time there are reports that people run into issues after trying > to load larger data sets into the memory (e.g. with routing tables). As I said, I haven't noticed any such report and actually I just searched now

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
right, added now. -- 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/2147#issuecomment-558041500___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
@grumvalski pushed 1 commit. 2ad6023432ae37b1709638ead2c77e1e4130678a tm: initialize the context before running event route -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
@grumvalski pushed 1 commit. b58bfec2413a09568343fa1e2b2e199cfaa2e1fa tm: initialize the context before running event route -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Daniel-Constantin Mierla
OK, fine for me. -- 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/2147#issuecomment-558049490___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Henning Westerholt
One remark - the E_DROP error is planned to be used for all kinds of drop() or only for the local request event route type? If the latter - maybe making the name a bit more specific to highlight that is only used for this particular case. -- You are receiving this because you are subscribed

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
I haven't spotted any other usage for the moment. I could rename it like E_LOCAL_DROP. -- 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] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Daniel-Constantin Mierla
Thanks! I couldn't spot quickly the initialization of the context, something like: ``` init_run_actions_ctx(_ctx); ``` -- 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] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Henning Westerholt
Ok, this might be better understandable in the years to come. :-) Good addition, thanks. -- 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] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
!-- 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

Re: [sr-dev] [kamailio/kamailio] force_send_socket with pseudo variable (#2145)

2019-11-25 Thread Henning Westerholt
I've added a short note about it to the 5.3 and devel cookbook. IMHO we should think about removing this old redundant functions, at least if there are several newer implementation, where one is functional equivalent. I was already discussed one year ago, without conclusion:

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Daniel-Constantin Mierla
If you keep it in core, then E_DROP is fine, it can be used in the future for similar purposes. If you rename it and make it specific to tm usage for local request route, then place the define in the tm module. We should not populate core with module specific needs. -- You are receiving this

Re: [sr-dev] Kamailio developers meeting - follow up remarks

2019-11-25 Thread Daniel-Constantin Mierla
Hello, one addition to section 8):   * it was discussed if internal libraries still have a good purpose, given low activity there and some of the libs there are used in a few modules, which case also use intermodule API, while some are becoming more like general purpose scope (json lib, with use

[sr-dev] [kamailio/kamailio] ims_ipsec_pcscf: fixed warnings, added a new config param (#2148)

2019-11-25 Thread alexyosifov
- fixed a defect reported from Coverity Scan - Concurrent data access violations in spi_gen.c for spi_data-spi_val. - added a new conf param - ipsec_reuse_server_port - reuse or not PCSCF server port for UA Re-registration. - added description for the new parameter in

Re: [sr-dev] [kamailio/kamailio] cancel the branches instantly instead of on provisional replies (#909)

2019-11-25 Thread aqsyounas
@henningw i don't think i would need this at the moment. You may close this if nobody else need it :) Thanks for the awesome works you guys are doing.  -- 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] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
I did put it in the core to avoid conflicts with other returned codes and for beeing used in the future (in case). I'll leave it in the core. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] git:master:7fad9c51: app_sqlang: fix squirrel warning: ‘nArgs’ may be used uninitialized in this function

2019-11-25 Thread Daniel-Constantin Mierla
Hello, this change has to be pushed to the upstream project, otheriwse with the next sync it is going to be lost -- we do not maintain the code of squirrel interpreter, it is used as an embedded library. The project is at:   * https://github.com/albertodemichelis/squirrel Cheers, Daniel On

[sr-dev] git:master:dadbc0cf: sl: use snprintf() instead of sprintf()

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: dadbc0cf4a3a198e7a3791d830ed2cd5ffa8bfdd URL: https://github.com/kamailio/kamailio/commit/dadbc0cf4a3a198e7a3791d830ed2cd5ffa8bfdd Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-25T11:21:08+01:00 sl: use snprintf()

Re: [sr-dev] git:master:063e6a02: core: increase SHM memory pool to 128 MB

2019-11-25 Thread Daniel-Constantin Mierla
Hello, On 23.11.19 23:23, Henning Westerholt wrote: > Module: kamailio > Branch: master > Commit: 063e6a025b8ca0163af2147f057d29447c6f9760 > URL: > https://github.com/kamailio/kamailio/commit/063e6a025b8ca0163af2147f057d29447c6f9760 > > Author: Henning Westerholt > Committer: Henning Westerholt

Re: [sr-dev] removing xprint module

2019-11-25 Thread Daniel-Constantin Mierla
Hello, actually there are modules still using code from it: src/modules/db2_ops/db2_ops.c 34:#include "../../modules/xprint/xp_lib.h" src/modules/avp/avp.c 50:#include "../xprint/xp_lib.h" Then I am aware ofa few (initially) ser-based deployed that still have it. In general, the removal of a

[sr-dev] git:master:7be06d44: pike: use snprintf() instead of sprintf()

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7be06d444a0ca295e53efadb093f07e19a18cea8 URL: https://github.com/kamailio/kamailio/commit/7be06d444a0ca295e53efadb093f07e19a18cea8 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-25T11:29:16+01:00 pike: use snprintf()

[sr-dev] git:master:f39f7320: tm: use snprintf() instead of sprintf()

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f39f73204d53312612ef2c3d3cec9c2fd51532c7 URL: https://github.com/kamailio/kamailio/commit/f39f73204d53312612ef2c3d3cec9c2fd51532c7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-25T11:54:36+01:00 tm: use snprintf()

[sr-dev] git:master:d48ae799: app_lua_sr: use snprintf() instead of sprintf()

2019-11-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d48ae7995374ee4be01cdd28b4f65706a04b620c URL: https://github.com/kamailio/kamailio/commit/d48ae7995374ee4be01cdd28b4f65706a04b620c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-11-25T12:02:01+01:00 app_lua_sr: use

[sr-dev] git:master:00f4147a: tm: add support for dropping messages in local-request event route

2019-11-25 Thread Federico Cabiddu
Module: kamailio Branch: master Commit: 00f4147a410990d3ebeeef8825329bbdff728d1a URL: https://github.com/kamailio/kamailio/commit/00f4147a410990d3ebeeef8825329bbdff728d1a Author: Federico Cabiddu Committer: Federico Cabiddu Date: 2019-11-25T08:51:30+01:00 tm: add support for dropping messages

[sr-dev] git:master:2ad60234: tm: initialize the context before running event route

2019-11-25 Thread Federico Cabiddu
Module: kamailio Branch: master Commit: 2ad6023432ae37b1709638ead2c77e1e4130678a URL: https://github.com/kamailio/kamailio/commit/2ad6023432ae37b1709638ead2c77e1e4130678a Author: Federico Cabiddu Committer: Federico Cabiddu Date: 2019-11-25T09:14:40+01:00 tm: initialize the context before

[sr-dev] git:master:7966f102: Merge pull request #2147 from kamailio/grumvalski/local_request_drop

2019-11-25 Thread GitHub
Module: kamailio Branch: master Commit: 7966f10292cb3c0d0c1ccda20c8475822b4e0993 URL: https://github.com/kamailio/kamailio/commit/7966f10292cb3c0d0c1ccda20c8475822b4e0993 Author: Federico Cabiddu Committer: GitHub Date: 2019-11-25T19:29:21+01:00 Merge pull request #2147 from

Re: [sr-dev] [kamailio/kamailio] tm: add support for dropping messages in local-request event route (#2147)

2019-11-25 Thread Federico Cabiddu
Merged #2147 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/2147#event-2829172430___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] cancel the branches instantly instead of on provisional replies (#909)

2019-11-25 Thread Henning Westerholt
Thanks for the feedback -- 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/909#issuecomment-558287255___ Kamailio (SER) - Development

Re: [sr-dev] removing xprint module

2019-11-25 Thread Henning Westerholt
Hi Daniel, thanks - I somehow missed this, I just looked for the xprint API. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com Kamailio Merchandising - https://skalatan.de/merchandising From: Daniel-Constantin Mierla

[sr-dev] git:master:46b713d3: nathelper : added doc for set_alias_to_avp

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 46b713d35ebb99ccb60768d939d71f675bd016f5 URL: https://github.com/kamailio/kamailio/commit/46b713d35ebb99ccb60768d939d71f675bd016f5 Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : added doc for

Re: [sr-dev] [kamailio/kamailio] nathelper : added new function set_alias_to_pv (#2124)

2019-11-25 Thread Henning Westerholt
Thank you, merged. I will add 1-2 small formatting changes directly in git master. If there are more changes, they can be done directly in git master as well. -- 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:0cc8a34d: nathelper: small spelling fix in docs

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 0cc8a34d3ddf2239fa8b9585d2b4432fe8362116 URL: https://github.com/kamailio/kamailio/commit/0cc8a34d3ddf2239fa8b9585d2b4432fe8362116 Author: Henning Westerholt Committer: Henning Westerholt Date: 2019-11-25T20:45:46+01:00 nathelper: small spelling fix in

[sr-dev] git:master:9ba1a6c8: nathelper: remove redundant check for zero

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 9ba1a6c851aafc402f5fbe211638159717120c31 URL: https://github.com/kamailio/kamailio/commit/9ba1a6c851aafc402f5fbe211638159717120c31 Author: Henning Westerholt Committer: Henning Westerholt Date: 2019-11-25T20:48:05+01:00 nathelper: remove redundant check

[sr-dev] git:master:cef6284f: nathelper: remove AVP from log message, use generic term

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: cef6284f18e0d4c606dcee3198f77e34e4c0863d URL: https://github.com/kamailio/kamailio/commit/cef6284f18e0d4c606dcee3198f77e34e4c0863d Author: Henning Westerholt Committer: Henning Westerholt Date: 2019-11-25T20:53:37+01:00 nathelper: remove AVP from log

Re: [sr-dev] [kamailio/kamailio] ims_ipsec_pcscf: fixed warnings, added a new config param (#2148)

2019-11-25 Thread Henning Westerholt
Hello, thanks for the pull request. Please separate the bugfixes (that needs to be backported) from functional additions next time. I assume that the bugfix is in spi_gen.c and also one related to the log in int add_supported_secagree_header(struct sip_msg* m) . After merging I can manually

Re: [sr-dev] [kamailio/kamailio] cancel the branches instantly instead of on provisional replies (#909)

2019-11-25 Thread Henning Westerholt
Closed #909. -- 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/909#event-2829213081___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:29a81852: parse_uri : added new function proto type int to str

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 29a818525572e19510cafb7aef9ed62eab98a369 URL: https://github.com/kamailio/kamailio/commit/29a818525572e19510cafb7aef9ed62eab98a369 Author: root Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 parse_uri : added new function proto type int

[sr-dev] git:master:6b725120: nathelper : added new function set_alias_to_avp

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 6b725120bec491197c29bd059c11d8efea58255e URL: https://github.com/kamailio/kamailio/commit/6b725120bec491197c29bd059c11d8efea58255e Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : added new function

[sr-dev] git:master:138c9df9: nathelper : fixed memory-leak for set_alias_to_avp

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 138c9df907f04003bafe80bad3cb98e031a6ef50 URL: https://github.com/kamailio/kamailio/commit/138c9df907f04003bafe80bad3cb98e031a6ef50 Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : fixed memory-leak for

[sr-dev] git:master:72efa93c: nathelper : new function set_alias_to_avp_f is renamed

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 72efa93cbf5926402f008180c026d0afbd2c0f9f URL: https://github.com/kamailio/kamailio/commit/72efa93cbf5926402f008180c026d0afbd2c0f9f Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : new function

Re: [sr-dev] [kamailio/kamailio] nathelper : added new function set_alias_to_pv (#2124)

2019-11-25 Thread Henning Westerholt
Merged #2124 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/2124#event-2829364019___ Kamailio (SER) - Development Mailing

[sr-dev] git:master:28cfa397: nathelper : set_alias_to_avp is renamed to set_alias_to_pv

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 28cfa3978684838442fbd3b4861765023252e963 URL: https://github.com/kamailio/kamailio/commit/28cfa3978684838442fbd3b4861765023252e963 Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : set_alias_to_avp is renamed

[sr-dev] git:master:0fbc7a10: nathelper : added description of set_alias_to_avp function

2019-11-25 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 0fbc7a1026e6dc9dda34b75aef7a26e41ccf3b80 URL: https://github.com/kamailio/kamailio/commit/0fbc7a1026e6dc9dda34b75aef7a26e41ccf3b80 Author: Yasin CANER Committer: Henning Westerholt Date: 2019-11-25T20:33:30+01:00 nathelper : added description of

Re: [sr-dev] git:master:7fad9c51: app_sqlang: fix squirrel warning: ‘nArgs’ may be used uninitialized in this function

2019-11-25 Thread Henning Westerholt
Hi Daniel, Upstream issue: https://github.com/albertodemichelis/squirrel/issues/205 Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com Kamailio Merchandising – https://skalatan.de/merchandising From: Daniel-Constantin

Re: [sr-dev] git:master:063e6a02: core: increase SHM memory pool to 128 MB

2019-11-25 Thread Henning Westerholt
Hi Daniel, from time to time there are reports that people run into issues after trying to load larger data sets into the memory (e.g. with routing tables). I also thought about the system package files, if its ok I would also check them to increase it as well to 128 MB. Cheers, Henning --

[sr-dev] [kamailio/kamailio] Avoid full table scan for dispatcher table using db_redis using ds_reload() from config script In (#2149)

2019-11-25 Thread Joel Serrano
# Description Trying to avoid getting this warning: Nov 22 20:36:35 test COPS[25531]: WARNING: db_redis [redis_dbase.c:1098]: db_redis_perform_query(): performing full table scan on table 'dispatcher' while performing query ### Troubleshooting Having: ``` modparam("db_redis", "keys",