Module: kamailio
Branch: master
Commit: 25b1a51806dfa661f987958c8e84a16e60e37a4f
URL: https://github.com/kamailio/kamailio/commit/25b1a51806dfa661f987958c8e84a16…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-15T08:33:07+01:00
core: split function that locates a module file
---
Modified: src/core/sr_module.c
Modified: src/core/sr_module.h
---
Diff: https://github.com/kamailio/kamailio/commit/25b1a51806dfa661f987958c8e84a16…
Patch: https://github.com/kamailio/kamailio/commit/25b1a51806dfa661f987958c8e84a16…
---
diff --git a/src/core/sr_module.c b/src/core/sr_module.c
index a021cb92c3..0a7ba37848 100644
--- a/src/core/sr_module.c
+++ b/src/core/sr_module.c
@@ -376,44 +376,24 @@ static inline int version_control(void *handle, char *path)
}
/**
- * \brief load a sr module
+ * \brief lookup a module and fill the new path
*
- * tries to load the module specified by mod_path.
- * If mod_path is 'modname' or 'modname.so' then
- * \<MODS_DIR\>/\<modname\>.so will be tried and if this fails
- * \<MODS_DIR\>/\<modname\>/\<modname\>.so
- * If mod_path contain a '/' it is assumed to be the
- * path to the module and tried first. If fails and mod_path is not
- * absolute path (not starting with '/') then will try:
- * \<MODS_DIR\>/mod_path
* @param mod_path path or module name
+ * @param new_path resolved path to the module, must be pkg_free() if != mod_path
* @return 0 on success , <0 on error
*/
-int load_module(char* mod_path)
+int ksr_locate_module(char *mod_path, char **new_path)
{
- void* handle;
- char* error;
- mod_register_function mr;
- module_exports_t* exp;
- struct sr_module* t;
struct stat stat_buf;
str modname;
char* mdir;
char* nxt_mdir;
char* path;
int mdir_len;
- int len;
- int dlflags;
- int new_dlflags;
- int retries;
int path_type;
- str expref;
- char exbuf[64];
+ int len;
-#ifndef RTLD_NOW
-/* for openbsd */
-#define RTLD_NOW DL_LAZY
-#endif
+ *new_path = NULL;
path=mod_path;
path_type = 0;
modname.s = path;
@@ -523,6 +503,57 @@ int load_module(char* mod_path)
goto error;
}
}
+
+ LM_DBG("found module to load <%s>\n", path);
+ *new_path = path;
+ return 0;
+
+error:
+ if(path!=mod_path) {
+ pkg_free(path);
+ }
+
+ return -1;
+}
+
+/**
+ * \brief load a sr module
+ *
+ * tries to load the module specified by mod_path.
+ * If mod_path is 'modname' or 'modname.so' then
+ * \<MODS_DIR\>/\<modname\>.so will be tried and if this fails
+ * \<MODS_DIR\>/\<modname\>/\<modname\>.so
+ * If mod_path contain a '/' it is assumed to be the
+ * path to the module and tried first. If fails and mod_path is not
+ * absolute path (not starting with '/') then will try:
+ * \<MODS_DIR\>/mod_path
+ * @param mod_path path or module name
+ * @return 0 on success , <0 on error
+ */
+int load_module(char* mod_path)
+{
+ void* handle;
+ char* error;
+ mod_register_function mr;
+ module_exports_t* exp;
+ struct sr_module* t;
+ int dlflags;
+ int new_dlflags;
+ int retries;
+ char* path = NULL;
+ str expref;
+ char exbuf[64];
+ char* mdir;
+
+#ifndef RTLD_NOW
+/* for openbsd */
+#define RTLD_NOW DL_LAZY
+#endif
+
+ if(ksr_locate_module(mod_path, &path)<0) {
+ return -1;
+ }
+
LM_DBG("trying to load <%s>\n", path);
retries=2;
diff --git a/src/core/sr_module.h b/src/core/sr_module.h
index 1d3150b326..8de9026c2a 100644
--- a/src/core/sr_module.h
+++ b/src/core/sr_module.h
@@ -549,4 +549,6 @@ int destroy_modules_phase(void);
int ksr_shutdown_phase_init(void);
int ksr_shutdown_phase(void);
+int ksr_locate_module(char *mod_path, char **new_path);
+
#endif /* sr_module_h */
Hello,
I am considering to release Kamailio v5.4.4 sometime next week, likely
on Monday, February 15, 2020. This is the usual heads up notification to
see if anyone is aware of issues not yet reported to bug tracker and if
yes, do it as soon as possible to give them a chance to be fixed.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
Module: kamailio
Branch: master
Commit: e0dcb1617bedf13cc3fc76cf7f3b5cd516806bc8
URL: https://github.com/kamailio/kamailio/commit/e0dcb1617bedf13cc3fc76cf7f3b5cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-11T17:33:14+01:00
htable: docs - not about use of event_route[htable:mod-init]
---
Modified: src/modules/htable/doc/htable_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e0dcb1617bedf13cc3fc76cf7f3b5cd…
Patch: https://github.com/kamailio/kamailio/commit/e0dcb1617bedf13cc3fc76cf7f3b5cd…
---
diff --git a/src/modules/htable/doc/htable_admin.xml b/src/modules/htable/doc/htable_admin.xml
index 573d801bba..3a7f101bca 100644
--- a/src/modules/htable/doc/htable_admin.xml
+++ b/src/modules/htable/doc/htable_admin.xml
@@ -1528,6 +1528,18 @@ kamcmd htable.stats
once, after core and module initialization, but before &kamailio; forks any
child processes.
</para>
+ <para>
+ Note: do not expect to use functions from all other modules here,
+ even if they are loaded before the htable module, because many of
+ them initialize their runtime structures inside child init callbacks,
+ which are executed after this moment, when forking child processes.
+ For example, sqlops cannot be used, connections to database are
+ initialized in child init. Even more, it is recommended not to use
+ functions from other modules, because it can mess up what they
+ created in mod init callback and expect in child init callback. It
+ should be ok to use functions from htable module or assignment
+ operations.
+ </para>
<programlisting format="linespecific">
...
event_route[htable:mod-init] {
### Description
CSeq fails to increment on CANCEL in v5.4.3. Possible regression of problem fixed in issue #918. Not reproducible in v5.3.8, nor in v5.5 nightly debian package.
_Note: I have another (production) system running v.5.4.1 that does not exhibit this behavior, so it's possible it broke in 5.4.2 or 5.4.3 specifically._
### Troubleshooting
Compared behavior of 5.4.3 with 5.3.8 and 5.5 nightly Debian packages.
#### Reproduction:
Using `track_cseq_updates` parameter in the Dialog module, the CSeq offset should be automatically tracked if the UAC module is performing authentication.
#### Log Messages
Provided as attachment.
#### SIP Traffic
Full SIP Dialog will be provided as attachment, but here is the call ladder from v5.4.3 illustrating that the Cseq in Frames 12, 14, 15, and 16 do not increment downstream after authentication. They should match the Cseq from the re-INVITE in frame 7. In v5.3.8 and v5.5-nightly, using the same configuration file the Cseq in frame 12 is 2, matching the Cseq in the re-INVITE, and the downstream party then recognizes the transaction and responds to the cancel.
```
213.173.185.50:5060 10.0.0.4:5060 65.254.44.194:5060
─────┬───────────── ─────────┬──────── ──────────┬─────────
#1 │ INVITE (SDP) Cseq:1 │ │
│ ──────────────────────────> │ │
#2 │ 100 trying -- your call is │ │
│ <────────────────────────── │ │
#3 │ │ INVITE (SDP) Cseq:1 │
│ │ ──────────────────────────> │
#4 │ │ 100 Trying │
│ │ <────────────────────────── │
#5 │ │ 407 Proxy Authentication R │
│ │ <────────────────────────── │
#6 │ │ ACK │
│ │ ──────────────────────────> │
#7 │ │ INVITE (SDP) Cseq:2 │
│ │ ──────────────────────────> │
#8 │ │ 100 Trying │
│ │ <────────────────────────── │
#9 │ │ 183 Session Progress (SDP) │
│ │ <────────────────────────── │
#10 │ 183 Session Progress (SDP) │ │
│ <────────────────────────── │ │
#11 │ CANCEL Cseq:1 │ │
│ ──────────────────────────> │ │
#12 │ │ CANCEL Cseq:1 │
│ │ ──────────────────────────> │
#13 │ 200 canceling │ │
│ <────────────────────────── │ │
#14 │ │ CANCEL Cseq:1 │
│ │ ────────────────────────>>> │
#15 │ │ CANCEL Cseq:1 │
│ │ ────────────────────────>>> │
#16 │ │ CANCEL Cseq:1 │
│ │ ────────────────────────>>> │
```
### Possible Solutions
This matches the description from issue #918.
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.4.3 (x86_64/linux)
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, TLS_PTHREAD_MUTEX_SHARED
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: unknown
compiled with gcc 8.3.0
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
uname -a :
```
Linux aarenet-sipdir1 4.19.0-13-cloud-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
```
lsb_release -a:
```
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
```
--
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/2637
Module: kamailio
Branch: 5.4
Commit: 807ff5d216ad0dd8a620201b49c125c9c26d3559
URL: https://github.com/kamailio/kamailio/commit/807ff5d216ad0dd8a620201b49c125c…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-02-12T16:16:30+01:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/htable/README
Modified: src/modules/rr/README
---
Diff: https://github.com/kamailio/kamailio/commit/807ff5d216ad0dd8a620201b49c125c…
Patch: https://github.com/kamailio/kamailio/commit/807ff5d216ad0dd8a620201b49c125c…
---
diff --git a/src/modules/htable/README b/src/modules/htable/README
index ca193e2213..85f19c7102 100644
--- a/src/modules/htable/README
+++ b/src/modules/htable/README
@@ -1165,6 +1165,16 @@ kamcmd htable.stats
items in hash tables. The event route is executed only once, after core
and module initialization, but before Kamailio forks any child
processes.
+
+ Note: do not expect to use functions from all other modules here, even
+ if they are loaded before the htable module, because many of them
+ initialize their runtime structures inside child init callbacks, which
+ are executed after this moment, when forking child processes. For
+ example, sqlops cannot be used, connections to database are initialized
+ in child init. Even more, it is recommended not to use functions from
+ other modules, because it can mess up what they created in mod init
+ callback and expect in child init callback. It should be ok to use
+ functions from htable module or assignment operations.
...
event_route[htable:mod-init] {
$sht(a=>x) = 1;
diff --git a/src/modules/rr/README b/src/modules/rr/README
index 9f3917c484..0ac7812437 100644
--- a/src/modules/rr/README
+++ b/src/modules/rr/README
@@ -370,7 +370,8 @@ modparam("rr", "ignore_sips", 1)
4.9. sockname_mode (int)
If set to 1, the Record-Route URI is built to contain socket name in
- 'sn' parameter.
+ 'sn' parameter and then it is used to lookup the local socket for Route
+ header processing.
Default value is 0.
@@ -502,8 +503,8 @@ remove_record_route();
5.5. record_route_preset(string [,string2])
- This function will put the string into Record-Route, don't use unless
- you know what you are doing.
+ This function will put the string params into Record-Route, avoid to
+ use it unless you know what you are doing.
Meaning of the parameters is as follows:
* string - String to be inserted into the first header field; it may
@@ -515,6 +516,13 @@ remove_record_route();
the outbound interface and the 'string2' param is pointing to the
inbound interface.
+ Note: The value of parameters must not contain the SIP protocol scheme
+ (sip: or sips:), one is added based on routing requirements. Thus the
+ value has to be like "address:port;parameters", the port and parameters
+ are optional. If the second parameter is provided, do not forget to add
+ the parameter "r2=on" so the proxy processes both corresponding Route
+ headers at once.
+
When the “outbound” module was loaded before this module this function
will determine whether outbound is required for the request and
generate and add a flow-token as the username part of the
@@ -559,9 +567,9 @@ record_route_advertised_address("1.2.3.4:5080");
Adds a parameter to the Record-Route URI (param must be in
“;name=value” format. The function may be called also before or after
- the record_route() or record_route_advertised_address() calls (see
- Section 5.3, “record_route([sparams])” or Section 5.6,
- “record_route_advertised_address(address)”)).
+ the record_route(), record_route_advertised_address(), and
+ record_route_preset() calls (see Section 5.3, “record_route([sparams])”
+ or Section 5.6, “record_route_advertised_address(address)”)).
Meaning of the parameters is as follows:
* param - String containing the URI parameter to be added. It must
Module: kamailio
Branch: master
Commit: 5727a6f1e67a699ebc79f3df248a4ffda52b66e4
URL: https://github.com/kamailio/kamailio/commit/5727a6f1e67a699ebc79f3df248a4ff…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-02-12T16:16:13+01:00
modules: readme files regenerated - rr ... [skip ci]
---
Modified: src/modules/rr/README
---
Diff: https://github.com/kamailio/kamailio/commit/5727a6f1e67a699ebc79f3df248a4ff…
Patch: https://github.com/kamailio/kamailio/commit/5727a6f1e67a699ebc79f3df248a4ff…
---
diff --git a/src/modules/rr/README b/src/modules/rr/README
index 4225d0dc37..0f6cd7fd32 100644
--- a/src/modules/rr/README
+++ b/src/modules/rr/README
@@ -373,7 +373,8 @@ modparam("rr", "ignore_sips", 1)
4.9. sockname_mode (int)
If set to 1, the Record-Route URI is built to contain socket name in
- 'sn' parameter.
+ 'sn' parameter and then it is used to lookup the local socket for Route
+ header processing.
Default value is 0.
- URL: https://github.com/kamailio/kamailio/commit/be0e0fc4da2a6a901cacda9b3574147…
Author: tsearle <tsearle(a)gmail.com>
Date: 2021-02-12T15:34:53+01:00
modules/siptrace: fix regression preventing variables to be used (#2588)
* modules/siptrace: fix regression preventing variables to be used
Commit fa7eb2a switched the 2 parameter version of sip_trace from
using the builtin fixup_spve_spve to the custom fixup method to
using the custom fixup_siptrace. As it is a custom fixup method,
the corresponding free method can not be auto-detected causing the
config parser to require the parameters to be a constant. This
patch adds a free method, allowing variables to be once again passed
as the 2nd parameter of this method (as well as fixing a memory leak
for the 3rd parameter).
* change free for parameter 3
Co-authored-by: Torrey Searle <tsearle(a)voxbone.com>
(cherry picked from commit 7c98d547996637a7bf1c7025c93142f574fe3ac9)
- URL: https://github.com/kamailio/kamailio/commit/91ae11588b6d038b97e803f4afaf44d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:41:06+01:00
core: added --no-atexit cli parameter
- skip atexit callbacks execution from external libraries which may access
destroyed shm memory causing crash on shutdown
(cherry picked from commit 9f12d314268d1d2cd990cb3c5556f79343869e47)
- URL: https://github.com/kamailio/kamailio/commit/eadd50a92bfe7fb0cdfa90276cdb5df…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:41:30+01:00
core: take in consideration --no-atexit for daemonize()
(cherry picked from commit 7ab2e85437482b4dba86937a29da025503450014)
- URL: https://github.com/kamailio/kamailio/commit/0dbdf13df804e26337a7b88b16f18c3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:41:42+01:00
core: use macro for exit variants based on --no-atexit
(cherry picked from commit 06aec5a81cb22d06ad3bf613a05951f91e7e21bc)
- URL: https://github.com/kamailio/kamailio/commit/c603f69179872775fcf8f35fd0a0d2c…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2021-02-12T15:41:54+01:00
doc: update options at manpage
* put them in order too
(cherry picked from commit 377bb3bdfd20bedabbe0f92e53bdded44be267e9)
- URL: https://github.com/kamailio/kamailio/commit/97ba470451ecde8c97531fdce3ddd2e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:43:41+01:00
core: replaced --no-atexit with --atexit=val
- val can be y[es] or 1 to enable execution of atexit callbacks; n[o] or
0 to disable the execution of atexit callbacks
- default yes
- simplified ksr_exit() macro
(cherry picked from commit 9b1472275530ed4cc32a65cd247dc9997e8b964b)
- URL: https://github.com/kamailio/kamailio/commit/e4994b28b2052ff864c16aaa2305d73…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2021-02-12T15:43:58+01:00
doc: update manpage for atexit option
(cherry picked from commit 351efd29d332703e79104a106ade08c9d1df6e20)
- URL: https://github.com/kamailio/kamailio/commit/2f912a17d09a6e7aad89b5df4629a36…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:44:36+01:00
keepalive: check if the destinations list is initialized at runtime use
- do not initialize, because is no longer seen in all processes,
initialization must be done in mod init
(cherry picked from commit b2b7ec826055fd67ecf5ffb052afa609e0aa9e5b)
- URL: https://github.com/kamailio/kamailio/commit/1c6a04517d924d3f806573529f915a4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:53:45+01:00
core: more use of ksr_exit() macro to follow --atexit param
(cherry picked from commit 4f6243e8e6e2012af35aae67da7b93af2127f02c)
- URL: https://github.com/kamailio/kamailio/commit/1202f7ba0033a83ade2839cab06b2f2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:54:16+01:00
core: cfg.lex - overwrite yy_fatal_error() to use ksr_exit() macro
(cherry picked from commit 9f326234f40f2c02f4833647112c3a4f4912aa17)
- URL: https://github.com/kamailio/kamailio/commit/cfd9a30e5cad869c7188a524e24d1b6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:54:26+01:00
core: cfg.lex - declare auto-generated yy_fatal_error() with unused attribute
(cherry picked from commit 346d99d1f98178a71d482e5724135f65257427dd)
- URL: https://github.com/kamailio/kamailio/commit/58dfc4cb7e1de233dfb2ceed2fb2a17…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:54:36+01:00
core: main - terminate using ksr_exit() instead of return
(cherry picked from commit d8643cd2caf38aa1efaeff73783920fab1d9bf0d)
- URL: https://github.com/kamailio/kamailio/commit/bf8ab95cffdb1d2ab98c68ca84ad806…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:54:47+01:00
core: cfg.lex - removed __attribute__((unused))
- not supported on some distros
- workaround to avoid unused warning
(cherry picked from commit 20fdab545a5f5c3ef1b8d8c4c392acaf4f9e8aae)
- URL: https://github.com/kamailio/kamailio/commit/e4fd58083274a774dae528437a01200…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:55:03+01:00
cfg.lex: removed yynoreturn attribute for ksr_yy_fatal_error()
- it is defined only by newer flex version, resulting in compile
failure on older versions (e.g., centos 7)
(cherry picked from commit f230035d8275cbad8d7515f73ba242f77a7a16db)
- URL: https://github.com/kamailio/kamailio/commit/a36805a26aa84e865ba18260d94587b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:55:27+01:00
tls: fixed small typo in log message
(cherry picked from commit 3c1a454a1ac4fe8e668f709d3e278bbce59c51d3)
- URL: https://github.com/kamailio/kamailio/commit/bc65cba661747c960d6d62807e0bedf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:57:14+01:00
core: keep a global flag in shm for shut down phase
- set when destroy modules is starting
- useful to check from other processes if shut down started
(cherry picked from commit 6da946e4a3d6d6949dd6babe9cf3919edc0b4519)
- URL: https://github.com/kamailio/kamailio/commit/72b88989f359ddd14e83a7b2f8c1087…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:57:27+01:00
core: proper test when initializing _ksr_shutdown_phase shm pointer
(cherry picked from commit 27b2ddf926240b1dd269eb1d96767d73edf9c6e6)
- URL: https://github.com/kamailio/kamailio/commit/23d24f9db87e5b5d384af70e466df9d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:04:21+01:00
core: test if shm is initialized on early shutdown
(cherry picked from commit b7d42f248bef70a06d8ae23f4a7652fd3f0e4e61)
- URL: https://github.com/kamailio/kamailio/commit/57c9794350d36fe1965212bca2bd42f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:05:05+01:00
ctl: skip handling rpc commands if kamilio is in shutdown phase
- related to #2433
(cherry picked from commit 6d928b59a3dbd6eb291da3d3936be6e8f18588af)
- URL: https://github.com/kamailio/kamailio/commit/ee6b30c1556d4591ef92f8696e583a9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:05:17+01:00
ctl: fail when requested to process rpc commands in shutdown phase
(cherry picked from commit 2015cfdfd777085dad98a606fc41946af186db1b)
- URL: https://github.com/kamailio/kamailio/commit/f1a4f695e530e387e2f14d257263b7c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:06:07+01:00
core: initialize allocated _ksr_shutdown_phase pointer
(cherry picked from commit f27c2e06d7467c4c33ff289175862ae7614a3018)
- URL: https://github.com/kamailio/kamailio/commit/38dd7fd703f043c51756df936abc561…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:06:46+01:00
core: cfg.lex - do not destroy action if pre-fixup fails
- params might be in inconsistent state, shutdown is triggered which
cleans the pkg anyhow
- GH #2630
(cherry picked from commit dddd530ed9fa7b6ca8b31ff299105a53c39c1a5e)
- URL: https://github.com/kamailio/kamailio/commit/a0e796754a0e51f635d6bf899711294…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:07:10+01:00
rr: use rr params with record_route_preset()
- param buffer was checked, but not used
(cherry picked from commit 76b886da8ddf11a94a62850c19bad8c83bd113fc)
- URL: https://github.com/kamailio/kamailio/commit/2e6a4024ae35b95d3f4b777ec6eb346…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:07:19+01:00
rr: docs - note about format of record_route_preset() parameters
(cherry picked from commit f318fab629c308250531046d453a8ac76f80ca42)
- URL: https://github.com/kamailio/kamailio/commit/a61d308c4460afcaab19934ade23a7e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:07:28+01:00
rr: docs - added missing end tag for para introduced in previous commit
(cherry picked from commit f8e60bcba548b25657cc295f8a593adf371f9fda)
- URL: https://github.com/kamailio/kamailio/commit/73e849cb3e5771402fb1a9249457ae3…
Author: Juha Heinanen <jh(a)tutpro.com>
Date: 2021-02-12T16:07:36+01:00
Fixed typo.
(cherry picked from commit 2664a51c35a1e8b5adc4c7e6cedde60bc01f0b28)
- URL: https://github.com/kamailio/kamailio/commit/0f4eecdca36e9fc3311175a354a2404…
Author: Juha Heinanen <jh(a)tutpro.com>
Date: 2021-02-12T16:07:48+01:00
Improved README.
(cherry picked from commit 857e9deb4c2455ee2ea0c05446da54f97e1f0a63)
- URL: https://github.com/kamailio/kamailio/commit/e0461d1c4026dd2953e4352bea05864…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:08:02+01:00
htable: docs - not about use of event_route[htable:mod-init]
(cherry picked from commit e0dcb1617bedf13cc3fc76cf7f3b5cd516806bc8)
- URL: https://github.com/kamailio/kamailio/commit/48e84d70e42f17712e4718fc1ae9418…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:08:15+01:00
rr: compare sockname parameter name with the attribute name
(cherry picked from commit 86e8bfdee87558fcee3e5b821b506b934c6b6790)
- URL: https://github.com/kamailio/kamailio/commit/9f7cb97ded57e6980dcb86752484ed8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:08:40+01:00
core: define sockname attribute name
- used in the sockname r-r parameter
(cherry picked from commit 274d32651d7886b7f424239565a2714e2dd0991d)
- URL: https://github.com/kamailio/kamailio/commit/0e0d067be489296ccffbc0a44ca37c8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:15:11+01:00
rr: docs - more details for sockname_mode param
(cherry picked from commit 86a5f81b776eab3e2b9a3a5470094546b94253f7)
Module: kamailio
Branch: master
Commit: 86a5f81b776eab3e2b9a3a5470094546b94253f7
URL: https://github.com/kamailio/kamailio/commit/86a5f81b776eab3e2b9a3a547009454…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T16:14:18+01:00
rr: docs - more details for sockname_mode param
---
Modified: src/modules/rr/doc/rr_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/86a5f81b776eab3e2b9a3a547009454…
Patch: https://github.com/kamailio/kamailio/commit/86a5f81b776eab3e2b9a3a547009454…
---
diff --git a/src/modules/rr/doc/rr_admin.xml b/src/modules/rr/doc/rr_admin.xml
index 7916789a82..98bad1239f 100644
--- a/src/modules/rr/doc/rr_admin.xml
+++ b/src/modules/rr/doc/rr_admin.xml
@@ -317,7 +317,8 @@ modparam("rr", "ignore_sips", 1)
<title><varname>sockname_mode</varname> (int)</title>
<para>
If set to 1, the Record-Route URI is built to contain socket name in 'sn'
- parameter.
+ parameter and then it is used to lookup the local socket for Route header
+ processing.
</para>
<para>
<emphasis>