Browse Source

add sip_trace_mode - transaction

master
lazedo 6 years ago
parent
commit
4abf4d0ea9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      kamailio/sip_trace-role.cfg

+ 3
- 1
kamailio/sip_trace-role.cfg View File

@ -36,7 +36,7 @@ modparam("siptrace", "hep_version", 3)
modparam("siptrace", "hep_capture_id", HEP_CAPTURE_ID)
modparam("siptrace", "trace_to_database", 0)
## `trace_flag` value must be equal to FLAG_SIP_TRACE value at head of "default.cfg" file
modparam("siptrace", "trace_flag", 8)
modparam("siptrace", "trace_flag", FLAG_SIP_TRACE)
modparam("siptrace", "trace_on", KZ_TRACE)
route[SIP_TRACE_INTERNAL]
@ -85,6 +85,8 @@ route[SIP_TRACE_LOCAL_ROUTE]
route[SIP_TRACE]
{
sip_trace_mode("t");
if (isflagset(FLAG_LOCAL_ROUTE)) {
route(SIP_TRACE_LOCAL_ROUTE);
} else if (isflagset(FLAG_LOCAL_REQUEST)) {


Loading…
Cancel
Save