Module: kamailio
Branch: master
Commit: 061a66f88a91bc3e05224ef95043ebe4fec16dd1
URL: https://github.com/kamailio/kamailio/commit/061a66f88a91bc3e05224ef95043ebe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-15T08:58:27+02:00
cfg_rpc: removed history and svn id
---
Modified: src/modules/cfg_rpc/Makefile
Modified: src/modules/cfg_rpc/cfg_rpc.c
---
Diff: https://github.com/kamailio/kamailio/commit/061a66f88a91bc3e05224ef95043ebe…
Patch: https://github.com/kamailio/kamailio/commit/061a66f88a91bc3e05224ef95043ebe…
---
diff --git a/src/modules/cfg_rpc/Makefile b/src/modules/cfg_rpc/Makefile
index a7a980d873..d4e58b4c92 100644
--- a/src/modules/cfg_rpc/Makefile
+++ b/src/modules/cfg_rpc/Makefile
@@ -1,5 +1,5 @@
# cfg_rpc module makefile
-#
+#
# WARNING: do not run this directly, it should be run by the main Makefile
include ../../Makefile.defs
diff --git a/src/modules/cfg_rpc/cfg_rpc.c b/src/modules/cfg_rpc/cfg_rpc.c
index e31429f713..30c72e6083 100644
--- a/src/modules/cfg_rpc/cfg_rpc.c
+++ b/src/modules/cfg_rpc/cfg_rpc.c
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright (C) 2007 iptelorg GmbH
*
* This file is part of ser, a free SIP server.
@@ -24,9 +22,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * History
- * -------
- * 2007-12-03 Initial version (Miklos)
*/
#include "../../core/sr_module.h"
### Description
In the case of using FQDN in
`listen = ... advertise ... `
FQDN is populated in the `Record-Route` header. In this case `is_first_hop()` function is not returning true even if `FQDN == myself` in replies.
#### Reproduction
Add FQND in advertise and check `is_first_hop()` result in a case of reply
#### Log Messages
```
siputils [sipops.c:185]: is_first_hop(): uri host is not an ip address
```
### Possible Solutions
Not use `is_first_hop()` in the case of reply/FQDN in advertising.
### Additional Information
version: kamailio 5.4.4 (x86_64/linux) e16352
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, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: e16352
compiled on 09:50:10 May 7 2021 with gcc 4.8.5
* **Operating System**:
```
# uname -a
Linux fe-0513-2-dev 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```
https://github.com/kamailio/kamailio/blob/02240711239149e2f5c4890a70ab158d1…
--
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/2732
Module: kamailio
Branch: 5.5
Commit: 9fe76d00f32aa3adfb0bfb2c7cbe325681089037
URL: https://github.com/kamailio/kamailio/commit/9fe76d00f32aa3adfb0bfb2c7cbe325…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-12T16:07:52+02:00
secsipid: docs - set GO111MODULE=off in installation example
(cherry picked from commit ecc8a34dae44883b125ae7a3da59d4a332e0b48c)
---
Modified: src/modules/secsipid/doc/secsipid_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/9fe76d00f32aa3adfb0bfb2c7cbe325…
Patch: https://github.com/kamailio/kamailio/commit/9fe76d00f32aa3adfb0bfb2c7cbe325…
---
diff --git a/src/modules/secsipid/doc/secsipid_admin.xml b/src/modules/secsipid/doc/secsipid_admin.xml
index d9d622af17..1e22e371fb 100644
--- a/src/modules/secsipid/doc/secsipid_admin.xml
+++ b/src/modules/secsipid/doc/secsipid_admin.xml
@@ -318,7 +318,7 @@ request_route {
<section id="secsipid.s.installation">
<title>Installation</title>
<para>
- The module needs "secsipdi_proc.so" module thatdepends on "libsecsipid",
+ The module needs "secsipdi_proc.so" module that depends on "libsecsipid",
which is a component of "sipsecidx" project from
https://github.com/asipto/secsipidx/. The library is
implemented in Go language, with generated C API and library. Until the
@@ -334,6 +334,7 @@ request_route {
<title>Libsecsipid Usage</title>
<programlisting format="linespecific">
...
+export GO111MODULE=off
go get https://github.com/asipto/secsipidx
cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
make liba
@@ -351,6 +352,10 @@ make install
...
</programlisting>
</example>
+ <para>
+ For more details about compilation and installation of libsecsipid, see:
+ <ulink url="https://github.com/asipto/secsipidx">https://github.com/asipto/secsipidx</ulink>.
+ </para>
</section>
</chapter>
Module: kamailio
Branch: master
Commit: c441c9226635fb825096080029be7ba2d3ba8132
URL: https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-12T13:14:12+02:00
pv: added $rpl(key) variable
- return attributes of the sip reply that is processed at that moment
- the key can be:
- duri - SIP URI corresponding to the destination address where the
reply is going to be sent based on 2nd via
- dhost - host part of duri
- dport - port part of duri
- dproto - proto of duri
- dprotoid - proto id of duri
- cntvia - number of via header bodies
---
Modified: src/modules/pv/pv.c
Modified: src/modules/pv/pv_core.c
Modified: src/modules/pv/pv_core.h
---
Diff: https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba…
Patch: https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba…
Module: kamailio
Branch: master
Commit: 600c2cf5c7349fc924b53199280baba8bdd329e7
URL: https://github.com/kamailio/kamailio/commit/600c2cf5c7349fc924b53199280baba…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-05-12T08:46:14+02:00
modules: readme files regenerated - secsipid ... [skip ci]
---
Modified: src/modules/secsipid/README
---
Diff: https://github.com/kamailio/kamailio/commit/600c2cf5c7349fc924b53199280baba…
Patch: https://github.com/kamailio/kamailio/commit/600c2cf5c7349fc924b53199280baba…
---
diff --git a/src/modules/secsipid/README b/src/modules/secsipid/README
index c96b7830c6..b42915943b 100644
--- a/src/modules/secsipid/README
+++ b/src/modules/secsipid/README
@@ -299,7 +299,7 @@ request_route {
5. Installation
- The module needs "secsipdi_proc.so" module thatdepends on
+ The module needs "secsipdi_proc.so" module that depends on
"libsecsipid", which is a component of "sipsecidx" project from
https://github.com/asipto/secsipidx/. The library is implemented in Go
language, with generated C API and library. Until the libsecsipid is
@@ -313,6 +313,7 @@ request_route {
Example 1.11. Libsecsipid Usage
...
+export GO111MODULE=off
go get https://github.com/asipto/secsipidx
cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
make liba
@@ -328,3 +329,6 @@ make install
# make modules modules=src/modules/secsipid_proc
# make modules modules=src/modules/secsipid
...
+
+ For more details about compilation and installation of libsecsipid,
+ see: https://github.com/asipto/secsipidx.
Module: kamailio
Branch: master
Commit: ecc8a34dae44883b125ae7a3da59d4a332e0b48c
URL: https://github.com/kamailio/kamailio/commit/ecc8a34dae44883b125ae7a3da59d4a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-12T08:32:37+02:00
secsipid: docs - set GO111MODULE=off in installation example
---
Modified: src/modules/secsipid/doc/secsipid_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ecc8a34dae44883b125ae7a3da59d4a…
Patch: https://github.com/kamailio/kamailio/commit/ecc8a34dae44883b125ae7a3da59d4a…
---
diff --git a/src/modules/secsipid/doc/secsipid_admin.xml b/src/modules/secsipid/doc/secsipid_admin.xml
index d9d622af17..1e22e371fb 100644
--- a/src/modules/secsipid/doc/secsipid_admin.xml
+++ b/src/modules/secsipid/doc/secsipid_admin.xml
@@ -318,7 +318,7 @@ request_route {
<section id="secsipid.s.installation">
<title>Installation</title>
<para>
- The module needs "secsipdi_proc.so" module thatdepends on "libsecsipid",
+ The module needs "secsipdi_proc.so" module that depends on "libsecsipid",
which is a component of "sipsecidx" project from
https://github.com/asipto/secsipidx/. The library is
implemented in Go language, with generated C API and library. Until the
@@ -334,6 +334,7 @@ request_route {
<title>Libsecsipid Usage</title>
<programlisting format="linespecific">
...
+export GO111MODULE=off
go get https://github.com/asipto/secsipidx
cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
make liba
@@ -351,6 +352,10 @@ make install
...
</programlisting>
</example>
+ <para>
+ For more details about compilation and installation of libsecsipid, see:
+ <ulink url="https://github.com/asipto/secsipidx">https://github.com/asipto/secsipidx</ulink>.
+ </para>
</section>
</chapter>
Hello,
We use Kamailio with KAZOO. We have set notifier_processes as follows:
modparam("presence", "notifier_processes", 1)
A value of 1 or greater seems to be required to avoid race conditions when multiple notify's need to be sent.
We've noticed noticed what seems to be a memory leak in Kamailio process. After several days, Kamailio will crash after consuming all system memory.
I have not found any other reports of this happening to others.
Does this seem familiar to anyone?
--
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/2733