Re: [SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread mayamatakeshi
Thanks. On Thu, Jan 20, 2022 at 11:21 AM Alex Balashov wrote: > Yes, it blocks the process. > > — > Sent from mobile, with due apologies for brevity and errors. > > On Jan 19, 2022, at 9:15 PM, mayamatakeshi > wrote: > >  > Hi, it seems execution of usleep eventually reaches this code: >

Re: [SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread Alex Balashov
Yes, it blocks the process. — Sent from mobile, with due apologies for brevity and errors. > On Jan 19, 2022, at 9:15 PM, mayamatakeshi wrote: > >  > Hi, it seems execution of usleep eventually reaches this code: > https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 > so it

[SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread mayamatakeshi
Hi, it seems execution of usleep eventually reaches this code: https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 so it seems it would block the process and so it might cause delay of packet processing if many processes do this at the same time. Can someone confirm this?

[SR-Users] use $var or $avp in ds_list_exists & ds_select dispatcher function

2022-01-19 Thread Patrick Karton
Hello im using kamailio 5.5.3 and im trying to use pseudo vars in ds_list_exists and ds_select function but it does not work. ds_list_exists return -2 with ds_list_exists("6") it works $var(dset)=6 or $avp(dset)=6 it does not work ds_list_exists("$var(dset)") --> return -2

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread Daniel-Constantin Mierla
On 19.01.22 17:17, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: >> However, I would recommend to use kamcli instead of kamcmd, the >> binrpc protocol and kamcmd are not really maintained. > Should it have been kamctl instead? by functionality, kamcli replaces kamctl as well, but in

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread George Diamantopoulos
I used packages from deb.kamailio.org, I didn't build kamailio myself. BR, George On Wed, 19 Jan 2022 at 18:01, Daniel-Constantin Mierla wrote: > You probably compiled kamcmd without libreadline-dev. > > However, I would recommend to use kamcli instead of kamcmd, the binrpc > protocol and

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread Daniel-Constantin Mierla
You probably compiled kamcmd without libreadline-dev. However, I would recommend to use kamcli instead of kamcmd, the binrpc protocol and kamcmd are not really maintained. Cheers, Daniel On 19.01.22 12:11, George Diamantopoulos wrote: > Hello, > > I'm happy to report there have been no serious

Re: [SR-Users] kamailio log dialog correlation

2022-01-19 Thread Henning Westerholt
Hello, you could try to use log_prefix. Have not tried it yet with a dialog variable. http://www.kamailio.org/wiki/cookbooks/5.5.x/core#log_prefix Regarding output of a line number, you could try to use this one:

Re: [SR-Users] kamailio log dialog correlation

2022-01-19 Thread Jon Bonilla (Manwe)
El Wed, 19 Jan 2022 16:06:04 +0100 marek escribió: > hi, > > is it possible create log of SIP dialog like > https://wiki.asterisk.org/wiki/display/AST/Unique+Call-ID+Logging ? > > it looks like its possible like this > >  xlog("L_INFO", "D$dlg(h_id)   something to log \n"); > > but i must

Re: [SR-Users] kamailio log dialog correlation

2022-01-19 Thread Chad
I wanted the same thing only with line number, in the end I had to do a global search and replace, I could not get it to work via a global param. I even tried xlogl which just threw errors that no such command existed (even though it is listed in the docs:

[SR-Users] kamailio log dialog correlation

2022-01-19 Thread marek
hi, is it possible create log of SIP dialog like https://wiki.asterisk.org/wiki/display/AST/Unique+Call-ID+Logging ? it looks like its possible like this  xlog("L_INFO", "D$dlg(h_id)   something to log \n"); but i must copy $dlg(h_id) in every xlog tried this modparam("xlog", "prefix",

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2022-01-19 Thread George Diamantopoulos
Hello, I'm happy to report there have been no serious regressions with the bullseye builds. Only thing I noticed is tab completion doesn't work with kamcmd. BR, George On Thu, 18 Nov 2021 at 18:36, Daniel-Constantin Mierla wrote: > One thing that I noticed on a new Debian 11 system, deploying

Re: [SR-Users] Fwd: Possible memory leak on 5.5.x (new)?

2022-01-19 Thread George Diamantopoulos
Hello again, Indeed it must have been the version mismatch. I have upgraded all instances to 5.5.3 and shm now reports reasonable numbers. Thanks! BR, George On Fri, 7 Jan 2022 at 14:10, Daniel-Constantin Mierla wrote: > Hello, > On 07.01.22 13:04, George Diamantopoulos wrote: > > Hello