Browse Source

fix sip trace ack

credits to miconda & sergey-safarov
4.3
lazedo 7 years ago
committed by Luis Azedo
parent
commit
d42460ffcb
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