<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<p>Hi John.</p>
<p><br>
</p>
<p>This hint was very helpful! <br>
</p>
<p>Thanks all of you.</p>
<p><br>
</p>
<p>Regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> John Quick <john.quick@smartvox.co.uk><br>
<b>Enviado:</b> quarta-feira, 31 de maio de 2017 11:41<br>
<b>Para:</b> users@lists.opensips.org<br>
<b>Cc:</b> Rodrigo Pimenta Carvalho<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] How to see SIP messages in the log ?</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Rodrigo,<br>
<br>
I use $mb to show the whole SIP request in the logs. I think it will also<br>
work for TLS.<br>
For example:<br>
xlog("L_WARN", "SIP Message: $mb");<br>
<br>
The formatting is untidy because new line is shown as #015#012, but this<br>
would be easy to fix using standard Linux tools.<br>
<br>
John Quick<br>
Smartvox Limited<br>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>