Hi,

It is set only when we need to have sip trace, for example here is one of code fragments that do SIP tracing,

...

# !define WITH_LEGAL_INTERCEPTION

...

#!ifdef WITH_LEGAL_INTERCEPTION
    # check if source is marked for sip trace, this will be only set if local authentication is enabled
    if ($(avp(allow_trace){s.int}) == 1) {
        xlog("L_NOTICE", "[$pr:$fU@$si:$sp]: LI marking source user '$fU' for '$rm' request to '$ru' - User-Agent: '$ua' \n");
        $avp(traced_user) = $fU + "_" + $avp(oexten);
        setflag(FLT_LI);
        sip_trace();
    };
#!endif

However as I have disabled WITH_LEGAL_INTERCEPTION flag in global section, so this should never execute, i.e. the $avp(traced_user) should be never set.

Please note i assume that adding a space between # and ! disables the #!define construct. Please confirm if i am doing it right (see above code example).

Thank you.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.