[SR-Users] kamailio log dialog correlation

marek cervajs64 at gmail.com
Wed Jan 19 16:06:04 CET 2022


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", "D$dlg(h_id)")

but it not works with variables

any other tips/ideas?

goal is to correlate logs for one dialog (call)


thanks

Marek




More information about the sr-users mailing list