Hi,
if event_route[network:msg] and event_route[siptrace:msg] both are enabled, then event_route[siptrace:msg] seems to be called before event_route[network:msg] when a message has been received (and event_route[siptrace:msg] called after event_route[network:msg], if a message has been sent)
As network:msg (nio) is designed to process compression or encryption, it makes sense, that it is called before event_route[siptrace:msg], that is meant to work on a SIP message (when receiving data from the network). When sending a message, it makes sense, to call siptrace:msg before network:msg.
Is there any option to change this priority (e.g. defining anchors/priorities)?
--
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/2968
When set_rtpengine_set() config function is called.
<!-- 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
- [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 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 -->
- [X] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
After calling set_rtpengine_set(), the new set is not set for further rtpengine delete(). This is because active_rtpp_set is set to default_rtpp_set when msg id != current_msg_id (which is set once by set_rtpengine_set())
I've removed the msg id != current_msg_id condition, and initialized active_rtpp_set in mod_init().
Basically tested locally with 2 sets with 1 rtpengine each.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2965
-- Commit Summary --
* rtpengine: Fix set selection
-- File Changes --
M src/modules/rtpengine/rtpengine.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2965.patchhttps://github.com/kamailio/kamailio/pull/2965.diff
--
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/2965
Hello,
Kamailio SIP Server v5.3.9 stable release is out.
This is a maintenance release of the old stable branch, 5.3, that
includes fixes since the release of v5.3.8. There is no change to
database schema or configuration language structure that you have to do
on previous installations of v5.3.x. Deployments running previous v5.3.x
versions are strongly recommended to be upgraded to v5.3.9 or even
better to v5.4.x or 5.5.x series.
For more details about version 5.3.9 (including links and guidelines to
download the tarball or from GIT repository), visit:
 * https://www.kamailio.org/w/2021/12/kamailio-v5-3-9-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Note:Â the branch 5.3 is an old stable branch, v5.3.9 being the last
planned release out of it, to mark the end of official maintenance.
The maintained stable branches are now 5.4 and 5.5, at this time with
v5.5.3 being the latest stable release.
Many thanks to all contributing and using Kamailio!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.
If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
When using `auth_ephemeral` module I found that using anything other than the default sha1 would fail and crash Kamailio.
<!--
Explain what you did, what you expected to happen, and what actually happened.
-->
### Troubleshooting
#### Log Messages
<!--
Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
*** stack smashing detected ***: <unknown> terminated
13(85) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 15
0(65) ALERT: <core> [main.c:788]: handle_sigs(): child process 77 exited by a signal 6
0(65) ALERT: <core> [main.c:791]: handle_sigs(): core was generated
```
#### SIP Traffic
<!--
If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
N/A
```
### Possible Solutions
<!--
If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix.
-->
I dug into the code and have a Pull Request to fix the issue.
https://github.com/kamailio/kamailio/pull/2962
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.6.0-dev2 (x86_64/linux) 3c905e
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_BLOCKLIST, 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: 3c905e -dirty
compiled on 11:02:49 Dec 4 2021 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 `lsb_release -a` and `uname -a`)
-->
```
Docker debian:debian on MacOS Mojave 10.14
Linux 47b9de1080dc 5.10.47-linuxkit #1 SMP Sat Jul 3 21:51:47 UTC 2021 x86_64 GNU/Linux
```
--
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/2963
Hello,
it is time to mark the end of official packaging for 5.3.x releases,
therefore during the next days I am going to cut the v5.3.9 release from
branch 5.3, likely on Wednesday, Dec 8, 2021.
In other words, if no major regression is detected shortly after this
release, the v5.3.9 is going to be the last one from the 5.3 branch.
It is strongly recommended to move to a series that is under active
maintenance, respectively 5.5.x or 5.4.x.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Feb 21-24, 2022 (America Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
Anchors like ^ and $ match beginning resp. ending of strings but their
matches are zero length, which is ok.
The anchors can be used to pre-/append a prefix/suffix via e.g.
subst_hf("X-My-Header", "/^/prefix /", "a");
subst_hf("X-My-Header", "/$/ suffix/", "a");
<!-- 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
- [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 modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] 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
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2869
-- Commit Summary --
* <a href="https://github.com/kamailio/kamailio/pull/2869/commits/63190fb0f0580a276146…">core: allow empty matches</a>
-- File Changes --
M src/core/data_lump.c (2)
M src/core/re.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2869.patchhttps://github.com/kamailio/kamailio/pull/2869.diff
--
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/2869
Module: kamailio
Branch: 5.3
Commit: 3e21c4d96e9f88ef9013467ea43acae6c31f307c
URL: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-12-06T15:01:40+01:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/textops/README
---
Diff: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
Patch: https://github.com/kamailio/kamailio/commit/3e21c4d96e9f88ef9013467ea43acae…
---
diff --git a/src/modules/textops/README b/src/modules/textops/README
index 3a9a6658a0..0d6b9347dd 100644
--- a/src/modules/textops/README
+++ b/src/modules/textops/README
@@ -222,9 +222,13 @@ Chapter 1. Admin Guide
The module implements text based operations over the SIP message
processed by Kamailio. SIP is a text based protocol and the module
provides a large set of very useful functions to manipulate the message
- at text level, e.g., regular expression search and replace, Perl-like
+ at text level, e.g., regular expression search, replace or
substitutions, checks for method type, header presence, insert of new
- header and date, etc.
+ header and date, string comparisons, multi-part body operations, etc.
+
+ If not stated otherwise, the regular expressions parameters for search,
+ replace or substitute have to be in POSIX format. For PCRE regular
+ expression matching, see the pcre or dialplan modules.
2. Known Limitations
@@ -545,7 +549,7 @@ replace_hdrs_str("Kamailio", "Kamailio SIP Proxy", "a");
4.15. subst('/re/repl/flags')
- Replaces re with repl (sed or perl like).
+ Replaces re with repl.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -626,7 +630,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
4.18. subst_body('/re/repl/flags')
- Replaces re with repl (sed or perl like) in the body of the message.
+ Replaces re with repl in the body of the message.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -647,7 +651,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
4.19. subst_hf(hf, subexp, flags)
- Perl-like substitutions in the body of a header field.
+ Substitutions in the body of a header field.
Meaning of the parameters is as follows:
* hf - header field name.
@@ -713,7 +717,7 @@ set_reply_body("test", "text/plain");
Example 1.22. filter_body usage
...
if (has_body("multipart/mixed")) {
- if (filter_body("application/sdp") {
+ if (filter_body("application/sdp")) {
remove_hf("Content-Type");
append_hf("Content-Type: application/sdp\r\n");
} else {
Module: kamailio
Branch: 5.3
Commit: 6a230024af804ab97a2e260e5a644ad1f58d8c76
URL: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:42:18+01:00
core: clarification for -b cli parameter
(cherry picked from commit f068a9ad1892777bfb9a6d1bcfd17a291578c6b6)
(cherry picked from commit 68a694676df0e0a0d0a8d0180ebc39f9893b49bc)
(cherry picked from commit 748cd0834cc9118fec1ee69b749daad7203346fb)
---
Modified: src/main.c
---
Diff: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
Patch: https://github.com/kamailio/kamailio/commit/6a230024af804ab97a2e260e5a644ad…
---
diff --git a/src/main.c b/src/main.c
index 6ca7feb5ef..0e16009e19 100644
--- a/src/main.c
+++ b/src/main.c
@@ -164,8 +164,8 @@ Options:\n\
(like for 'alias' global parameter)\n\
-A define Add config pre-processor define (e.g., -A WITH_AUTH,\n\
-A 'FLT_ACC=1', -A 'DEFVAL=\"str-val\"')\n\
- -b nr Maximum receive buffer size which will not be exceeded by\n\
- auto-probing procedure even if OS allows\n\
+ -b nr Maximum OS UDP receive buffer size which will not be exceeded by\n\
+ auto-probing-and-increase procedure even if OS allows\n\
-c Check configuration file for syntax errors\n\
-d Debugging mode (multiple -d increase the level)\n\
-D Control how daemonize is done:\n\
Module: kamailio
Branch: 5.3
Commit: 319477691bfed48749eea5c40626f033bfbcf842
URL: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:40:43+01:00
textops: docs update to state regex params expect posix format
(cherry picked from commit b19aab7fe00f72d0c9e54a7a106ec7a065a3d02b)
(cherry picked from commit a78acd8f40ed38b161a075bef74febd93acb092c)
(cherry picked from commit e4eda3f5131e2788670a1f9f8342a2889e9b1107)
---
Modified: src/modules/textops/doc/textops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
Patch: https://github.com/kamailio/kamailio/commit/319477691bfed48749eea5c40626f03…
---
diff --git a/src/modules/textops/doc/textops_admin.xml b/src/modules/textops/doc/textops_admin.xml
index 4d5a7372ed..59eba31655 100644
--- a/src/modules/textops/doc/textops_admin.xml
+++ b/src/modules/textops/doc/textops_admin.xml
@@ -19,9 +19,15 @@
The module implements text based operations over the SIP message
processed by &kamailio;. SIP is a text based protocol and the module
provides a large set of very useful functions to manipulate the
- message at text level, e.g., regular expression search and replace,
- Perl-like substitutions, checks for method type, header presence,
- insert of new header and date, etc.
+ message at text level, e.g., regular expression search, replace
+ or substitutions, checks for method type, header presence,
+ insert of new header and date, string comparisons, multi-part body
+ operations, etc.
+ </para>
+ <para>
+ If not stated otherwise, the regular expressions parameters for search,
+ replace or substitute have to be in POSIX format. For PCRE regular
+ expression matching, see the pcre or dialplan modules.
</para>
</section>
<section>
@@ -555,7 +561,7 @@ replace_hdrs_str("&kamailio;", "&kamailio; SIP Proxy", "a");
<function moreinfo="none">subst('/re/repl/flags')</function>
</title>
<para>
- Replaces re with repl (sed or perl like).
+ Replaces re with repl.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -692,7 +698,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
<function moreinfo="none">subst_body('/re/repl/flags')</function>
</title>
<para>
- Replaces re with repl (sed or perl like) in the body of the message.
+ Replaces re with repl in the body of the message.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -732,7 +738,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
<function moreinfo="none">subst_hf(hf, subexp, flags)</function>
</title>
<para>
- Perl-like substitutions in the body of a header field.
+ Substitutions in the body of a header field.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
Module: kamailio
Branch: 5.4
Commit: 2296c8d889797daf0eb5cedb4970f8f957a42f20
URL: https://github.com/kamailio/kamailio/commit/2296c8d889797daf0eb5cedb4970f8f…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-12-06T14:46:31+01:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/sipdump/README
Modified: src/modules/textops/README
---
Diff: https://github.com/kamailio/kamailio/commit/2296c8d889797daf0eb5cedb4970f8f…
Patch: https://github.com/kamailio/kamailio/commit/2296c8d889797daf0eb5cedb4970f8f…
---
diff --git a/src/modules/sipdump/README b/src/modules/sipdump/README
index e1841bf545..01d3a721df 100644
--- a/src/modules/sipdump/README
+++ b/src/modules/sipdump/README
@@ -289,8 +289,8 @@ event_route[sipdump:msg] {
examples shows how to delete the files older than 2 days using Kamailio
modules.
...
-loadmodule "rtimer.so
-loadmodule "exec.so
+loadmodule "rtimer.so"
+loadmodule "exec.so"
...
modparam("rtimer", "timer", "name=tjobs;interval=300;mode=1;")
modparam("rtimer", "exec", "timer=tjobs;route=TCLEAN")
diff --git a/src/modules/textops/README b/src/modules/textops/README
index dd1fc06a8b..1810c74782 100644
--- a/src/modules/textops/README
+++ b/src/modules/textops/README
@@ -237,9 +237,13 @@ Chapter 1. Admin Guide
The module implements text based operations over the SIP message
processed by Kamailio. SIP is a text based protocol and the module
provides a large set of very useful functions to manipulate the message
- at text level, e.g., regular expression search and replace, Perl-like
+ at text level, e.g., regular expression search, replace or
substitutions, checks for method type, header presence, insert of new
- header and date, etc.
+ header and date, string comparisons, multi-part body operations, etc.
+
+ If not stated otherwise, the regular expressions parameters for search,
+ replace or substitute have to be in POSIX format. For PCRE regular
+ expression matching, see the pcre or dialplan modules.
2. Known Limitations
@@ -565,7 +569,7 @@ replace_hdrs_str("Kamailio", "Kamailio SIP Proxy", "a");
4.15. subst('/re/repl/flags')
- Replaces re with repl (sed or perl like).
+ Replaces re with repl.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -646,7 +650,7 @@ if (subst_user('/(.*)3642$/$avp(user_prefix)\13642/')){$
4.18. subst_body('/re/repl/flags')
- Replaces re with repl (sed or perl like) in the body of the message.
+ Replaces re with repl in the body of the message.
Meaning of the parameters is as follows:
* '/re/repl/flags' - sed like regular expression. flags can be a
@@ -667,7 +671,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
4.19. subst_hf(hf, subexp, flags)
- Perl-like substitutions in the body of a header field.
+ Substitutions in the body of a header field.
Meaning of the parameters is as follows:
* hf - header field name.
Module: kamailio
Branch: 5.4
Commit: 748cd0834cc9118fec1ee69b749daad7203346fb
URL: https://github.com/kamailio/kamailio/commit/748cd0834cc9118fec1ee69b749daad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:32:09+01:00
core: clarification for -b cli parameter
(cherry picked from commit f068a9ad1892777bfb9a6d1bcfd17a291578c6b6)
(cherry picked from commit 68a694676df0e0a0d0a8d0180ebc39f9893b49bc)
---
Modified: src/main.c
---
Diff: https://github.com/kamailio/kamailio/commit/748cd0834cc9118fec1ee69b749daad…
Patch: https://github.com/kamailio/kamailio/commit/748cd0834cc9118fec1ee69b749daad…
---
diff --git a/src/main.c b/src/main.c
index 3a67f841e6..6b53133e31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -170,8 +170,8 @@ Options:\n\
default is yes.\n\
-A define Add config pre-processor define (e.g., -A WITH_AUTH,\n\
-A 'FLT_ACC=1', -A 'DEFVAL=\"str-val\"')\n\
- -b nr Maximum receive buffer size which will not be exceeded by\n\
- auto-probing procedure even if OS allows\n\
+ -b nr Maximum OS UDP receive buffer size which will not be exceeded by\n\
+ auto-probing-and-increase procedure even if OS allows\n\
-c Check configuration file for syntax errors\n\
-d Debugging level control (multiple -d to increase the level from 0)\n\
--debug=val Debugging level value\n\
Module: kamailio
Branch: 5.4
Commit: afc7f4c2e9c8c9176e655303fa1d949cbb4ecdec
URL: https://github.com/kamailio/kamailio/commit/afc7f4c2e9c8c9176e655303fa1d949…
Author: Andrii Pogrebennyk <andrii(a)ng-voice.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-06T14:32:25+01:00
db_redis: don't leave unconsumed redis replies in case of error on update
Execute db_redis_consume_replies on failed update same as in db_redis_insert:
if db_redis_perform_update encounters an error it was leaving unconsumed data
thus causing unexpected reply later on when reading from the same connection.
(cherry picked from commit bbd7b2ed5827252680e9d8949c193699da0a76b2)
(cherry picked from commit 7b371b77702471e62d8bd2ee957c44df73f1db80)
---
Modified: src/modules/db_redis/redis_dbase.c
---
Diff: https://github.com/kamailio/kamailio/commit/afc7f4c2e9c8c9176e655303fa1d949…
Patch: https://github.com/kamailio/kamailio/commit/afc7f4c2e9c8c9176e655303fa1d949…
---
diff --git a/src/modules/db_redis/redis_dbase.c b/src/modules/db_redis/redis_dbase.c
index c9a25adf36..ac1bd2b946 100644
--- a/src/modules/db_redis/redis_dbase.c
+++ b/src/modules/db_redis/redis_dbase.c
@@ -2249,6 +2249,7 @@ static int db_redis_perform_update(const db1_con_t* _h, km_redis_con_t *con, con
db_redis_key_free(&all_type_keys);
db_redis_key_free(&new_type_keys);
+ db_redis_consume_replies(con);
return 0;
error:
@@ -2260,6 +2261,7 @@ static int db_redis_perform_update(const db1_con_t* _h, km_redis_con_t *con, con
db_redis_key_free(&type_keys);
db_redis_key_free(&set_keys);
db_redis_key_free(&new_type_keys);
+ db_redis_consume_replies(con);
return -1;
}