[sr-dev] [kamailio/kamailio] siptrace: fix tracing messages to database when destination uri not set (#1951)

Ionut Ionita notifications at github.com
Tue May 14 09:59:14 CEST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190514/07f9110e/attachment.html>


More information about the sr-dev mailing list