found this
https://github.com/kamailio/kamailio/pull/2845
so, if you want use variables in log_prefix, you need upcoming kamailio 5.6
https://www.kamailio.org/docs/modules/5.6.x/modules/xlog.html#xlog.p.varname
prefix_mode
Marek
Dne 19/01/2022 v 16:23 Henning Westerholt napsal(a):
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:
http://www.kamailio.org/wiki/cookbooks/5.4.x/pseudovariables#cfg_key_-_conf…
Cheers,
Henning