Yes it works but the code in 5.2 is broken. Here's an example, maybe it's more
clear:
sip_trace(); /* traces to database only no db url */
sip_trace("", "$var(correlation_id)"); /* does not work; requires
valid duplicate uri */
// with my additions
sip_trace("", "$var(correlation_id)", "d"); /* does not
work; requires valid duplicate uri */
So there are basically 2 functions:
- no arguments - trace to dabase only;
- with any kind of arguments - trace to duplicate uri and(if set) to database;
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1951#issuecomment-492122447