[sr-dev] [kamailio/kamailio] rtpengine: multipart content dropped when used read_sdp_pv (Issue #3854)

2024-05-15 Thread sergey-safarov via sr-dev
### Description When configured `read_sdp_pv` param for rtpengine module, then multipart content dropped in the body. And the message cannot be parsed because ``` Content-Type: multipart/mixed;boundary=level3-boundary ``` But the message body does not have a separator. ### Troubleshooting

[sr-dev] Re: [kamailio/kamailio] db_mysql: failed build on CentOS 7 (Issue #3809)

2024-05-13 Thread sergey-safarov via sr-dev
Closed #3809 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3809#event-12786067639 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] db_mysql: fixed build on CentOS 7 (PR #3847)

2024-05-12 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 1 commit. aa9b7cd96dec96c68f9801230121665667d027f8 db_mysql: fixed build on CentOS 7 -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3847/files/2657f14baba280b0d3a0e4977b7f5bc06127779b..aa9b7cd96dec96c68f9801230121665667d027f8 You are receiving

[sr-dev] [kamailio/kamailio] db_mysql: fixed build on CentOS 7 (PR #3847)

2024-05-11 Thread sergey-safarov via sr-dev
Pre-Submission Checklist - [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

[sr-dev] Re: Proposing 6.0.x for next stable release series

2024-05-09 Thread Sergey Safarov via sr-dev
Having sockets created by systemd and then used from Kamailio will be fine. This will allow the restart/upgrade of the Kamailio without dropping TCP/TLS connections. Just idea. On Thu, May 9, 2024 at 12:15 PM Victor Seva via sr-dev < sr-dev@lists.kamailio.org> wrote: > Hi! > > On 8/5/24 14:02,

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

2024-05-07 Thread sergey-safarov via sr-dev
Could you compare it with a graph for our server for last 60 days and about 25 WebRTC clients? ![image](https://github.com/kamailio/kamailio/assets/2562241/b11398b8-9701-46e1-a4d9-e8ef188a2286) and ![image](https://github.com/kamailio/kamailio/assets/2562241/3d1e7688-d6ff-425c-b1b5-5c736159a66f)

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

2024-05-07 Thread sergey-safarov via sr-dev
@denzs do you have a monitoring tool? Prometheus + Graphana graphs? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3823#issuecomment-2097644997 You are receiving this because you are subscribed to this thread. Message ID:

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

2024-04-11 Thread sergey-safarov via sr-dev
yes, works for me. Closing. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3799#issuecomment-2049617430 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 sergey-safarov via sr-dev
Closed #3799 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3799#event-12436049249 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] db_mysql: failed build on CentOS 7 (Issue #3809)

2024-04-11 Thread sergey-safarov via sr-dev
How about this change ```diff diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c index 4c756db..bab3e44 100644 --- a/src/modules/db_mysql/km_my_con.c +++ b/src/modules/db_mysql/km_my_con.c @@ -178,9 +178,16 @@ struct my_con *db_mysql_new_connection(const struct db_id

[sr-dev] Re: [kamailio/kamailio] db_mysql: failed build on CentOS 7 (Issue #3809)

2024-04-11 Thread sergey-safarov via sr-dev
I am fine with all of these cases: 1. add `#ifdef` for SSL support into db_mysql; 2. drop `CentOS 7` support; 3. build db_mysql module with MariaDB devel packages. @miconda @linuxmaniac @henningw what is your opinion? -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] db_mysql: failed build on CentOS 7 (Issue #3809)

2024-04-10 Thread sergey-safarov via sr-dev
This is related to commit ea81e6cb8b2b2d896de7a07ce191876f9f182673 @space88man could you look. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3809#issuecomment-2047075397 You are receiving this because you are subscribed to this thread. Message

[sr-dev] [kamailio/kamailio] db_mysql: failed build on CentOS 7 (Issue #3809)

2024-04-10 Thread sergey-safarov via sr-dev
### Description I can see this error during db_mysql compilation on CentOS 7 ``` CC (gcc) [M db_mysql.so] km_dbase.o CC (gcc) [M db_mysql.so] km_val.o CC (gcc) [M db_mysql.so] km_row.o CC (gcc) [M db_mysql.so] km_my_con.o km_my_con.c: In function

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

2024-03-30 Thread sergey-safarov via sr-dev
### Description I found `corex.list_sockets` does not show the address family (`af`) properly But `core.sockets_list` properly shows the address family (`af`). ### Troubleshooting Reproduction Required to create a config file with content like ``` loadmodule "pv.so" loadmodule "ctl.so"

[sr-dev] git:master:4137a8c6: pkg/kamailio: packaged pvtpl module into RPM

2024-03-27 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: master Commit: 4137a8c63a03a316a0fa0f37d518a09e68273309 URL: https://github.com/kamailio/kamailio/commit/4137a8c63a03a316a0fa0f37d518a09e68273309 Author: Sergey Safarov Committer: Sergey Safarov Date: 2024-03-27T09:57:29+02:00 pkg/kamailio: packaged pvtpl module

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 3 commits. 929854ef7cb194b138c2e9a28b98f920f17d6bc0 core: updated TCP connection selection for haproxy and Via header processing 25960ff1873ece98172c660c96c9f61140e044f8 siptrace: fixed siptrace when tcp haproxy is used 444e42229b2ffeeb34547894966708047b2b90fa siprec

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 5 commits. bf71af1811710c06a425d3e45245960b25b87922 core, rr, path: updated relaying logic when haproxy is used 383015a2c6fcd23fb1ebac1e1ae44839a616d3d8 fixed transport via haproxy b1496c493208f62bc784a699eb3e9ac2be471691 core: updated TCP connection selection

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 1 commit. 361326d0827cd795a3d276e4b67a37214d78c87a WIP: format-4 -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3731/files/d81c1fed7233b8117998022bd5725e920078c753..361326d0827cd795a3d276e4b67a37214d78c87a You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 1 commit. d81c1fed7233b8117998022bd5725e920078c753 WIP: format-3 -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3731/files/f8f0b7198badfac6741fbfdbd202cdf0043ad57c..d81c1fed7233b8117998022bd5725e920078c753 You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 1 commit. f8f0b7198badfac6741fbfdbd202cdf0043ad57c WIP: format-2 -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3731/files/90e2cfc1eb90b881e021e85f60aaf5551d69f286..f8f0b7198badfac6741fbfdbd202cdf0043ad57c You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 1 commit. 90e2cfc1eb90b881e021e85f60aaf5551d69f286 WIP: format-1 -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3731/files/96795acd315c423aa4b5186151be7cffdba71cbc..90e2cfc1eb90b881e021e85f60aaf5551d69f286 You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-03-18 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 5 commits. 33087b06c578679d9c54c90dd5a871306fcc4036 core, rr, path: updated relaying logic when haproxy is used 8c4627555f5b6eed802238a6a24c0579d1ce48f0 fixed transport via haproxy 43452b75e45303d4a00078730256246ffeebbcd7 core: updated TCP connection selection

[sr-dev] Re: [kamailio/kamailio] Allow builders to disable wolfssl module (PR #3781)

2024-03-14 Thread sergey-safarov via sr-dev
PR looks reasonable to me. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3781#issuecomment-1996748855 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] git:5.8:c229e11b: pkg/kamailio/obs: packaged README.file_out

2024-03-11 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: 5.8 Commit: c229e11ba39da40cadaecd1b6aa3ae153e014bb1 URL: https://github.com/kamailio/kamailio/commit/c229e11ba39da40cadaecd1b6aa3ae153e014bb1 Author: Sergey Safarov Committer: Sergey Safarov Date: 2024-03-12T04:22:53+02:00 pkg/kamailio/obs: packaged README.file_out

[sr-dev] git:master:20edb642: pkg/kamailio/obs: packaged README.file_out

2024-03-07 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: master Commit: 20edb64247a20a5d6b4b8bfb264b6e31d283b039 URL: https://github.com/kamailio/kamailio/commit/20edb64247a20a5d6b4b8bfb264b6e31d283b039 Author: Sergey Safarov Committer: Sergey Safarov Date: 2024-03-07T13:32:22+02:00 pkg/kamailio/obs: packaged

[sr-dev] [kamailio/kamailio] RTPengine call was not terminated on BYE (Issue #3749)

2024-02-08 Thread sergey-safarov via sr-dev
### Description Via sngrep I can see call was terminated via BYE message but was not terminated on RTPengine hosts. The `rtpengine-ctl list sessions all` show calls that was terminated properly via BYE message. In the kamailio config used `rtpengine_manage` function. I do not have any idea how

[sr-dev] Re: [kamailio/kamailio] RFE: RPM packaging of wolfSSL 5.6.6 for upcoming freeze/5.7 release (Issue #3713)

2024-02-04 Thread sergey-safarov via sr-dev
I have rebuilt wolfssl 5.6.6 in placed it into the Kamailio repo. Now 5.8 branch release will be linked with the new wolfssl version. [wolfssl-5.6.6-1.x86_64.rpm ](https://rpm.kamailio.org/centos/9/master/master/x86_64/Packages/w/wolfssl-5.6.6-1.x86_64.rpm) -- Reply to this email directly or

[sr-dev] git:master:81605f92: pkg/kamailio: RPM packaged new modules

2024-02-04 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: master Commit: 81605f9289364a273a7b904d12972a6d01dc6207 URL: https://github.com/kamailio/kamailio/commit/81605f9289364a273a7b904d12972a6d01dc6207 Author: Sergey Safarov Committer: Sergey Safarov Date: 2024-02-04T17:53:48+02:00 pkg/kamailio: RPM packaged new modules

[sr-dev] Re: [kamailio/kamailio] RFE: RPM packaging of wolfSSL 5.6.6 for upcoming freeze/5.7 release (Issue #3713)

2024-02-04 Thread sergey-safarov via sr-dev
> the reason is that wolfssl does not support semantic versioning and will bump > the soname even with a minor release: e.g. 5.6.4 -> soname 41 5.6.6 -> soname > 42. I think it is managed by the wolfssl rpm package in kamailio repo. When we update wolfssl and then build new kamailio release,

[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-01-28 Thread sergey-safarov via sr-dev
We work to clean warning ``` CC (gcc) [kamailio]core/daemonize.o CC (gcc) [kamailio]core/msg_translator.o core/msg_translator.c: In function ‘lumps_len’: core/msg_translator.c:558:6: warning: variable ‘recv_port_no’ set but not used [-Wunused-but-set-variable] int recv_port_no = 0;

[sr-dev] [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-01-28 Thread sergey-safarov via sr-dev
Pre-Submission Checklist - [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

[sr-dev] Re: [kamailio/kamailio] RFE: RPM packaging of wolfSSL 5.6.6 for upcoming freeze/5.7 release (Issue #3713)

2024-01-16 Thread sergey-safarov via sr-dev
And update dependent wolfssl RPM package? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3713#issuecomment-1894028756 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] RFE: RPM packaging of wolfSSL 5.6.6 for upcoming freeze/5.7 release (Issue #3713)

2024-01-16 Thread sergey-safarov via sr-dev
@space88man do I understand properly you want package wolfssl module in the 5.6.6 release? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3713#issuecomment-1894025884 You are receiving this because you are subscribed to this thread. Message

[sr-dev] Re: [kamailio/kamailio] unistr.h: No such file or directory (#2020)

2024-01-12 Thread Sergey Safarov via sr-dev
I think yes, required install "libunistring-devel" https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.spec#L1097-L1101 On Thu, Jan 11, 2024 at 11:58 AM ljql2001 via sr-dev < sr-dev@lists.kamailio.org> wrote: > Also, should install "libunistring-devel" instead of

[sr-dev] Re: [kamailio/kamailio] OpenSSL 3.0 deprecated warnings (Issue #3636)

2023-12-23 Thread sergey-safarov via sr-dev
/not stale -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3636#issuecomment-1868244035 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development

[sr-dev] [kamailio/kamailio] core: fixed haproxy protocol parser (PR #3685)

2023-12-20 Thread sergey-safarov via sr-dev
Pre-Submission Checklist - [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

[sr-dev] [kamailio/kamailio] haproxy parser: wrong values (Issue #3683)

2023-12-20 Thread sergey-safarov via sr-dev
### Description Found error in the haproxy protocol parser Does not properly parsed ``` $rcv(rcvip) $rcv(srcport) $rcv(rcvport) ``` Reproduction This can be tested suing config file ``` #!define IPV6_ADDR ::1 tcp_accept_haproxy=yes received_route_mode=1 listen=tcp:[IPV6_ADDR]:45060

[sr-dev] Re: ERROR: ctl [init_socks.c:114]: init_unix_sock(): ERROR: init_unix_sock: bind: Permission denied [13]

2023-12-19 Thread Sergey Safarov via sr-dev
you can check via logs like rt_sigaction(SIGALRM, {sa_handler=0x420090, sa_mask=[ALRM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=60, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0},

[sr-dev] Re: ERROR: ctl [init_socks.c:114]: init_unix_sock(): ERROR: init_unix_sock: bind: Permission denied [13]

2023-12-15 Thread Sergey Safarov via sr-dev
Which dist, OS? Please start with "strace kamailio -E -e" this will show to which file kamaili try access. On Thu, Dec 14, 2023 at 10:28 PM nguyenquocchinhdev--- via sr-dev < sr-dev@lists.kamailio.org> wrote: > Hi guys, > When I ran below the command, an error appeared, how do I fix this? > >

[sr-dev] Re: [kamailio/kamailio] Add support for Linux kernel anyIP feature (Issue #3394)

2023-12-09 Thread sergey-safarov via sr-dev
@pumper could you help me understand how to bind to `127.0.0.0/8`. At [https://oswalt.dev/2022/02/non-local-address-binds-in-linux/](https://oswalt.dev/2022/02/non-local-address-binds-in-linux/) described use for bind to any IP ```c import socket s = socket.socket(socket.AF_INET,

[sr-dev] Re: [kamailio/kamailio] fixed rabbitmq-c deprecation warning (PR #3670)

2023-12-09 Thread sergey-safarov via sr-dev
Please check indentation in the `Makefile` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3670#issuecomment-1848770581 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] fixed rabbitmq-c deprecation warning (PR #3670)

2023-12-09 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 2 commits. b68b458430eb048bba76f5f0dc230d4454ab5fac rabbitmq: fixed rabbitmq-c deprecation warning 8a0600bf9a0f9d75f9032da255a26ff45cb935f1 kazoo: fixed rabbitmq-c deprecation warning -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3670/files

[sr-dev] Re: [kamailio/kamailio] fixed rabbitmq-c deprecation warning (PR #3670)

2023-12-09 Thread sergey-safarov via sr-dev
@sergey-safarov pushed 2 commits. f5dd87fde5b014a5aa1265b5775b27db62434b16 rabbitmq: fixed rabbitmq-c deprecation warning 289979ff8343ffa46d19f23ddfb7ad584d308fae kazoo: fixed rabbitmq-c deprecation warning -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3670/files

[sr-dev] [kamailio/kamailio] fixed rabbitmq-c deprecation warning (PR #3670)

2023-12-09 Thread sergey-safarov via sr-dev
Pre-Submission Checklist - [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

[sr-dev] [kamailio/kamailio] Redefine Advertised socket URI when used haproxy protocol (Issue #3667)

2023-12-07 Thread sergey-safarov via sr-dev
### Description When used haproxy protocol then from client perspetive TCP connection established to loadbalancer IP address. Real Kamailio listener may be IPv6 and expected to see `$RAut` value with IP of load balancer IP. Really I can see for first message from the client ```

[sr-dev] [kamailio/kamailio] when enabled haproxy protocol required use kamailio server haproxy IP (Issue #3666)

2023-12-07 Thread sergey-safarov via sr-dev
### Description I have enabled `tcp_accept_haproxy=yes`, inbound TCP connection received on IPv6 kamailio socket but client real IP is IPv4. When kamailio add `Record-Route` header then added IPv6 header and not added IPv4. Example ``` INVITE sip:x...@example.com SIP/2.0 Record-Route:

[sr-dev] [kamailio/kamailio] siptrace: add haproxy protocol support (Issue #3665)

2023-12-07 Thread sergey-safarov via sr-dev
When used `tcp_accept_haproxy=yes` and inbound connection from load-balancer received via IPv6 protocol and client real IPv4 then i can see error in the kamailio log ``` 28(723055) ERROR: {1 27 REGISTER 4fkReTbLC-} siptrace [siptrace_hep.c:94]: trace_send_hep3_duplicate(): interworking detected

[sr-dev] Re: Kamailio + RTPEngine + TURN server to enable calling between WebRTC client and legacy SIP clients

2023-12-05 Thread Sergey Safarov via sr-dev
> I have one question. Regarding the right block (1: WebRTC client -> SIP > Server) and the left block (SIP client), will a library be used here? Or is > this functionality handled in Kamailio? > > 2023年12月5日(火) 15:44 Sergey Safarov : > >> 1) INVITE message with ICE a

[sr-dev] Re: Kamailio + RTPEngine + TURN server to enable calling between WebRTC client and legacy SIP clients

2023-12-04 Thread Sergey Safarov via sr-dev
1) INVITE message with ICE and encryption in the SDP; 2) INVITE message and then response without ICE and encryption in the SDP (if client does not support ICE); 3) internal message with SDP content (Kamailio request with received SIP message and RTPengine response with SDP for delivery to next

[sr-dev] Re: [kamailio/kamailio] [Textops] replace_body_all does not apply for SDP which process from RTPEngine (Issue #3661)

2023-12-01 Thread sergey-safarov via sr-dev
just a question. Will this work for you ``` replace_body_all("Asterisk", "NipponMedia"); msg_apply_changes(); rtpengine_offer(); ``` -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3661#issuecomment-1836503164 You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] phonenum: cannot build on Fedora 39 (Issue #3659)

2023-11-28 Thread sergey-safarov via sr-dev
To fix the module build on the Fedora 39 required to make this change ```diff diff --git a/src/modules/phonenum/Makefile b/src/modules/phonenum/Makefile index f465226a97..16e21d902e 100644 --- a/src/modules/phonenum/Makefile +++ b/src/modules/phonenum/Makefile @@ -18,7 +18,7 @@ include

[sr-dev] Re: [kamailio/kamailio] phonenum: cannot build on Fedora 39 (Issue #3659)

2023-11-28 Thread sergey-safarov via sr-dev
Created related issue https://github.com/abseil/abseil-cpp/issues/1578 -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3659#issuecomment-1829987142 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] [kamailio/kamailio] phonenum: cannot build on Fedora 39 (Issue #3659)

2023-11-28 Thread sergey-safarov via sr-dev
``` LD (gcc) [M db_perlvdb.so] db_perlvdb.so CC (gcc) [M phonenum.so]phonenum_mod.o CC (gcc) [M phonenum.so]phonenum_pv.o Compiling cphonenumber.cpp g++ -std=c++11 -fPIC -DPIC -g -funroll-loops -Wcast-align -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-11-27 Thread sergey-safarov via sr-dev
@space88man I have update `wolfssl` to 5.6.4 version and added `--enable-distro` in vanila spec file. This resolved build issue. I fine to merge thi PR. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3592#issuecomment-1827736292 You are

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-11-22 Thread sergey-safarov via sr-dev
Most of spec diffs introduced in the commit https://github.com/wolfSSL/wolfssl/commit/7a12202675d04299464d091255028a48fa4fe757#diff-9fbe181fcef5f47d0f22c97c61aba4d90f30eeda6dffbfbb0f5f52ee02b1219b I will repackage wolfssl 5.6.4 in the Kamailio repo. For packaging I use instructions specified at

[sr-dev] [kamailio/kamailio] kazoo: SIGSEGV on module unload (Issue #3648)

2023-11-21 Thread sergey-safarov via sr-dev
On core load ``` Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/sbin/kamailio --atexit=no -DD -P /run/kamailio/kamailio.pid -f /etc/kamail'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x94f36350 in strlen () from

[sr-dev] [kamailio/kamailio] OpenSSL 3.0 deprecated-declarations on CentOS 9 (Issue #3647)

2023-11-21 Thread sergey-safarov via sr-dev
``` make[3]: 'libsrdb1.so.1.0' is up to date. LD (gcc) [M db_sqlite.so] db_sqlite.so CC (gcc) [M log_systemd.so] journal_send.o CC (gcc) [M log_systemd.so] log_systemd_mod.o LD (gcc) [M log_systemd.so] log_systemd.so CC (gcc) [M systemdops.so] systemdops_mod.o LD (gcc) [M systemdops.so]

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-11-21 Thread sergey-safarov via sr-dev
I have tried to build a module on `CentOS 8 Stream` and got an error ``` CC (gcc) [M auth_identity.so] auth_crypt.o CC (gcc) [M auth_identity.so] auth_dynstr.o LD (gcc) [M auth_identity.so] auth_identity.so Makefile:65: sources = tls_util.c tls_domain.c tls_rand.c

[sr-dev] Re: [kamailio/kamailio] OpenSSL 3.0 deprecated warnings (Issue #3636)

2023-11-10 Thread sergey-safarov via sr-dev
I have tested on 5.7.2. I thikn it need to be retested on master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3636#issuecomment-1806322054 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] Re: [kamailio/kamailio] format warning (Issue #3637)

2023-11-10 Thread sergey-safarov via sr-dev
Ticket created by my mistake. Closing -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3637#issuecomment-1805773283 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] format warning (Issue #3637)

2023-11-10 Thread sergey-safarov via sr-dev
Closed #3637 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3637#event-10925452462 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] [kamailio/kamailio] format warning (Issue #3637)

2023-11-10 Thread sergey-safarov via sr-dev
``` CC (gcc) [M ping_endpoint.so] t_cancel.o CC (gcc) [M ping_endpoint.so] t_fifo.o In file included from ../../core/ut.h:42, from t_fifo.c:38: t_fifo.c: In function 'append2buf': ../../core/dprint.h:321:73: warning: format '%i' expects argument of type 'int',

[sr-dev] [kamailio/kamailio] OpenSSL 3.0 deprecated warnings (Issue #3636)

2023-11-10 Thread sergey-safarov via sr-dev
``` CC (gcc) [M auth_identity.so] auth_crypt.o auth_crypt.c: In function 'rsa_sha1_enc': auth_crypt.c:215:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | if (RSA_sign(NID_sha1, | ^~ In file included from

[sr-dev] Re: [kamailio/kamailio] [RFC RPM Packaging] Rename libks to match FreeSWITCH el7 libks2 (Issue #3625)

2023-11-01 Thread sergey-safarov via sr-dev
I have tried to use libks2 and found incompatible issue. Then I reverted to libks 1.8.4 Current lob version you can find at https://rpm.kamailio.org/centos/9/master/master/x86_64/Packages/l/ -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] [RFC RPM Packaging] Rename libks to match FreeSWITCH el7 libks2 (Issue #3625)

2023-11-01 Thread sergey-safarov via sr-dev
For now Kamailio module [stirshaken](https://github.com/kamailio/kamailio/tree/master/src/modules/stirshaken) is not compatible with libks2. So first we need update stirshaken Kamailio module first. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] microhttpd: cannot build on CentOS 8 (Issue #3618)

2023-10-30 Thread sergey-safarov via sr-dev
Closed #3618 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3618#event-10815465401 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-10-29 Thread sergey-safarov via sr-dev
I also packaged `wolssl` for Cent OS 7 https://rpm.kamailio.org/centos/7/master/master/x86_64/Packages/w/ -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3592#issuecomment-1784157386 You are receiving this because you are subscribed to this thread.

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-10-28 Thread sergey-safarov via sr-dev
I have packaged `wolfssl` and placed at For CentOS 9 - https://rpm.kamailio.org/centos/9/master/master/x86_64/Packages/w/ For CentOS 8 - https://rpm.kamailio.org/centos/8/master/master/x86_64/Packages/w/ If you need another dist, then you rebuild `.src.rpm`. Could you install packaged wolfssl

[sr-dev] Re: [kamailio/kamailio] failed `tls` module build on master (Issue #3621)

2023-10-28 Thread sergey-safarov via sr-dev
Closed #3621 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3621#event-10798438655 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] failed `tls` module build on master (Issue #3621)

2023-10-28 Thread sergey-safarov via sr-dev
The error was generated during the packaging `wolfssl` module and does not relate to `tls` module. Closing. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3621#issuecomment-1783903685 You are receiving this because you are subscribed to this

[sr-dev] [kamailio/kamailio] failed `tls` module build on master (Issue #3621)

2023-10-28 Thread sergey-safarov via sr-dev
failed `tls` module build on master ``` CC (gcc) [M crypto.so] api.o CC (gcc) [M crypto.so] crypto_aes.o CC (gcc) [M crypto.so] crypto_evcb.o CC (gcc) [M crypto.so] crypto_mod.o CC (gcc) [M crypto.so] crypto_uuid.o LD (gcc) [M crypto.so]

[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-10-26 Thread sergey-safarov via sr-dev
Looks like `wolfssl` sources are statically linked with the module. I have checked `wolfssl` sources and found project already has packaged the project into `.deb` and `.rpm` packages. https://github.com/wolfSSL/wolfssl/tree/master/debian https://github.com/wolfSSL/wolfssl/tree/master/rpm I

[sr-dev] Re: [kamailio/kamailio] microhttpd: cannot build on CentOS 8 (Issue #3618)

2023-10-26 Thread sergey-safarov via sr-dev
May we restrict to more fresh dist? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3618#issuecomment-1781305884 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] [kamailio/kamailio] microhttpd: cannot build on CentOS 8 (Issue #3618)

2023-10-26 Thread sergey-safarov via sr-dev
cannot build `microhttpd` module on CentOS 8 ``` CC (gcc) [M memcached.so] memcached.o CC (gcc) [M memcached.so] mcd_var.o LD (gcc) [M memcached.so] memcached.so CC (gcc) [M microhttpd.so] microhttpd_mod.o microhttpd_mod.c:418:24: error:

[sr-dev] Re: [kamailio/kamailio] Kamailio Fails to Release Connected WebSocket TCP Connections (Issue #3589)

2023-10-04 Thread sergey-safarov via sr-dev
We have the same issue and reverted commit https://github.com/kamailio/kamailio/commit/3033b7681b4240fd64c9f1ff446b529a83921097 Could you revert the same commit and retest? -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] no corresponding socket found error (Issue #3583)

2023-09-27 Thread sergey-safarov via sr-dev
We have observed such messages when the default route via the network interface does not match to socket listened by Kamailio. Probable you need to output the socket you want to use for outbound message. -- Reply to this email directly or view it on GitHub:

[sr-dev] git:master:4deb3a7f: pkg/kamailio: removed CentOS 6 build, no pcre2 deps [skip ci]

2023-09-25 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: master Commit: 4deb3a7f7eb97fc30d42aa578082e496997e45d2 URL: https://github.com/kamailio/kamailio/commit/4deb3a7f7eb97fc30d42aa578082e496997e45d2 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-09-25T21:06:19+03:00 pkg/kamailio: removed CentOS 6 build

[sr-dev] [kamailio/kamailio] build warning (Issue #3585)

2023-09-25 Thread sergey-safarov via sr-dev
``` CC (gcc) [M tm.so] timer.o CC (gcc) [M tm.so] tm.o CC (gcc) [M tm.so] tm_load.o CC (gcc) [M tm.so] uac.o In file included from ../../core/mem/shm.h:43, from ../../core/mem/shm_mem.h:32, from uac.c:29: uac.c: In function 't_run_local_req':

[sr-dev] git:master:46430b6e: pkg/kamailio: updated pcre2 deps [skip ci]

2023-09-25 Thread Sergey Safarov via sr-dev
Module: kamailio Branch: master Commit: 46430b6e91bd1fbeae9040e80e078380967e0d68 URL: https://github.com/kamailio/kamailio/commit/46430b6e91bd1fbeae9040e80e078380967e0d68 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-09-25T20:24:11+03:00 pkg/kamailio: updated pcre2 deps [skip ci

[sr-dev] Re: [kamailio/kamailio] tls module cannot be build with -DTLS_MALLOC_DBG=1 since a long time (Issue #3532)

2023-08-19 Thread sergey-safarov
Found need to execute kamailio with `-` flag. Now I can see messages like ``` 0(4041924) DEBUG: [core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x9f2fa8e0 alloc'ed from crypto/lhash/lhash.c:

[sr-dev] Re: [kamailio/kamailio] tls module cannot be build with -DTLS_MALLOC_DBG=1 since a long time (Issue #3532)

2023-08-18 Thread sergey-safarov
I have started Lamailio module with patch provied above. To start Kamailio used command with '-ddd -E' and output send to tmp logfile. Then send curl https request to Kamailio tls port. And then greped logfile using command ``` grep alloc /tmp/logfile | grep -v db_row| grep -v db_val | grep -v

[sr-dev] Re: [kamailio/kamailio] tls module cannot be build with -DTLS_MALLOC_DBG=1 since a long time (Issue #3532)

2023-08-16 Thread sergey-safarov
@ivanuschak could you post your hotfix for reiew? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3532#issuecomment-1680273300 You are receiving this because you are subscribed to this thread. Message ID:

[sr-dev] Re: [kamailio/kamailio] regex: migration to pcre2 (PR #3535)

2023-08-09 Thread sergey-safarov
I have checkd `pcre2-config` config presence in the CentOS dists. Looks like utility present in the CentOS 7, 8, 9 but does not exist. Should you we drop CentOS 6 support? -- Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] cannot build with -DTLS_MALLOC_DBG=1 (Issue #3532)

2023-08-08 Thread sergey-safarov
### Description I want debug memory usage by TLS module. To do this used command ``` make -C src/modules/tls CFLAGS="-DTLS_MALLOC_DBG=1" ``` And this output ``` [root@sbc-stage-a0 kamailio]# make -C src/modules/tls CFLAGS="-DTLS_MALLOC_DBG=1" make: Entering directory

[sr-dev] Re: [kamailio/kamailio] siptrace: wrong port value (#2092)

2023-07-30 Thread sergey-safarov
Example how get outbound socket port ```c #include #include #include #include #include #include #include #define SERVER_ADDR "172.217.160.99" #define SERVER_PORT 80 int main() { char myIP[16]; unsigned int myPort; struct sockaddr_in server_addr, my_addr; int sockfd;

[sr-dev] Re: [kamailio/kamailio] core: fixed wrong network interface selection. (PR #3490)

2023-07-25 Thread sergey-safarov
@sergey-safarov commented on this pull request. > +inline static int find_listening_sock_info( + int s, union sockaddr_union **from, int type) +{ + struct ip_addr ip; + struct socket_info *si = NULL; + su2ip_addr(, *from); + + si = find_si(, 0, t

[sr-dev] Re: tracing, zipkin

2023-07-09 Thread Sergey Safarov
Zipkin schema for JSON body can be found at https://zipkin.io/zipkin-api/#/default/post_spans Required to select "Model -> Span". [image: image.png] On Sun, Jul 9, 2023 at 8:59 PM Sergey Safarov wrote: > When used different application servers like: > 1) kamailio; > 2

[sr-dev] tracing, zipkin

2023-07-09 Thread Sergey Safarov
dynamic_forward_proxy_cluster", "http.status_code": "200", "response_size": "3750" }, "name": "ifconfig.net:443", "annotations": [ { "timestam

[sr-dev] Re: [kamailio/kamailio] geoip2: added distance function (PR #3506)

2023-07-06 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 36025f8762a6eb7e55218f5fdd7d2c5ac51296b8 geoip2: added distance function -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3506/files/cdb3abee190ebc63dad0c9c8b145d6a7cb1ffe42..36025f8762a6eb7e55218f5fdd7d2c5ac51296b8 You are receiving this because

[sr-dev] Re: [kamailio/kamailio] geoip2: added distance function (PR #3506)

2023-07-05 Thread sergey-safarov
This function does not added to `geoip` module because: 1) `geoip` does not supports IPv6 addresses; 2) after IPv6 support was added to `geoip` found two databases (IPv4 and IPv6) cannot be added as module config parameters; 3) ASAN reported a memory leak. Think `geoip2` module prefered to

[sr-dev] [kamailio/kamailio] geoip2: added distance function (PR #3506)

2023-07-05 Thread sergey-safarov
Pre-Submission Checklist - [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

[sr-dev] git:master:f9d6685c: pkg/kamailio/obs: packaged geoip2 module

2023-07-04 Thread Sergey Safarov
Module: kamailio Branch: master Commit: f9d6685c9ae01fa4cdda1ddb20f29f7e1239f981 URL: https://github.com/kamailio/kamailio/commit/f9d6685c9ae01fa4cdda1ddb20f29f7e1239f981 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-07-04T17:46:25+03:00 pkg/kamailio/obs: packaged geoip2 module

[sr-dev] [kamailio/kamailio] microhttpd cannot be build on CentOS 8 (Issue #3504)

2023-07-04 Thread sergey-safarov
``` LD (gcc) [M memcached.so] memcached.so CC (gcc) [M microhttpd.so] microhttpd_mod.o microhttpd_mod.c:374:24: error: return type

[sr-dev] [kamailio/kamailio] OpenSSL depreacation warning (Issue #3502)

2023-07-04 Thread sergey-safarov
**crypto_uuid.c** ``` CC (gcc) [M crypto.so] api.o CC (gcc) [M crypto.so] crypto_aes.o CC (gcc) [M crypto.so] crypto_evcb.o CC (gcc) [M crypto.so] crypto_mod.o CC (gcc) [M crypto.so] crypto_uuid.o crypto_uuid.c: In function 'crypto_generate_callid':

[sr-dev] [kamailio/kamailio] http_client: failed build on CentOS 7 & 6 (Issue #3501)

2023-06-30 Thread sergey-safarov
CentOS 7 ``` ^ functions.c:395:60: error: missing binary operator before token "("

[sr-dev] Re: [kamailio/kamailio] wrong source address usage (Issue #3486)

2023-06-20 Thread sergey-safarov
As a hotfix we used options ``` tcp_source_ipv4 = IPv4 address tcp_source_ipv6 = IPv6 address ``` https://www.kamailio.org/wiki/cookbooks/5.4.x/core#tcp_source_ipv4_tcp_source_ipv6 This works if all Kamailio sockets are bound to one IP. To get it working for multiple IPs we try to make such a

[sr-dev] Re: [kamailio/kamailio] wrong source address usage (Issue #3486)

2023-06-20 Thread sergey-safarov
The network source address is important because the Kamailio address is whitelisted in the ACL. For me easier to manage this at the socket level, than manage it on the network OS routing rules. We now working pull request for this issue. So we will make a new attempt to discuss via PR. --

[sr-dev] git:5.6:ada8f757: pkg/docker: submodule update [skip ci]

2023-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.6 Commit: ada8f757407712fe757398a38dab6d452545f018 URL: https://github.com/kamailio/kamailio/commit/ada8f757407712fe757398a38dab6d452545f018 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-06-20T09:05:53+03:00 pkg/docker: submodule update [skip ci

[sr-dev] git:5.6:5f982c9f: pkg/kamailio/alpine: packaged lwsc

2023-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.6 Commit: 5f982c9f46f203d7976a57f12789213f78eaa261 URL: https://github.com/kamailio/kamailio/commit/5f982c9f46f203d7976a57f12789213f78eaa261 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-06-20T09:05:11+03:00 pkg/kamailio/alpine: packaged lwsc (cherry

[sr-dev] git:5.7:6005e8e4: pkg/kamailio/alpine: packaged lwsc

2023-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.7 Commit: 6005e8e4e3e0d9488693eca1484122dfed303ac6 URL: https://github.com/kamailio/kamailio/commit/6005e8e4e3e0d9488693eca1484122dfed303ac6 Author: Sergey Safarov Committer: Sergey Safarov Date: 2023-06-20T09:02:10+03:00 pkg/kamailio/alpine: packaged lwsc (cherry

  1   2   3   4   5   6   7   8   9   10   >