To allow more flexibility, I increased the default number of slots from 10 to
40. Dialog specific code analysis will be considered in the future.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Closed #1551.
--
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/1551#event-1667912253___
Kamailio (SER) - Development Mailing List
The issue is that the dlg vars are using core pv buffers to copy their value
before returning it. I assume they do the copy to avoid future race with their
shared memory location, by cloning in pv buffers.
A quick solution is to increase pv_buffer_slots value:
*
has something to do with the size of the string
```
#!KAMAILIO
#
### Global Parameters #
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
log_stderror=yes
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
log_stderror=yes
fork=no
/* uncomment the next line to disable TCP (default
Try this:
```
#!KAMAILIO
#
### Global Parameters #
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
log_stderror=yes
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
log_stderror=yes
fork=no
/* uncomment the next line to disable TCP (default on) */
disable_tcp=yes
/* uncomment the
This seems to be something specific for your environment. I tested with:
```
$var(fmt) = '{"srcip": "$si", "rcvip": "$Ri"}';
pv_evalx("$var(msg)", "$var(fmt)");
xlog(" fmt: $var(fmt)\n");
xlog(" msg: $var(msg)\n");
```
And I got:
```
2(4083) ERROR:
log with debug enabled
```
May 31 15:31:48 PBX-2117 kamailio[43398]: INFO: