Module: kamailio
Branch: 5.7
Commit: e202f597e1725c204eb33fa7b6266d9ce934be09
URL: https://github.com/kamailio/kamailio/commit/e202f597e1725c204eb33fa7b6266d9…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-09-25T20:02:22+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/app_lua/README
Modified: src/modules/http_async_client/README
Modified: src/modules/mohqueue/README
Modified: src/modules/xhttp/README
Modified: src/modules/xlog/README
---
Diff: https://github.com/kamailio/kamailio/commit/e202f597e1725c204eb33fa7b6266d9…
Patch: https://github.com/kamailio/kamailio/commit/e202f597e1725c204eb33fa7b6266d9…
---
diff --git a/src/modules/app_lua/README b/src/modules/app_lua/README
index c4697435ee0..f8891270e1a 100644
--- a/src/modules/app_lua/README
+++ b/src/modules/app_lua/README
@@ -149,7 +149,7 @@ Chapter 1. Admin Guide
Set the path to the Lua script to be loaded at startup. Then you can
use lua_run(function, params) to execute a function from the script at
- runtime.
+ runtime. The script can be in Lua-source or bytecode.
Default value is ���null���.
diff --git a/src/modules/http_async_client/README b/src/modules/http_async_client/README
index 57eff8a890f..0caa3d4631f 100644
--- a/src/modules/http_async_client/README
+++ b/src/modules/http_async_client/README
@@ -146,7 +146,8 @@ Chapter 1. Admin Guide
The following libraries or applications must be installed before
running Kamailio with this module loaded:
- * libcurl libev
+ * libcurl - https://curl.se/libcurl/
+ * libevent - https://libevent.org/
3. Parameters
diff --git a/src/modules/mohqueue/README b/src/modules/mohqueue/README
index 5a0f746fac6..934b5fa145c 100644
--- a/src/modules/mohqueue/README
+++ b/src/modules/mohqueue/README
@@ -327,7 +327,7 @@ $var(mohq) = "operators";
volatile database in memory of call status. If the module is restarted
it loses the internal database and clears the external one.
- On a reqular basis it checks the external table that defines the queues
+ On a regular basis it checks the external table that defines the queues
to see if the definition has changed. It makes this check under the
following conditions: the queue has not been checked in the last 60
seconds AND no call is currently in queue or transitioning in or out.
diff --git a/src/modules/xhttp/README b/src/modules/xhttp/README
index 9a59c839aa1..ec009bacafb 100644
--- a/src/modules/xhttp/README
+++ b/src/modules/xhttp/README
@@ -83,8 +83,8 @@ Chapter 1. Admin Guide
SIP parser can easily handle HTTP requests just by adding a fake Via
header.
- The <module>xmlrpc</module> module uses the same concept. The xHTTP
- module offers a generic way of handling the HTTP protocol, by calling
+ The xmlrpc module uses the same concept. The xHTTP module offers a
+ generic way of handling the HTTP protocol, by calling
event_route[xhttp:request] in your config. You can check the HTTP URL
via the config variable $hu. Note that use of $ru will raise errors
since the structure of an HTTP URL is not compatible with that of a SIP
@@ -222,7 +222,10 @@ event_route[xhttp:request] {
6.1. xhttp:request
- The event route is executed when a new HTTP request is received.
+ The event route is executed when a new HTTP request is received. Most
+ of the variables related to a SIP request can be used inside this event
+ route to get HTTP request attributes (e.g., $si - source IP, $hdr(X) -
+ body of header X, $rm - request method, $rb - request body, ...).
...
tcp_accept_no_cl=yes
...
diff --git a/src/modules/xlog/README b/src/modules/xlog/README
index 6606c5d9ea1..b21766a6d95 100644
--- a/src/modules/xlog/README
+++ b/src/modules/xlog/README
@@ -266,7 +266,7 @@ kamcmd cfg.set_now_int xlog methods_filter 15
Example 1.8. Set methods_filter parameter
...
-modparam("xlog", "long_format", 1)
+modparam("xlog", "methods_filter", 15)
...
5. Functions
- URL: https://github.com/kamailio/kamailio/commit/e681aa8236b502de31ad6600932517a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
jansson: print unknown type in log message
(cherry picked from commit b8cae4fbcd026ffb81e8242500212582d9672ad5)
- URL: https://github.com/kamailio/kamailio/commit/80b26beb7d4f9cd4b3858e9e2dae458…
Author: Norbert Kopp����ny Legyes <norbert.legyes(a)protonmail.com>
Date: 2023-09-25T19:54:49+02:00
xlog: fix docs example for modparam methods_filter
(cherry picked from commit b5a37683e364f596b6c5b4ebbba1fff951d7be84)
- URL: https://github.com/kamailio/kamailio/commit/b59009089ad2b7cc33af27b637a8139…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-09-25T19:54:49+02:00
tm: remove obselete comment, add clarification for reply_wait mode 2
(cherry picked from commit 2dbaa727a38e29da0f887fa5d0d8d20392839f9b)
- URL: https://github.com/kamailio/kamailio/commit/ba7b3155611fd983f7d3d244e7b525a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
kex: safety checks when iterating stats list
- GH #3186
(cherry picked from commit 883f6b77211a76b35a9df570a8ddbbc344b05472)
- URL: https://github.com/kamailio/kamailio/commit/1b42a7036714a0e50bc61bd9e0619f9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
registrar: increase max size for user and domain building aor
- renamed max aor lenght define to match the user and domain style
(cherry picked from commit b1356efd61e56eaa3426d8e2e813ea6730b4f2c9)
- URL: https://github.com/kamailio/kamailio/commit/3e197c7c41c97badece29cbc6477119…
Author: MVONDO Eric OBS/OINIS <bycl2332(a)orange.com>
Date: 2023-09-25T19:54:49+02:00
siptrace: fix pseudo var direction attribute length
(cherry picked from commit 508886c3054a8470fe4469e78e63aa37ae93922d)
- URL: https://github.com/kamailio/kamailio/commit/9276342ea90acffc3d631c6175c1f70…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Date: 2023-09-25T19:54:49+02:00
mohqueue: typo
(cherry picked from commit 0dcaaed5148cba775cebfd88d8e4a593f8c4297d)
- URL: https://github.com/kamailio/kamailio/commit/90bd4424e17bc07a9073fd50bbd6d8b…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Date: 2023-09-25T19:54:49+02:00
etc/ typos
(cherry picked from commit 6e9335ff2245596b74bc1c749d1e7805bf186f02)
- URL: https://github.com/kamailio/kamailio/commit/5b1592900920143c9ce5c188e2835c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
http_async_client: docs - dependency on libevent
- list style for dependencies and links to projects
(cherry picked from commit f16d2658bbefb7a9f43076cbaa958fb3a27f6a0c)
- URL: https://github.com/kamailio/kamailio/commit/774b464af7c561e49253066e8ce3b4e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
xhttp: note about available variables during http request processing
(cherry picked from commit 170067e633ef32ea7b17adad46fdfe2c85fadda0)
- URL: https://github.com/kamailio/kamailio/commit/516894e37e53bf17d29a4c95add29df…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-09-25T19:54:49+02:00
ims_ipsec_pcscf: typo in spi_add function definition, GH #3513
- fix typo in spi_add function definition
- patch from jbipre2, GH #3513
(cherry picked from commit a053bcc391f0680ecd5f458d2512e57f69499d39)
- URL: https://github.com/kamailio/kamailio/commit/34a2d87479d1bcc37d74f3d8fcb4186…
Author: Rick Barenthin <rick(a)ng-voice.com>
Date: 2023-09-25T19:54:49+02:00
core: cfg.y typo in parsing XAVPVIAFIELDS
In the XAVPVIAFIELDS block there is the string written to the wrong variable.
The string is stored in _ksr_xavp_via_params.s but the lenght is stored in _ksr_xavp_via_fields.len. This breaks XAVPVIAPARAMS and XAVPVIAFIELDS.
(cherry picked from commit 722a79a9ba8ca2608e699ec14684ce004ae10d60)
- URL: https://github.com/kamailio/kamailio/commit/3a217af6b9229989b3c7a788a01609e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
rabbitmq: proper check for allocated pointer
(cherry picked from commit 4d58141ab84cf248e8c44a96181642ad0f187e80)
- URL: https://github.com/kamailio/kamailio/commit/fac1995c8730a83c24036c9d01d52b6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
db_redis: free db_keys in case of failure
- backport of 027c2b30b39a7596c8630c06995ddc49bb42d789
- URL: https://github.com/kamailio/kamailio/commit/34885ab83c0c259376ffda04b41253e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
pv_headers: compare result of pvh_set_xavi() with NULL for error cases
- the function returns a pointer
(cherry picked from commit 5633026f90e46f7d6da8c1a658d425e8926f6949)
- URL: https://github.com/kamailio/kamailio/commit/35f0efadeceaecc8e3315f4682d9ac4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
msilo: cast to fix storage size warning
(cherry picked from commit c11fcbbe9ed19bc54b800100d15d9ae269735f0c)
- URL: https://github.com/kamailio/kamailio/commit/59d0ebe41017c2270b62f6171285bae…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
core: parser - set via->params.len when body is finished
(cherry picked from commit 82b0f273e1cf65051b6c50301c5073dce56c1149)
- URL: https://github.com/kamailio/kamailio/commit/9be895a16c91bcf4eb299ce0ffb1462…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Date: 2023-09-25T19:54:49+02:00
[app_lua] clarify the file scripts can be in source or bytecode
(cherry picked from commit a8747aa02ff3fbffd7a63bdc1e5c06188472edfa)
- URL: https://github.com/kamailio/kamailio/commit/1f27bdfc5cc25b9d2f06204169131d9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-25T19:54:49+02:00
Revert "pv_headers: compare result of pvh_set_xavi() with NULL for error cases"
This reverts commit 3bb59945d59ae438897a8f797dc2f06489728459.
fixed incorrect source IP address selection for the SIP messages sending procedure when TCP transport is used or for UDP with the 'mhomed' setting set as 'mhomed=1'.
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #3486(replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
The current service behavior is as follows: if OS contains several network interfaces and the service has a listening TCP socket (or UDP with 'mhomed=1' setting) on the second (third, fourth and so on) interface, then the outbound SIP messages will be always sent from the first (default) interface.
These changes make the outbound SIP messages always going through the network_interface/address, which is taken for listening by service.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3490
-- Commit Summary --
* core: fixed wrong network interface selection.
-- File Changes --
M src/core/forward.c (7)
M src/core/udp_server.c (37)
M src/core/udp_server.h (6)
M src/main.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3490.patchhttps://github.com/kamailio/kamailio/pull/3490.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3490
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3490(a)github.com>
Module: kamailio
Branch: master
Commit: 1e52a51a517a08ade0d554544bda2521535e4f98
URL: https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-09-25T17:01:36+02:00
modules: readme files regenerated - htable ... [skip ci]
---
Modified: src/modules/htable/README
Modified: src/modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
Patch: https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda252…
---
diff --git a/src/modules/htable/README b/src/modules/htable/README
index ff0686ef14c..4520bce8333 100644
--- a/src/modules/htable/README
+++ b/src/modules/htable/README
@@ -19,7 +19,13 @@ Ovidiu Sas
<osas(a)voipembedded.com>
+Tyler Moore
+
+ <tmoore(a)dopensource.com>
+
Copyright �� 2008-2011 http://www.asipto.com
+
+ Copyright �� 2023 Tyler Moore (devopsec), dOpenSource
__________________________________________________________________
Table of Contents
@@ -514,6 +520,35 @@ $ kamcmd htable.dump htable
nodes (htable peers). Please note, module parameter ���enable_dmq���
must also be set in order for this to apply (see below). Default is
0 (no replication).
+ * coldelim - the character delimeter to use when packing the htable.
+ When set, this parameter changes the column delimeter between
+ columns in a multiple column hash table. This can be useful when
+ loading JSON data types into a hash table as they conflict with the
+ default ���,��� delimeter, allowing these values to be parsed in the
+ routing config. See the example below on parsing a JSON array from
+ an htable with ���;��� as the column delimeter.
+...
+modparam("htable", "htable", "customer=>size=8;dbtable=customer;cols='dids,descr
+iption';coldelim=';'")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_dids) = $(avp(customer){s.select,0,;});
+$var(customer_desc) = $(avp(customer){s.select,1,;});
+...
+ * colnull - the character to use when packing a NULL value into the
+ htable from the database. This parameter can be set to the empty
+ string or a single character. This can be used to simplify checking
+ a single column in a row for emptiness, in the routing config. The
+ example below shows how one would do that.
+...
+modparam("htable", "htable", "customer=>size=8;dbtable=customer;cols='name,descr
+iption';colnull=''")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_name) = $(avp(customer){s.select,0,;});
+if (!strempty($var(customer_name))) {
+...
+}
Default value is NULL.
diff --git a/src/modules/tls/README b/src/modules/tls/README
index f721ba81d61..7ae3945db77 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -295,10 +295,6 @@ request_route {
options, run kamailio -V and look for USE_TLS and TLS_HOOKS among the
flags.
- For OpenSSL (libssl) v1.1.x, it is required to preload
- 'openssl_mutex_shared' library shipped by Kamailio. For more details
- see 'src/modules/tls/utils/openssl_mutex_shared/README.md'.
-
This module includes several workarounds for various Openssl bugs (like
compression and Kerberos using the wrong memory allocations functions,
low memory problems a.s.o). On startup it will try to enable the needed
The code from src/modules/tls/utils/openssl_mutex_shared/openssl_mutex_shared.c is in src/main.c .
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3519
-- Commit Summary --
* tls: remove openssl_mutex_shared
-- File Changes --
M pkg/kamailio/obs/kamailio.spec (2)
M src/modules/tls/Makefile (2)
M src/modules/tls/doc/tls.xml (5)
D src/modules/tls/utils/openssl_mutex_shared/Makefile (26)
D src/modules/tls/utils/openssl_mutex_shared/README.md (63)
D src/modules/tls/utils/openssl_mutex_shared/openssl_mutex_shared.c (49)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3519.patchhttps://github.com/kamailio/kamailio/pull/3519.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3519
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3519(a)github.com>