[sr-dev] [kamailio/kamailio] cannot use ring_insert_callid when defined log_prefix (Issue #2989)

sergey-safarov notifications at github.com
Tue Dec 28 09:30:34 CET 2021

### 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} "

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()) {

  $du = "sip:;tranport=udp";

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

Message ID: <kamailio/kamailio/issues/2989 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211228/a91a9ade/attachment.htm>

More information about the sr-dev mailing list