Browse Source

fix sip trace ack

credits to miconda & sergey-safarov
update-rsyslog-config
lazedo 7 years ago
parent
commit
f22b6e5a7a
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      kamailio/default.cfg

+ 6
- 0
kamailio/default.cfg View File

@ -885,6 +885,12 @@ onsend_route {
xlog("L_INFO", "$ci|log|associate traffic from $var(user_source) with media server sip:$sndto(ip):$sndto(port)\n");
$sht(associations=>$var(user_source))= "sip:" + $sndto(ip) + ":" + $sndto(port);
}
#!ifdef SIP_TRACE_ROLE
if (is_method("ACK")) {
sip_trace();
}
#!endif
xlog("L_INFO", "$ci|pass|$sndfrom(ip):$sndfrom(port) -> $sndto(ip):$sndto(port)\n");
}


Loading…
Cancel
Save