Ionut Ionita writes: > 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;
Then leave implementation of the working part (sip_trace();) as is and add code to fix the broken part. -- Juha _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev