Description

I want to convert 183 messages to 180 using the ring_insert_callid function.
This does not work when used log_prefix. Generated error like

siputils [ring.c:300]: conv183(): 183 message got parsed too far!

Reproduction

you can start kamailio using config file like

log_prefix="{$mt $hdr(CSeq) $ci} "

listen=udp:eth0:5060
loadmodule "xlog.so"
loadmodule "pv.so"
loadmodule "sl.so"
loadmodule "siputils.so"
modparam("siputils", "ring_timeout", 30)

request_route {
  xlog("L_ERR", "Test1: $rc\n");

  if (is_request()) {
    ring_insert_callid();
  }

  $du = "sip:192.168.0.1;tranport=udp";
  forward();
}


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/2989@github.com>