#### 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 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:
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #3278
#### Description
When websocket is closed, then possible race condition websocket removal and websocket keepalive functions.
[ws_frame.c:816](https://github.com/kamailio/kamailio/blob/ac4c2d4579f121395… - setting socked state `WS_S_CLOSING`
[ws_conn.c:703](https://github.com/kamailio/kamailio/blob/master/src/modules… - setting socket state `WS_S_REMOVING` and updates `rmticks` value.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3331
-- Commit Summary --
* websocket: ignoring keepalive for socket in the removing state (GH #3278)
-- File Changes --
M src/modules/websocket/ws_frame.c (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3331.patchhttps://github.com/kamailio/kamailio/pull/3331.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3331
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3331(a)github.com>
```
CC (gcc) [kamailio] core/nonsip_hooks.o
CC (gcc) [kamailio] core/onsend.o
CC (gcc) [kamailio] core/pass_fd.o
CC (gcc) [kamailio] core/ppcfg.o
In file included from core/ppcfg.c:37:
core/utils/snexpr.h: In function 'snexpr_create':
core/utils/snexpr.h:1247:98: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 2 [-Wformat-truncation=]
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~
core/utils/snexpr.h:1247:96: note: directive argument in the range [-2147483646, 2147483647]
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~~~~
core/utils/snexpr.h:1247:57: note: 'snprintf' output between 3 and 13 bytes into a destination of size 3
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1248 | (j + 1));
| ~~~~~~~~
CC (gcc) [kamailio] core/proxy.o
CC (gcc) [kamailio] core/pt.o
CC (gcc) [kamailio] core/pv_core.o
CC (gcc) [kamailio] core/pvapi.o
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3330
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3330(a)github.com>
I am trying to create a docker image which contains a preconfigured Kamailio server in presence mode.
My image is based off the official Kamailio docker image version **kamailio/kamailio:5.6.2-bullseye**.
My **kamctlrc** file is as follows.
```
SIP_DOMAIN="my-domain.com"
DBENGINE="DBTEXT"
DB_PATH="/usr/share/kamailio/dbtext"
MD5="md5sum"
AWK="awk"
GDB="gdb"
GREP="grep"
EGREP="egrep"
SED="sed"
LAST_LINE="tail -n 1"
EXPR="expr"
INSTALL_EXTRA_TABLES="yes"
INSTALL_PRESENCE_TABLES="yes"
INSTALL_DBUID_TABLES="yes"
RPCFIFOPATH="/run/kamailio/kamailio_rpc.fifo"
PID_FILE="/run/kamailio/kamailio.pid"
```
However, when I try to run **kamdbctl create** I get the following error.
`'18 0.402 ** ERROR: database engine not loaded - tried 'DBTEXT`
Can anyone shed any light on what I am doing wrong here?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3333
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3333(a)github.com>
Hi Team,
I am facing issue when using DNS loadbalancer on port 443 on transport=tls
protocal when calling from voximplant provider i am getting call on my
asterisk media server but getting error message 500 terribly on kamailio
and asterisk sip log.
Also getting error below error on kamailio :
tm [ut.h:316]: uri2dst2(): no corresponding socket found for "69.167.178.6"
af 2 (tls:69.167.178.6:5861)
g150ZGSTD10adFJAOBMnCJir) tm [t_fwd.c:469]: prepare_new_uac(); can't fwd to
af 2, proto 3 (no corresponding listening socket)
g1s0ZGSTD10adFJAOBMnCJir) tm [t_fwd.c:1728]: t_forward_nonack(): failure to
add branches
21s0ZGSTD10adFJAOBMnCJir) cfgtrace:request_route=[RELAY]
c=[/etc/kamailio/kamailio.cfg] 1=659 a=24 n=s1_reply_error
g1s0ZG5TD10adFJA0BMn(Jir) sl [sl_funcs.c:392]: sl_reply_error(): stateless
error reply used: I'm terribly sorry, server error occurred (7/SL)
1s0ZG5TD10adFJAOBMnCJir) *** cfgtrace:request_route=[RELAY]
c=[/etc/kamailio/kamailio.cfg] 1-661 a=2 n=exit
Bcg1s0ZG5TD10adFJA0BMnCJir) acc [acc.c:279]: acc_log_request(): ACC:
transaction answered: timestamp=1673014965; method=BYE;
from_tag=as307e86b8;to_tag=WW
Team pls need your help to solve it.
Thanks in advance