<HTML><BODY>Ok,<br><br>In my configuration file I print into the log information about each SIP message transferred by Kamailio.<br>For example, xlog("L_NOTICE", "Request: $rm CSeq:$cs CID:$ci from $si:$sp\n");<br><br>Request: ACK CSeq:18467 CID:473ae5eb58f9b271 from 192.168.158.139:5060<br><br>So when we want to find message flow which belongs to some call, we need just grep by Call-Id.<br><br>The problem is that messages generated by Kamailio are not passed through request_route function of configuration script.<br>So script writer cannot log such messages.<br><br>My question - is there way to log messages sent by Kamailio itself?<br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Пятница,  7 сентября 2018, 14:03 +03:00 от Henning Westerholt <hw@kamailio.org>:<br>
        <br>
        <div id="">






<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_15363182100000000781_BODY">Am Freitag, 7. September 2018, 12:49:02 CEST schrieb Konstantin Polyakov:<br>
> Hi Henning,<br>
> <br>
> Thank you for answer.<br>
> <br>
> I am referring to regular logging to syslog.<br>
> [..]<br>
<br>
Hi Konstantin,<br>
<br>
ok, can you show an example what kind of logging do you expect? <br>
<br>
Best regards,<br>
<br>
Henning<br>
<br>
-- <br>
Henning Westerholt<br>
<a href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a><br>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br>
<br>С уважением,<br>Константин Поляков.<br></BODY></HTML>