### 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
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) -
@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
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
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,
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)
@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:
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)
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) -
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
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:
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
### 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
### 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"
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
@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
@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
@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
@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
@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
@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
@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
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) -
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
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
### 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
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
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
> 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,
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;
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
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: ___
@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
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
/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
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
### 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
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},
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?
>
>
@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,
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: ___
@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
@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
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
### 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
```
### 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:
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
> 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
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
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
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
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:
```
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
@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
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
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
```
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]
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
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:
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: ___
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) -
```
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',
```
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
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:
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:
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) -
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.
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
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) -
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
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]
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
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: ___
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:
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:
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:
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
```
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':
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
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:
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
@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:
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:
### 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
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;
@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
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
dynamic_forward_proxy_cluster",
"http.status_code": "200",
"response_size": "3750"
},
"name": "ifconfig.net:443",
"annotations": [
{
"timestam
@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
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
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
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
```
LD (gcc) [M memcached.so] memcached.so
CC (gcc) [M microhttpd.so] microhttpd_mod.o
microhttpd_mod.c:374:24: error: return type
**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':
CentOS 7
```
^
functions.c:395:60: error: missing binary operator before token "("
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
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.
--
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
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
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 - 100 of 1300 matches
Mail list logo