Re: [sr-dev] [kamailio/kamailio] core on start (#2788)

2021-06-30 Thread sergey-safarov
Issue reproduced with the minimal config from #2736 ``` loadmodule "ipops.so" loadmodule "pv.so" loadmodule "textops.so" loadmodule "textopsx.so" pv_buffer_slots = 30 #!substdef "!MAJOR!$(version(num){re.subst,/^(([^\.])*\.([^\.])*)\..*/\1/})!g" #!substdef "!MY_HOSTNAME!$HN(f)!g" #!substdef

Re: [sr-dev] [kamailio/kamailio] nats: new nats message consumer module (#2790)

2021-06-28 Thread Sergey Safarov
Maybe q_ On Mon, Jun 28, 2021, 2:15 PM Henning Westerholt wrote: > Think the same, as we have already three modules implementing message > queues: > > > > - mqtt > > - rabbitmq > > - kazoo > > > > I was thinking of “mq_” prefix, but this obviously do not fit well to the > existing names. > > >

Re: [sr-dev] [kamailio/kamailio] add debuginfo on dist other then x86 (#2789)

2021-06-28 Thread sergey-safarov
``` [root@logger-west kamailio]# make cfg make -C src/ cfg make[1]: Entering directory '/root/kamailio/src' target architecture , host architecture making config... rm -f modules.lst make --no-print-directory modules.lst saving modules list... make[1]: Leaving directory '/root/kamailio/src' ```

Re: [sr-dev] [kamailio/kamailio] kazoo : fix routing of reply events (#2786)

2021-06-28 Thread sergey-safarov
Hi @kageds Think I misled in the message above. My issue because I try to use the latest `kazoo-config-kamailio` with old "kazoo erlang" code. Please ignore my message above. -- 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] tls: allow export session keys (#2785)

2021-06-28 Thread sergey-safarov
To free memory applied patch ```diff --- a/src/modules/tls/tls_init.c +++ b/src/modules/tls/tls_init.c @@ -627,8 +627,9 @@ int prepare_keylog_file(str session_keylog_filename) * the tool is run multiple times. */ bio_keylog = BIO_new_file(keylog_file, "a"); +

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-28 Thread sergey-safarov
@sergey-safarov pushed 1 commit. b6ac6e2b7297ee7830d96290014b36c0dadb7651 tls: keylog_file variable freed after use -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2785/files

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-28 Thread sergey-safarov
I have checked openssl sources, loogs as `BIO_printf` and `BIO_write` function to not use lock mechanism. > The solution would be to either have a lock around and do every time: lock, > open file, write, close, unlock; Why we cannot open file once and use logic inside childs ``` lock, write,

Re: [sr-dev] [kamailio/kamailio] add debuginfo on dist other then x86 (#2789)

2021-06-28 Thread sergey-safarov
@henningw here is requested info ``` [root@sbc-b2 ~]# kamailio -I Print out of kamailio internals Version: kamailio 5.6.0-dev0 (aarch64/linux) 936350-dirty Default config: /etc/kamailio/kamailio.cfg Default paths to modules: /usr/lib64/kamailio/modules Compile flags: USE_TCP, USE_TLS,

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-28 Thread sergey-safarov
To get working session keys embedding and description required to record TLS connection from start (TCP SYN/ACK). If TLS connection is long-term and the start of the connection not recorded, then traffic cannot be decrypted. >From my point view, need to try utilize `SSL_key_update()` with

Re: [sr-dev] [kamailio/kamailio] core on start (#2788)

2021-06-27 Thread sergey-safarov
On server used stock modules compiled for `ARM` arch. Used `kazoo` config with customization. I can create a minimal config that allows reproducing the issue on another PC. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] systemd watchdog

2021-06-26 Thread Sergey Safarov
I have observed a case when Kamaili debug module try to grab the lock on shutdown and not able to do it. As a result, the Kamailio process is stuck and not able to restart (dead lock). To resolve such a case i want to utilize systemd watchdog feature

Re: [sr-dev] [kamailio/kamailio] core on start (#2788)

2021-06-26 Thread sergey-safarov
Test on 14d92c0d7ab1229996176b131ab8edcabc3a5717 ``` (gdb) bt #0 0x77dd56b1 in __memmove_avx_unaligned_erms () from /lib64/libc.so.6 #1 0x76392fd4 in pv_parse_hdr_name (sp=0x76ae4d20, in=0x7fffd610) at pv_core.c:3617 #2 0x00566304 in pv_parse_spec2

Re: [sr-dev] [kamailio/kamailio] core on start (#2788)

2021-06-26 Thread sergey-safarov
``` [root@safarov-dell kamailio]# /usr/local/sbin/kamailio -v version: kamailio 5.6.0-dev0 (x86_64/linux) df23ea flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX,

[sr-dev] [kamailio/kamailio] add debuginfo on dist other then x86 (#2789)

2021-06-26 Thread sergey-safarov
### Description I want to debug `Kamailio` using `GDB` and compiled sources on `aarch64` architecture (`t4g` AWS instance). But produces object files do not contain debug info. Then executed ``` make -n ``` And found that no `-g` options used during compilation. I have specified `CFLAGS` and

[sr-dev] [kamailio/kamailio] core on start (#2788)

2021-06-25 Thread sergey-safarov
### Description coredump kamailio start ### Troubleshooting Debugging Data ``` (gdb) bt #0 0x77dd56b1 in __memmove_avx_unaligned_erms () from /lib64/libc.so.6 #1 0x7639d5df in pv_parse_hdr_name (sp=0x76ae4ce8, in=0x7fffd620) at pv_core.c:3594 #2

Re: [sr-dev] [kamailio/kamailio] kazoo : fix routing of reply events (#2786)

2021-06-25 Thread sergey-safarov
I have tested this PR. Looks as when `registrar` response returns an error then Kamailio properly handles this response. -- 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] kazoo: different binding for private module and for current 5.4.5 (#2747)

2021-06-25 Thread sergey-safarov
Looks as `kazoo_async_query` do not work as expected. If I revert `registrar-role.cfg` to version before https://github.com/2600hz/kazoo-configs-kamailio/commit/dfb56088a070aecf6f65adea33e716acacab90ce Then registration start works properly. -- You are receiving this because you are subscribed

[sr-dev] [kamailio/kamailio] built warning (#2787)

2021-06-25 Thread sergey-safarov
**defined but not used** ``` rtpproxy.c:943:1: warning: ‘rp_extract_mediaip’ defined but not used [-Wunused-function] rp_extract_mediaip(str *body, str *mediaip, int *pf, char *line) ^~ CC (gcc) [M rtpproxy.so]rtpproxy_db.o make[3]: 'libsrdb1.so.1.0' is up to

Re: [sr-dev] [kamailio/kamailio] kazoo : fix routing of reply events (#2786)

2021-06-25 Thread sergey-safarov
let me test this PR. -- 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/2786#issuecomment-868567126___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-23 Thread sergey-safarov
Wiki updated -- 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/2777#issuecomment-866744262___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-23 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 368c13945d6d1d78541a72b29d260e50cd2fdeb4 tls: enabled session key loging for outbound connections -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2785/files

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-22 Thread sergey-safarov
yes, I will add when we complete "c" part of PR. -- 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/2785#issuecomment-865912837___ Kamailio

Re: [sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-22 Thread sergey-safarov
Looks as there is only for inbound connections relayed session keys. Think need also to make the some for outbound connections. -- 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] tls: allow export session keys (#2785)

2021-06-21 Thread sergey-safarov
Before feature merged also wanted: 1. add ACL support for specified IP addresses (use case - server located behind HAproxy with enabled HTTPS health checks, i do not want to save session keys for these requests). 2. add ACL support to specific IP addresses (use case - I want session case only

[sr-dev] [kamailio/kamailio] tls: allow export session keys (#2785)

2021-06-21 Thread sergey-safarov
Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [ ] Commits are split per component (core, individual modules, libs, utils, ...) - [ ] Each component has a single commit (if not, squash them into one commit) - [x] No commits to README files for

[sr-dev] git:5.5:efe83bb8: pkg: enable RHEL7-like distros to build with OpenSSL 1.1.1 [skip ci]

2021-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.5 Commit: efe83bb89e9582b5c58a85626cc45d87dc124205 URL: https://github.com/kamailio/kamailio/commit/efe83bb89e9582b5c58a85626cc45d87dc124205 Author: SPChan Committer: Sergey Safarov Date: 2021-06-20T12:21:43+03:00 pkg: enable RHEL7-like distros to build with OpenSSL

[sr-dev] git:5.5:01d43e2d: pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

2021-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.5 Commit: 01d43e2d6f78fff7fca8d6fc00adfab7f62a5320 URL: https://github.com/kamailio/kamailio/commit/01d43e2d6f78fff7fca8d6fc00adfab7f62a5320 Author: Sergey Safarov Committer: Sergey Safarov Date: 2021-06-20T12:21:12+03:00 pkg/kamailio/obs: disabled lwsc build

[sr-dev] git:5.5:0e8bb2fc: pkg/kamailio/obs: simlifid module definition for RHEL dist

2021-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.5 Commit: 0e8bb2fc46b74b5171edeb64776d280c35739ce9 URL: https://github.com/kamailio/kamailio/commit/0e8bb2fc46b74b5171edeb64776d280c35739ce9 Author: Sergey Safarov Committer: Sergey Safarov Date: 2021-06-20T12:21:01+03:00 pkg/kamailio/obs: simlifid module definition

[sr-dev] git:5.5:0f0e7e8f: pkg: add support for AlmaLinux and Rocky Linux

2021-06-20 Thread Sergey Safarov
Module: kamailio Branch: 5.5 Commit: 0f0e7e8f139042e2dd03e01a6ac66d32727dc69a URL: https://github.com/kamailio/kamailio/commit/0f0e7e8f139042e2dd03e01a6ac66d32727dc69a Author: SPChan Committer: Sergey Safarov Date: 2021-06-20T12:20:34+03:00 pkg: add support for AlmaLinux and Rocky Linux

Re: [sr-dev] [kamailio/kamailio] Enable CentOS 7 to build with OpenSSL 1.1.1 package from EPEL (#2779)

2021-06-18 Thread sergey-safarov
Merged #2779 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/2779#event-4909676872___ Kamailio (SER) - Development Mailing

[sr-dev] git:master:ecc2cc69: pkg: enable RHEL7-like distros to build with OpenSSL 1.1.1

2021-06-18 Thread sergey-safarov
Module: kamailio Branch: master Commit: ecc2cc69b08e797ca954af233c229ed44475ce33 URL: https://github.com/kamailio/kamailio/commit/ecc2cc69b08e797ca954af233c229ed44475ce33 Author: SPChan Committer: sergey-safarov Date: 2021-06-18T15:56:41+03:00 pkg: enable RHEL7-like distros to build

Re: [sr-dev] [kamailio/kamailio] Enable CentOS 7 to build with OpenSSL 1.1.1 package from EPEL (#2779)

2021-06-17 Thread sergey-safarov
Hi @space88man Could you also replace `%{?centos_ver}` macro to `%{?rhel}`. *Example* ``` %if 0%{?centos_ver} == 7 && %{with openssl11} ``` To ``` %if 0%{?rhel} == 7 && %{with openssl11} ``` This will allow using the same approach for RHEL dist too. -- You are receiving this because you are

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-15 Thread sergey-safarov
Hi Daniel @miconda siptrace PR update as you have suggested. -- 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 v5.5.1 Released

2021-06-15 Thread Sergey Safarov
Daniel, can I cherry-pick packaging commit to 5.5 branch before it tagged? On Tue, Jun 15, 2021 at 4:31 PM Daniel-Constantin Mierla wrote: > Hello, > > Kamailio SIP Server v5.5.1 stable release is out. > > This is a maintenance release of the latest stable branch, 5.5, that > includes fixes

[sr-dev] git:master:03c2ea28: pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

2021-06-14 Thread Sergey Safarov
Module: kamailio Branch: master Commit: 03c2ea28767106333ee04c5e19ee490c010dfb58 URL: https://github.com/kamailio/kamailio/commit/03c2ea28767106333ee04c5e19ee490c010dfb58 Author: Sergey Safarov Committer: Sergey Safarov Date: 2021-06-14T20:57:12+03:00 pkg/kamailio/obs: disabled lwsc build

[sr-dev] git:master:e7a14f37: pkg/kamailio/obs: simlifid module definition for RHEL dist

2021-06-14 Thread Sergey Safarov
Module: kamailio Branch: master Commit: e7a14f37c98e2bbfcf234165dc5dfd4121db5b5b URL: https://github.com/kamailio/kamailio/commit/e7a14f37c98e2bbfcf234165dc5dfd4121db5b5b Author: Sergey Safarov Committer: Sergey Safarov Date: 2021-06-14T20:57:07+03:00 pkg/kamailio/obs: simlifid module

Re: [sr-dev] [kamailio/kamailio] Enable CentOS 7 to build with OpenSSL 1.1.1 package from EPEL (#2779)

2021-06-11 Thread sergey-safarov
Hello @space88man Could build with my commit. I prefer dist specific options to move outside of module definition. -- 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] Enable CentOS 7 to build with OpenSSL 1.1.1 package from EPEL (#2779)

2021-06-11 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 11ea00e7d3028db754e498690d5f6862e895b2dc moved openssl11 outside of modules build definition [skip ci] -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2779/files

Re: [sr-dev] [kamailio/kamailio] pkg: add support for AlmaLinux and Rocky Linux (#2778)

2021-06-11 Thread sergey-safarov
Merged #2778 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/2778#event-4877473169___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] pkg: add support for AlmaLinux and Rocky Linux (#2778)

2021-06-11 Thread sergey-safarov
I am fine with PR, merging. -- 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/2778#issuecomment-859521260___ Kamailio (SER) - Development

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-11 Thread sergey-safarov
`$siptrace(src_host)` and `$siptrace(dst_host)` now returns value without brackets. -- 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:b3d3cb36: pkg: add support for AlmaLinux and Rocky Linux

2021-06-11 Thread sergey-safarov
Module: kamailio Branch: master Commit: b3d3cb366b67941ecebd297038522580114e3a0b URL: https://github.com/kamailio/kamailio/commit/b3d3cb366b67941ecebd297038522580114e3a0b Author: SPChan Committer: sergey-safarov Date: 2021-06-11T14:41:12+03:00 pkg: add support for AlmaLinux and Rocky Linux

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-10 Thread sergey-safarov
I finished PR -- 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/2777#issuecomment-858899029___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-10 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 21454a3698f865ed3e62d4f28cab1da8ab32eba1 siptrace: removed brackets from IPv6 address [skip ci] -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/2777/files

Re: [sr-dev] [kamailio/kamailio] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-10 Thread sergey-safarov
@miconda no I want to call `C` function to strip brackets. I will dev mail list -- 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] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-10 Thread sergey-safarov
How I can remove brackets from IPv6 address? Example Now `$siptrace(src_host)` returns `[::1]` I want get `::1` from `$siptrace(src_host)`. -- 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] siptrace: added extra params to $siptrace() pseudo-variable (#2777)

2021-06-10 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] strip [] from IPv6 address

2021-06-10 Thread Sergey Safarov
I want call C function to strip IPv6 brackets. Which can be used? ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Re: [sr-dev] [kamailio/kamailio] siptrace: fixed IPv6 without brackets (#2775)

2021-06-10 Thread sergey-safarov
@miconda correct -- 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/2775#issuecomment-858492633___ Kamailio (SER) - Development Mailing List

[sr-dev] [kamailio/kamailio] siptrace: fixed IPv6 without brackets (#2775)

2021-06-10 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

Re: [sr-dev] [SR-Users] Releasing Kamailio v5.5.1

2021-06-10 Thread Sergey Safarov
Looks as commit not backported https://github.com/kamailio/kamailio/commits/5.5/src/modules/mohqueue On Thu, Jun 10, 2021 at 9:09 AM RDB Programmer wrote: > Daniel, > > Will this release include the latest changes to mohqueue >

Re: [sr-dev] [kamailio/kamailio] siptrace: added siptrace pseudo var (#2752)

2021-06-09 Thread sergey-safarov
Done https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#siptrace_module I think feature updates still required. I think src_uri and dst_uri are not correct here because of this socket info, not SIP uri. -- You are receiving this because you are subscribed to this thread. Reply to

[sr-dev] [kamailio/kamailio] Sl (#2767)

2021-06-06 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

Re: [sr-dev] [kamailio/kamailio] pv: fixed error "pv_get_method(): no CSEQ header" (#2761)

2021-06-04 Thread sergey-safarov
Think this PR ready to merge. For `is_http_request()/is_http_reply()` i will create new PR. -- 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] pv: fixed error "pv_get_method(): no CSEQ header" (#2761)

2021-06-03 Thread sergey-safarov
maybe implement functions in core 1. `is_request("HTTP")` 2. `is_request("SIP")` 3. `is_reply("HTTP")` 4. `is_reply("SIP")` and move these functions from `siputils` to `core` 1. `is_request()` 2. `is_reply()` -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [sr-dev] [kamailio/kamailio] pv: fixed error "pv_get_method(): no CSEQ header" (#2761)

2021-06-03 Thread sergey-safarov
@sergey-safarov pushed 1 commit. 2579bdf52816d05858ead275882ff2d2de167556 pv: pv_get_method fixed error "pv_get_method(): no CSEQ header" -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/kamailio/kamailio/pull/

Re: [sr-dev] [kamailio/kamailio] pv: fixed error "pv_get_method(): no CSEQ header" (#2761)

2021-06-03 Thread sergey-safarov
yes, Daniel I have observed error `pv: fixed error "pv_get_method(): no CSEQ header"` with HTTP replies when trying to use ``` event_route[siptrace:msg] { if($rm =~ "OPTIONS|HTTP") { xlog("L_DEBUG", "trace|dropping trace for method $rm\n"); drop(); } } ``` My goal to avoid

[sr-dev] [kamailio/kamailio] pv: fixed error "pv_get_method(): no CSEQ header" (#2761)

2021-06-03 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] [kamailio/kamailio] sipdump: fixed typo (#2753)

2021-05-29 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] [kamailio/kamailio] siptrace: aadded siptrace pseudo var (#2752)

2021-05-29 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, ...) - [ ] Each component has a single commit (if not, squash them into one commit) - [ ] No commits to README files for

[sr-dev] [kamailio/kamailio] msg_parser.c:747: cannot parse "503 Service Unavailable" (#2751)

2021-05-29 Thread sergey-safarov
### Description I sending an error "503 Service Unavailable" message for HTTP requests using `xhttp` module. Also, I use `siptrace` module to send packets to Homer. Looks as in this use case `msg_parser` not able to parse HTTP error message. ### Troubleshooting Reproduction Need to start

Re: [sr-dev] [kamailio/kamailio] IPV6 Contact Parsed as V4 notation (#2742)

2021-05-27 Thread sergey-safarov
You can see ``` REGISTER sip:voip.domain.com SIP/2.0. Via: SIP/2.0/UDP 32.1.128.4:45417;rport;branch=z9hG4bKPjZ5fpsipsncRX35bosd-juQhhswwf2n.t. Max-Forwards: 70. From: ;tag=zMJ4EsFF8lnLBuDCWxk52XJgy84zU180. To: . Call-ID: qlKuZzPgK8dIzwwwpRRsP8yNr3xpWzzE. CSeq: 54489 REGISTER. User-Agent: ABTO

Re: [sr-dev] [kamailio/kamailio] kazoo: different binding for private module and for current 5.4.5 (#2747)

2021-05-26 Thread sergey-safarov
I already use commit 302035209724258131ff263d954771516dd2a1d7 Issue present on latest commit from `4.3` branch -- 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] kazoo: different binding for private module and for current 5.4.5 (#2747)

2021-05-26 Thread sergey-safarov
### Description I want to use some customization for Kamailio 5.4 branch. Before start I want to make sure 5.4.5 tag works with `kazoo-config-kamailio`. During a tests, I found the `kazoo` module not able to receive registration responses. If I replace `kazoo` module in Kamailio 5.4.5 with to

Re: [sr-dev] [kamailio/kamailio] Segfault start Kamailio 5.5 (#2736)

2021-05-26 Thread sergey-safarov
Closed #2736. -- 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/2736#event-4796905696___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] Segfault start Kamailio 5.5 (#2736)

2021-05-26 Thread sergey-safarov
Tested current master (c146ef490e1d7d35add7d3ee593f6d3d20e327ad). Issue resolved. -- 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] Segfault start Kamailio 5.5 (#2736)

2021-05-23 Thread sergey-safarov
Issue fixed after reverting 004190b2ebe62681ae1f4f65f18de1a9e430742d -- 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] Segfault start Kamailio 5.5 (#2736)

2021-05-23 Thread sergey-safarov
Issue added by commit 004190b2ebe62681ae1f4f65f18de1a9e430742d Trying revert on master. -- 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] Segfault start Kamailio 5.5 (#2736)

2021-05-23 Thread sergey-safarov
Minimal config ``` loadmodule "ipops.so" loadmodule "pv.so" loadmodule "textops.so" loadmodule "textopsx.so" pv_buffer_slots = 30 #!substdef "!MAJOR!$(version(num){re.subst,/^(([^\.])*\.([^\.])*)\..*/\1/})!g" #!substdef "!MY_HOSTNAME!$HN(f)!g" #!substdef "!MY_WEBSOCKET_DOMAIN!$HN(d)!g"

Re: [sr-dev] [kamailio/kamailio] Segfault start Kamailio 5.5 (#2736)

2021-05-18 Thread sergey-safarov
Hi Daniel @miconda Alexei can find a commit where the issue is introduced. Should we make `git bisect`? -- 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] tcpops: failed tcp_keepalive_enable (#2730)

2021-05-09 Thread sergey-safarov
Closed #2730. -- 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/2730#event-4711326842___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] tcpops: failed tcp_keepalive_enable (#2730)

2021-05-09 Thread sergey-safarov
tested, issue fixed on 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/issues/2730#issuecomment-835843639___ Kamailio (SER) -

Re: [sr-dev] [kamailio/kamailio] tspops: failed tcp_keepalive_enable (#2730)

2021-05-08 Thread sergey-safarov
revert of 12fca1c369b6698cace66de171dcb166be8ae831 commit fixes issue -- 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] tspops: failed tcp_keepalive_enable (#2730)

2021-05-08 Thread sergey-safarov
### Description Cannot use `tcp_keepalive_enable` function on master branch. Reproduction Create config file like ``` listen=udp:127.0.0.1:5060 loadmodule "pv.so" loadmodule "tcpops.so" #modparam("http_client", "httpcon", "http://example.com=>http://example.com;); request_route {

Re: [sr-dev] [kamailio/kamailio] lost: cannot parse From header (#2723)

2021-05-08 Thread sergey-safarov
Just tested the current master. Issue fixed. To develop a unit test for this case assign the ticket to me. -- 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] lost: dynamic HELD url resolving (#2574)

2021-05-07 Thread sergey-safarov
Closed #2574. -- 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/2574#event-4699667309___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] lost: dynamic HELD url resolving (#2574)

2021-05-07 Thread sergey-safarov
yes, sure. -- 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/2574#issuecomment-834102533___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] lwsc: failed build on Fedora 33 (#2727)

2021-05-06 Thread sergey-safarov
For info Current ping/pong [example](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/ws-client/minimal-ws-client-ping/minimal-ws-client-ping.c) Looks as required refactoring in a new version. -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [sr-dev] [kamailio/kamailio] app_lua: build warning on Fedora 35 with lua 5.4 (#2728)

2021-05-06 Thread sergey-safarov
Now this a just warning. But module compiled. Think need to make sure the module is working. -- 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] app_lua: build warning on Fedora 35 with lua 5.4 (#2728)

2021-05-06 Thread sergey-safarov
correct, no lua53 or lua52 or similar options. -- 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/2728#issuecomment-833380367___ Kamailio

Re: [sr-dev] [kamailio/kamailio] app_lua: build warning (#2728)

2021-05-06 Thread sergey-safarov
*Fedora 35* ``` [root@74700965220c /]# rpm -qa | grep lua lua-libs-5.4.3-1.fc35.x86_64 lua-5.4.3-1.fc35.x86_64 lua-devel-5.4.3-1.fc35.x86_64 ``` -- 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] lwsc: failed build on Fedora 33 (#2727)

2021-05-06 Thread sergey-safarov
*Fedora 33* ``` [root@bed999ec75b9 /]# rpm -qa | grep libwebsockets libwebsockets-4.1.2-1.fc33.x86_64 libwebsockets-devel-4.1.2-1.fc33.x86_64 ``` *Fedora 35* ``` [root@f18d3a98e29d /]# rpm -qa | grep libwebsockets libwebsockets-4.1.6-2.fc35.x86_64 libwebsockets-devel-4.1.6-2.fc35.x86_64 ```

[sr-dev] [kamailio/kamailio] app_lua: build warning (#2728)

2021-05-06 Thread sergey-safarov
``` which: no lua-config in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) which: no lua-config in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) CC (gcc) [M app_lua.so] app_lua_api.o app_lua_api.c: In function 'lua_sr_kemi_register_libs':

[sr-dev] [kamailio/kamailio] lwsc: failed build on Fedora 33 (#2727)

2021-05-06 Thread sergey-safarov
``` LD (gcc) [M app_lua_sr.so] app_lua_sr.so CC (gcc) [M lwsc.so]lwsc_mod.o lwsc_mod.c: In function 'lwsc_get_endpoint': lwsc_mod.c:533:13: error: 'struct lws_context_creation_info' has no member named 'ws_ping_pong_interval' 533 | ep->crtinfo.ws_ping_pong_interval =

Re: [sr-dev] [kamailio/kamailio] Lost selectors (#2705)

2021-05-06 Thread sergey-safarov
yes, we expect several additional commits (docs, tests). And then rebase + quash. -- 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] cannot parse From header (#2723)

2021-05-04 Thread sergey-safarov
> basically replacing the flag HDR_FROM_F with HDR_EOH_F This not help and errors still present. -- 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] cannot parse From header (#2723)

2021-05-03 Thread sergey-safarov
Yes, I call `lost_held_query` at the start of routing. This describes by not all headers parsed. What is connect solution here? -- 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] cannot parse From header (#2723)

2021-05-03 Thread sergey-safarov
@miconda yes, `parse_from_header` function resolved this error. -- 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] mod kazoo: wrong kazoo_publish example (#2627)

2021-05-03 Thread sergey-safarov
I will assign this 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/issues/2627#issuecomment-831371801___ Kamailio (SER) - Development

Re: [sr-dev] [kamailio/kamailio] lost: resolve geolocation url using POST (#2641)

2021-05-03 Thread sergey-safarov
Closed #2641. -- 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/2641#event-4678984280___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] lost: resolve geolocation url using POST (#2641)

2021-05-03 Thread sergey-safarov
Sure, Daniel. -- 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/2641#issuecomment-831371180___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] cannot parse From header (#2723)

2021-05-03 Thread sergey-safarov
@wkampich original XML file located here http://sipp.sourceforge.net/doc/uac.xml.html RAW format http://sipp.sourceforge.net/doc/uac.xml -- 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] cannot parse From header (#2723)

2021-05-03 Thread sergey-safarov
My test results for commit 2058676daacc2feded18b872bd53c0514710d4bb inside docker containers 1. Fedora 33 - issue present; 2. CentOS 8 - issue present; 3. CentOS 7 - issue reproduced; 4. Alpine v3.13 - issue reproduced; Also, make the same test on VM with CentOS 8 - issue reproduced. Something

Re: [sr-dev] [kamailio/kamailio] lost: lost_held_dereference do not handles error message (#2724)

2021-05-03 Thread sergey-safarov
As an option, we can set HELD_ERROR_CODE and normal HELD response and construction like ``` modparam("lost", "xavp_responce", "held_responce") ... lost_held_dereference("$(var(url){s.unbracket})", "emergencyDispatch", "civic geodetic", "$var(pidf)", "$var(err)"); switch

Re: [sr-dev] [kamailio/kamailio] lost: lost_held_dereference do not handles error message (#2724)

2021-05-03 Thread sergey-safarov
Generally LIS code and error message also important for error handling. Error code may be used for `switch` statement and a message for log description for humans. Here examples of LIS error messages *from RFC* ```xml Unable to determine location ``` my use case ```xml An

[sr-dev] [kamailio/kamailio] lost: lost_held_dereference do not handles error message (#2724)

2021-05-01 Thread sergey-safarov
### Description When LIS server failed, then LIS send message like ``` The error response to the request is an error document. The following response shows an example error response. HTTP/1.1 200 OK Server: Example LIS Expires: Tue, 10 Jan 2006 03:49:20 GMT

[sr-dev] [kamailio/kamailio] cannot parse From header (#2723)

2021-05-01 Thread sergey-safarov
### Description For some reason `From` header cannot be parsed. Reproduction Tested config ``` listen=udp:127.0.0.1:5060 loadmodule "pv.so" loadmodule "http_client.so" loadmodule "lost.so" modparam("http_client", "httpcon", "http://example.com=>http://example.com;); request_route {

Re: [sr-dev] [kamailio/kamailio] Lost selectors (#2705)

2021-04-28 Thread sergey-safarov
> according to the latest version of NENA i3, the Call-Info header purpose > changes from nena-xxx to emergency-xxx (e.g. nena-IncidentId will be replaced > by emergency-IncidentId); perhaps this can already be taken into account. Think we need a write a function to convert headers to required

Re: [sr-dev] [kamailio/kamailio] build warnings (#2710)

2021-04-27 Thread sergey-safarov
pushed c7781edcb37a35193ccdb9414183919aaa614d3a -- 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/2710#issuecomment-827483142___ Kamailio

[sr-dev] git:master:c7781edc: mohqueue: fixed compiler warning about array initialization

2021-04-27 Thread Sergey Safarov
Module: kamailio Branch: master Commit: c7781edcb37a35193ccdb9414183919aaa614d3a URL: https://github.com/kamailio/kamailio/commit/c7781edcb37a35193ccdb9414183919aaa614d3a Author: Sergey Safarov Committer: Sergey Safarov Date: 2021-04-27T13:00:35+03:00 mohqueue: fixed compiler warning about

<    1   2   3   4   5   6   7   8   9   10   >