[sr-dev] Ubuntu 24.04 Packages for Kamailio 5.8 on deb.kamailio.org

2024-06-19 Thread Xenofon Karamanos via sr-dev
Hey everybody, While attempting to use the official Ubuntu package for Kamailio version 5.7.4 on Ubunut 24.04, we encountered an issue where TLS functionality does not seem to work as expected but 5.8 branch does. Given this, I am inquiring about the availability and status of Kamailio packages

[sr-dev] Re: Initial Support for CMake in Kamailio - Feedback Needed!

2024-06-17 Thread Xenofon Karamanos via sr-dev
Cheers, Daniel On 11.06.24 18:11, Xenofon Karamanos via sr-dev wrote: Hello all, I've started working on integrating CMake as a build system for the Kamailio. This is an initial step towards potentially offering CMake as an alternative to the current build system across the entire Kamailio p

[sr-dev] Re: Initial Support for CMake in Kamailio - Feedback Needed!

2024-06-12 Thread Xenofon Karamanos via sr-dev
6.24 18:11, Xenofon Karamanos via sr-dev wrote: Hello all, I've started working on integrating CMake as a build system for the Kamailio. This is an initial step towards potentially offering CMake as an alternative to the current build system across the entire Kamailio project. Right now, the CMake con

[sr-dev] Initial Support for CMake in Kamailio - Feedback Needed!

2024-06-11 Thread Xenofon Karamanos via sr-dev
Hello all, I've started working on integrating CMake as a build system for the Kamailio. This is an initial step towards potentially offering CMake as an alternative to the current build system across the entire Kamailio project. Right now, the CMake configuration is quite basic and covers only

[sr-dev] [kamailio/kamailio] pua_dialoginfo: Fix ruri length (PR #3871)

2024-06-07 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] Re: [kamailio/kamailio] pua_dialoginfo fails to publish the caller when not using avps (Issue #3838)

2024-06-07 Thread Xenofon Karamanos via sr-dev
Hey @michelpelletier07, Thanks for reporting this! Your patch seems to fix the problem and is in line with the rest of the code in the file regarding the `s.len` variables. Would you like to create the PR yourself since you did the work? Otherwise, I can do it of course. If you choose to do

[sr-dev] git:master:8e0b2e4b: nathelper: fixed handle_ruri_alias_mode(1) cannot proper handle multi alias

2024-06-05 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 8e0b2e4b6450fa50bd573fa013dc888aaaccd2bf URL: https://github.com/kamailio/kamailio/commit/8e0b2e4b6450fa50bd573fa013dc888aaaccd2bf Author: codenot Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Date: 2024-06-04T13:38:17+03:00

[sr-dev] git:master:06d583e3: core/resolve: Check dns_cache_init and choose appropriate functions

2024-06-05 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 06d583e356351ae9d8a559c9f5de3e57fb128a38 URL: https://github.com/kamailio/kamailio/commit/06d583e356351ae9d8a559c9f5de3e57fb128a38 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:3d187336: nathelper: remove magic constant

2024-06-05 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 3d187336f22e30800acefd28e4d0f98e0f677a49 URL: https://github.com/kamailio/kamailio/commit/3d187336f22e30800acefd28e4d0f98e0f677a49 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] fixed handle_ruri_alias_mode(1) cannot proper handle multi alias (PR #3863)

2024-06-04 Thread Xenofon Karamanos via sr-dev
Merged #3863 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3863#event-13034200171 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-06-04 Thread Xenofon Karamanos via sr-dev
Thanks for reporting and testing! #3858 Merged to master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3350#issuecomment-2147092245 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-06-04 Thread Xenofon Karamanos via sr-dev
Closed #3350 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3350#event-13033482386 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-04 Thread Xenofon Karamanos via sr-dev
Merged #3858 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3858#event-13033452964 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-04 Thread Xenofon Karamanos via sr-dev
Thanks, merging! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3858#issuecomment-2147088159 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] fixed handle_ruri_alias_mode(1) cannot proper handle multi alias (PR #3863)

2024-06-04 Thread Xenofon Karamanos via sr-dev
@miconda Yeap, i did some experiments with the patch and it works as intended now. Rebased to master, removed the `+4` magic constant and will merge when checks pass. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] fixed handle_ruri_alias_mode(1) cannot proper handle multi alias (PR #3863)

2024-06-04 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 2 commits. 642dd10c3968468a4a1201e5a39f138f5bcf510f nathelper: fixed handle_ruri_alias_mode(1) cannot proper handle multi alias 32c73c34c8eaaa703693de414a72058db8423f23 nathelper: remove magic constant -- View it on GitHub:

[sr-dev] Re: [kamailio/kamailio] fixed handle_ruri_alias_mode(1) cannot proper handle multi alias (PR #3863)

2024-06-03 Thread Xenofon Karamanos via sr-dev
@miconda @henningw Indeed the patch seems to resolve the problem. The issue seems to be happening due to the line here. https://github.com/kamailio/kamailio/blob/51dcab019a42e5b1f3b81247ca71ffcaf46180de/src/modules/nathelper/nathelper.c#L1180-L1184 We use the `rest=start;` to search for the

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-03 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. 0275d334c5b25548e92c40bb981540e2ec61d986 core/resolve: Check dns_cache_init and choose appropriate functions -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3858/files/ce47096d86bdf9379091d0a48676763d9b249a83..0275d334c5b25548e92c40bb981540e2ec61d986

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -1833,6 +1847,23 @@ ip_addr_t *str2ip(str *st) return ipb; } +struct hostent *__resolvehost(char *name) +{ + if(dns_cache_init) { + return dns_resolvehost(name); + } else { + return

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-03 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. ce47096d86bdf9379091d0a48676763d9b249a83 core/resolve: Check dns_cache_init and choose appropriate functions -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3858/files/1babeb1941b8b068144b4ef988c0ad31e813e68f..ce47096d86bdf9379091d0a48676763d9b249a83

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-06-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -1623,7 +1623,12 @@ struct hostent *no_naptr_srv_sip_resolvehost( srv_name.s = tmp_srv; srv_name.len = strlen(tmp_srv); #ifdef USE_DNS_CACHE - he = dns_srv_get_he(_name, port,

[sr-dev] Re: [kamailio/kamailio] fixed handle_ruri_alias_mode(1) cannot proper handle multi alias (PR #3863)

2024-05-31 Thread Xenofon Karamanos via sr-dev
Updated the commit's message to match the guidelines and will be merged soon if no more comments. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3863#issuecomment-2141827856 You are receiving this because you are subscribed to this thread.

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-30 Thread Xenofon Karamanos via sr-dev
I pushed a new update on the PR, can you maybe try it again and report back? With your config and without the patch, indeed kamailio crashes at some point. With the new patch, it doesn't crash at all but want to verify that I replicated it correctly. -- Reply to this email directly or view

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-05-30 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. 1babeb1941b8b068144b4ef988c0ad31e813e68f core/resolve: Check dns_cache_init and choose appropriate functions -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3858/files/df02022cb9f02b809be4069b596c26485b2f23cb..1babeb1941b8b068144b4ef988c0ad31e813e68f

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-29 Thread Xenofon Karamanos via sr-dev
@dilyanpalauzov So in 5.7 it worked correctly? I could try to see what changed in between. Do you have any more details of where it crashed after the patch or some trace I can look into? Thanks -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] During de-registration procedure, clean-up is not happening if contact has * value (Issue #3848)

2024-05-29 Thread Xenofon Karamanos via sr-dev
@deepak-git-account `save_pending()` does not seem to handle de-registrations according to function code https://github.com/kamailio/kamailio/blob/8363208fff7c101a2779ff64783e5b7dbf8ffd7c/src/modules/ims_registrar_pcscf/save.c#L354. Can you maybe use the `save()` function? It needs to be

[sr-dev] git:5.8:c1c8c066: db_cluster: Update log levels

2024-05-25 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: c1c8c066b29798189a50dd9b4f27c5af574d991d URL: https://github.com/kamailio/kamailio/commit/c1c8c066b29798189a50dd9b4f27c5af574d991d Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:5.7:afa4e92b: db_cluster: Update log levels

2024-05-25 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.7 Commit: afa4e92bbdc30bc76f0a27f73ef8c57802be99bf URL: https://github.com/kamailio/kamailio/commit/afa4e92bbdc30bc76f0a27f73ef8c57802be99bf Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] During de-registration procedure, clean-up is not happening if contact has * value (Issue #3848)

2024-05-24 Thread Xenofon Karamanos via sr-dev
Hey there @deepak-git-account , The RFC also states that The REGISTER-specific Contact header field value of "*" applies to all registrations, **but it MUST NOT be used unless the Expires header field is present with a value of "0"**. If you set the `Expires` header to 0, all all bindings

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-24 Thread Xenofon Karamanos via sr-dev
@dilyanpalauzov I just pushed https://github.com/kamailio/kamailio/pull/3858 for a possible fix. Can you confirm that you no longer see the crash, and that it functions properly? Thanks -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-05-24 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. df02022cb9f02b809be4069b596c26485b2f23cb core/resolve: Check dns_cache_init and choose appropriate functions -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3858/files/93801ed11d0098634db621765e63423bd6e5456b..df02022cb9f02b809be4069b596c26485b2f23cb

[sr-dev] [kamailio/kamailio] core/resolve: Check dns_cache_init and choose appropriate functions (PR #3858)

2024-05-24 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-23 Thread Xenofon Karamanos via sr-dev
Hmm interesting thing, indeed with LuaJIT and your `routing_logic.luajit`, kamailio crashes, but when used with my `kamailio.lua` does not. Both LUA files have the offending line off `KSR.enum.enum_query()` and `dns_cache_init=off`. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] Segfault in pua_dialoginfo.c when starting up with a dialog in the database (Issue #3743)

2024-05-21 Thread Xenofon Karamanos via sr-dev
Hey again, i managed to reproduce it on 5.7.4 (also on 5.7.5) but it seems to be fixed in 5.8.1 and master already. Can you maybe verify that this is the case? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3743#issuecomment-2123058991 You are

[sr-dev] Re: [kamailio/kamailio] Segfault in pua_dialoginfo.c when starting up with a dialog in the database (Issue #3743)

2024-05-21 Thread Xenofon Karamanos via sr-dev
Hey @gianluca-nitti, Do you have any special config for the modules pua, dialog and pua_dialoginfo that you can provide? I am probably missing something when trying to replicate it with the provided dump and default configs. Thanks, -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-20 Thread Xenofon Karamanos via sr-dev
Also used in lua with no problems. Using the `app_lua` module, the provided configs and sending a test message multiple times produces the output you have described with no crash on kamalio 5.6.3 and 5.8.1. kamailio.cfg ``` ... dns_cache_init=off use_dns_cache=off # I tried all the config

[sr-dev] Re: [kamailio/kamailio] Crash in dns_cache.c with dns_cache_init=off (Issue #3350)

2024-05-20 Thread Xenofon Karamanos via sr-dev
@dilyanpalauzov Hey can you confirm if this only happens on LUA config or also on the native config file? I've tried on native config file and it seems to be operating fine for both dns_cache_init=off/on. -- Reply to this email directly or view it on GitHub:

[sr-dev] git:master:467dbf3e: db_cluster: Update log levels

2024-05-15 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 467dbf3e1be16d5a760178d0801834ac67bad888 URL: https://github.com/kamailio/kamailio/commit/467dbf3e1be16d5a760178d0801834ac67bad888 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] db_cluster: Update log levels and failed connection id (PR #3834)

2024-05-15 Thread Xenofon Karamanos via sr-dev
Merged #3834 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3834#event-12812695069 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: TLS.reload and memory usage of SSL_CTX structs

2024-05-14 Thread Xenofon Karamanos via sr-dev
Cheers, Daniel On 14.05.24 10:36, Xenofon Karamanos via sr-dev wrote: Hello all, I am currently looking into issue https://github.com/kamailio/kamailio/issues/3823 regarding the tls.reload and the constant increase in memory usage when it's called. I tried to look something up related

[sr-dev] TLS.reload and memory usage of SSL_CTX structs

2024-05-14 Thread Xenofon Karamanos via sr-dev
Hello all, I am currently looking into issue https://github.com/kamailio/kamailio/issues/3823 regarding the tls.reload and the constant increase in memory usage when it's called. I tried to look something up related to CRL and related functions for what causing it but nothing to obvious. The

[sr-dev] Re: [kamailio/kamailio] Memory usage increases everytime tls.reload is executed (Issue #3823)

2024-05-09 Thread Xenofon Karamanos via sr-dev
After some time debuging, I could replicate this issue of memory increase when using a CRL and tls.reload. One possible issue according to memory statistics printed frequently while we have `while true ; do /usr/sbin/kamcmd tls.reload ; /usr/sbin/kamcmd tls.reload ; sleep 0.5 ; done` running

[sr-dev] Re: [kamailio/kamailio] db_cluster: Update log levels and failed connection id (PR #3834)

2024-05-08 Thread Xenofon Karamanos via sr-dev
If there are no comments, this will be merged in the following days! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3834#issuecomment-213895 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] [kamailio/kamailio] db_cluster: Update log levels and failed connection id (PR #3834)

2024-04-30 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] Re: [kamailio/kamailio] free_fixup functions in cmd_export_t are not called (Issue #3814)

2024-04-26 Thread Xenofon Karamanos via sr-dev
I meant the two cases of functions calls, one with the expressions and not! See updated comments above for more details -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3814#issuecomment-2079413286 You are receiving this because you are

[sr-dev] Re: [kamailio/kamailio] free_fixup functions in cmd_export_t are not called (Issue #3814)

2024-04-26 Thread Xenofon Karamanos via sr-dev
Indeed, when using `func1($var(x) + $var(y));` syntax the `fixup_free` is getting called right after the call to the actual `func1`. It should be called in both cases though since the `fixup` is also called for both, right? or is the behavior we observe now is expected? -- Reply to this

[sr-dev] Re: [kamailio/kamailio] core/tcp_main: Match protocol when lookup tcp/tls connections (PR #3810)

2024-04-16 Thread Xenofon Karamanos via sr-dev
@frideo thanks for the confirmation james! @henningw thanks for merging it! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3810#issuecomment-2059316473 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] [kamailio/kamailio] free_fixup functions in cmd_export_t are not called (Issue #3814)

2024-04-15 Thread Xenofon Karamanos via sr-dev
### Description It seems that the fixup_free_* functions are not getting called when used with: ``` static cmd_export_t cmds[] = { {"acc_log_request", (cmd_function)w_acc_log_request, 1, acc_fixup, free_acc_fixup, ANY_ROUTE}, // ... {0, 0, 0, 0, 0, 0} }; static int

[sr-dev] Re: [kamailio/kamailio] pike: fix documentation for reqs_density_per_unit (PR #3806)

2024-04-15 Thread Xenofon Karamanos via sr-dev
I think in general it shouldn;t be merged. But I am also not really familiar and might have understood the inner workings of the modules. Some points though, might need updating like: - [re split between itself and its child--both of them gone have

[sr-dev] Re: [kamailio/kamailio] core/tcp_main: Match protocol when lookup tcp/tls connections (PR #3810)

2024-04-15 Thread Xenofon Karamanos via sr-dev
Ok, thanks for the review! If there are no other comments, I will merge it today -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3810#issuecomment-2056406356 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] git:master:8bc64a9e: corex: Fix unknown af in list_sockets

2024-04-14 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 8bc64a9e6820243336387d9cd9acf81f24d89993 URL: https://github.com/kamailio/kamailio/commit/8bc64a9e6820243336387d9cd9acf81f24d89993 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] Chaining Transformations {uri.param,received}{uri.host} does not work for IPv6 (Issue #3794)

2024-04-11 Thread Xenofon Karamanos via sr-dev
@ChristianBergerSipgate Can you confrim that your $du contains a valid sip message? is it manually constructed or otherwise created? it seems to have a missing `:` in the `received` param. `du=sip:1.2.4.129;lr;received=sip[2001:db8:0123:4567:89ab:cdef:dead:beef]:1234` should be

[sr-dev] Re: [kamailio/kamailio] corex: Fix unknown af in list_sockets rpc call (PR #3811)

2024-04-11 Thread Xenofon Karamanos via sr-dev
Merged #3811 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3811#event-12434963200 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] corex.list_sockets broken output (Issue #3799)

2024-04-11 Thread Xenofon Karamanos via sr-dev
@sergey-safarov A change was pushed in https://github.com/kamailio/kamailio/pull/3811. can you confirm also that it works? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3799#issuecomment-2049429419 You are receiving this because you are

[sr-dev] [kamailio/kamailio] corex: Fix unknown af in list_sockets rpc call (PR #3811)

2024-04-11 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] [kamailio/kamailio] core/tcp_main: Match protocol when lookup tcp/tls connections (PR #3810)

2024-04-10 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] git:master:812ad6eb: ipops: Add brief comment for ptr_query

2024-04-10 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 812ad6eb4e49426197e2860b89b255fffb018b5a URL: https://github.com/kamailio/kamailio/commit/812ad6eb4e49426197e2860b89b255fffb018b5a Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:9181ee56: ipops: Move structures to header

2024-04-10 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 9181ee56e8e90845982a5d994b96917c1e03d059 URL: https://github.com/kamailio/kamailio/commit/9181ee56e8e90845982a5d994b96917c1e03d059 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:a824e939: ipops: Add ptr_query docs

2024-04-10 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: a824e939b589ae595fc735de1337a8bf4470de20 URL: https://github.com/kamailio/kamailio/commit/a824e939b589ae595fc735de1337a8bf4470de20 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:4c775edd: ipops: Add PTR query support

2024-04-10 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 4c775eddaf76cbaf376bfb2d0e5efc78d0d60dc4 URL: https://github.com/kamailio/kamailio/commit/4c775eddaf76cbaf376bfb2d0e5efc78d0d60dc4 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:5a5b96c8: ipops: Add KEMI wrapper for ptr_query function

2024-04-10 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 5a5b96c8a1906b45873e50243f5946b8db5a068b URL: https://github.com/kamailio/kamailio/commit/5a5b96c8a1906b45873e50243f5946b8db5a068b Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-09 Thread Xenofon Karamanos via sr-dev
Thanks! Merged! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3802#issuecomment-2044674991 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-09 Thread Xenofon Karamanos via sr-dev
Merged #3802 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3802#event-12404595064 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] pike: fix documentation for reqs_density_per_unit (PR #3806)

2024-04-09 Thread Xenofon Karamanos via sr-dev
@tsearle After reading the documentation [here](https://www.kamailio.org/docs/modules/devel/modules/pike.html#idm153), specifically Chapter 3. Development Guide, and a bit of code reading regarding this module, it's seems that current documentation is correct. Internally, pike module uses a

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-08 Thread Xenofon Karamanos via sr-dev
So i've rebased to master and squashed some commits to make it more manageable. I have also add some more in-code comments/doc. If there are no other suggestions/review, I will merge it soon. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-08 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 5 commits. 8fa52eaa74ddb2a1fecb0fbc6cebf0cb7adb8ea3 ipops: Move structures to header c830d0ddd9bcf053f5ed570d7ce92a5eabf68310 ipops: Add PTR query support e987f151ad87c0a611b8a3320cecbb7379b09767 ipops: Add ptr_query docs 624b3c4f2dff29d038d929197690d6c223e9c531 ipops: Add

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > +/** + * + */ +static int w_ptr_query(sip_msg_t *msg, char *ip, char *pv_name) +{ + str ip_address; + str name; + + if(msg == NULL) { + LM_ERR("received null msg\n"); + return -1; + } + +

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > + +ptr_query(ip, pvid) + + + + Store the hostname that correspond to ip + in a config variable $ptrquery(pvid=>hostname). + + + Parameters: + + + + +

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -883,6 +883,57 @@ if(dns_query("test.com", "xyz")) + + +ptr_query(ip, pvid) + + + + Store the hostname that correspond to ip + in a config variable $ptrquery(pvid=>hostname).

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -883,6 +883,57 @@ if(dns_query("test.com", "xyz")) + + +ptr_query(ip, pvid) + + + + Store the hostname that correspond to ip Fixed -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -418,6 +413,91 @@ int dns_update_pv(str *hostname, str *name) return 1; } +/* +* Fixed -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3802#discussion_r1549285664 You are receiving this

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > +ipv4 - 1 if IPv4 address + + + + +ipv6 - 1 if IPv6 address + + For these i am not exactly sure their purpose. They were accesible before these commits. Are they for

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 4 commits. 348b95f86226b38ece4706684145caeab40272b9 ipops/docs: Add docs 893df07908c758863f814303b3689f172b9d7a2a ipops: Fix ip_type 60a70eebfc57c2103029b1afab60473441dad3cc ipops: Add new line 3027862b16052a8f08275fcc1f929c05c08aa98c ipops/doc: Update docs -- View it on

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > + Store the hostname that correspond to ip + in a config variable $ptrquery(pvid=>hostname). + + + Parameters: + + + + + ip - string or pseudo-variable

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-03 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > + Store the hostname that correspond to ip + in a config variable $ptrquery(pvid=>hostname). + + + Parameters: + + + + + ip - string or pseudo-variable

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -1292,6 +1297,31 @@ static int ki_dns_query(sip_msg_t *msg, str > *naptrname, str *pvid) return dns_update_pv(naptrname, pvid); } +/** + * Fixed -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. 06e86a429dec156951d938e9e4b6590f61ac2a86 ipops: Add brief comment for ptr_query -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3802/files/be6447a94e0e8871da2a813f638f36afea786250..06e86a429dec156951d938e9e4b6590f61ac2a86 You are receiving this

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
Docs added regarding `ptr_query`. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3802#issuecomment-2032349895 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > +/** + * + */ +static int w_ptr_query(sip_msg_t *msg, char *ip, char *pv_name) +{ + str ip_address; + str name; + + if(msg == NULL) { + LM_ERR("received null msg\n"); + return -1; + } + +

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
@xkaraman commented on this pull request. > @@ -1292,6 +1297,31 @@ static int ki_dns_query(sip_msg_t *msg, str > *naptrname, str *pvid) return dns_update_pv(naptrname, pvid); } +/** + * I'll be glad to add some comments! i was just following the style in the file that was just

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. be6447a94e0e8871da2a813f638f36afea786250 ipops: Add ptr_query docs -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3802/files/14c2b44b126bd0eb83387f529ce1cf8d4a720d3c..be6447a94e0e8871da2a813f638f36afea786250 You are receiving this because you are

[sr-dev] Re: [kamailio/kamailio] ipops: Add PTR query support (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
Oh good catch! Yep, will do! -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3802#issuecomment-2032293478 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio

[sr-dev] [kamailio/kamailio] Add PRT query support to ipops module (PR #3802)

2024-04-02 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] git:5.8:f4d44a92: tls: Fix ??????for?????? loop initial declarations error

2024-03-28 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: f4d44a9201a79acf0620a005008f2594ff8d26ee URL: https://github.com/kamailio/kamailio/commit/f4d44a9201a79acf0620a005008f2594ff8d26ee Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:5.8:613e2cdf: file_out: FIx ??????for?????? loop initial declarations error

2024-03-28 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: 613e2cdfc3ae9242d259bf8b67b6ed715c0c0ad8 URL: https://github.com/kamailio/kamailio/commit/613e2cdfc3ae9242d259bf8b67b6ed715c0c0ad8 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:ae04ccac: file_out: FIx ??????for?????? loop initial declarations error

2024-03-28 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: ae04ccac92225a1e7b573a28ded555789e8604cd URL: https://github.com/kamailio/kamailio/commit/ae04ccac92225a1e7b573a28ded555789e8604cd Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:9f2abc69: tls: Fix ??????for?????? loop initial declarations error

2024-03-28 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 9f2abc69e27c4b3246628138ec81fced81d7bc7a URL: https://github.com/kamailio/kamailio/commit/9f2abc69e27c4b3246628138ec81fced81d7bc7a Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] Re: [kamailio/kamailio] Kamailio 5.7 TLS fail to compile (Issue #3796)

2024-03-27 Thread Xenofon Karamanos via sr-dev
Closed #3796 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3796#event-12268276725 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] Kamailio 5.7 TLS fail to compile (Issue #3796)

2024-03-27 Thread Xenofon Karamanos via sr-dev
Fixed in #3797 -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3796#issuecomment-2023158554 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] Fix 'for' loop initial declarations error (PR #3797)

2024-03-27 Thread Xenofon Karamanos via sr-dev
Merged #3797 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3797#event-12268266574 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] [kamailio/kamailio] Fix 'for' loop initial declarations error (PR #3797)

2024-03-27 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] git:5.8:3fac5afc: file_out: Cast to correct type of str

2024-03-26 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: 3fac5afc42a606391d6a7c0337ef5e4e136d6b80 URL: https://github.com/kamailio/kamailio/commit/3fac5afc42a606391d6a7c0337ef5e4e136d6b80 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:5.8:028ba8f9: file_out: additional checks for silenting warnings

2024-03-26 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: 028ba8f9d6bc40dcd47e6a0e5b40e5b3e2ea7b17 URL: https://github.com/kamailio/kamailio/commit/028ba8f9d6bc40dcd47e6a0e5b40e5b3e2ea7b17 Author: Daniel-Constantin Mierla Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Date:

[sr-dev] git:master:4ada8180: file_out: Cast to correct type of str

2024-03-23 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 4ada818099b5b7cb7deff1b1ce93b5aacaa1b84e URL: https://github.com/kamailio/kamailio/commit/4ada818099b5b7cb7deff1b1ce93b5aacaa1b84e Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:e36b2232: file_out: Fix var position and initialize

2024-03-15 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: e36b2232e9b097794845659f71543bc57ef58a35 URL: https://github.com/kamailio/kamailio/commit/e36b2232e9b097794845659f71543bc57ef58a35 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:5.8:d6cd0859: file_out: Fix var position and initialize

2024-03-15 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: d6cd0859158a8013e998ec779e956a550b493934 URL: https://github.com/kamailio/kamailio/commit/d6cd0859158a8013e998ec779e956a550b493934 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] [kamailio/kamailio] Update TLS docs (PR #3776)

2024-03-05 Thread Xenofon Karamanos via sr-dev
!-- 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

[sr-dev] git:5.8:59ab5855: file_out: Fix leaks

2024-02-29 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: 59ab58551e5895b710893985d0072c8c510c672c URL: https://github.com/kamailio/kamailio/commit/59ab58551e5895b710893985d0072c8c510c672c Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:5.8:6721fb7a: file_out: Add header guards

2024-02-29 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: 5.8 Commit: 6721fb7aae373d42c4059a630fc79815d2f709b7 URL: https://github.com/kamailio/kamailio/commit/6721fb7aae373d42c4059a630fc79815d2f709b7 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

[sr-dev] git:master:967fb30b: file_out: Add header guards

2024-02-27 Thread Xenofon Karamanos via sr-dev
Module: kamailio Branch: master Commit: 967fb30b14fb63bcb396956f9e9ed0ca92028682 URL: https://github.com/kamailio/kamailio/commit/967fb30b14fb63bcb396956f9e9ed0ca92028682 Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com> Committer: Xenofon Karamanos

  1   2   >