<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Alana,<br>
<br>
Do the trace() *before* sending the reply.<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div class="moz-cite-prefix">On 9/16/21 5:54 PM, Alana Heim wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJVsOvnuW_J6TDCvo13KvLwWHTES+2WE1_dVa2A7qrM-RBvUFw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br clear="all">
<div>We are on OpenSIPS 3.2.2 and are attempting to trace
REGISTER messages coming in. We have the following in
opensips.cfg, with the IP address redacted: </div>
<div><br>
</div>
<span style="font-family:monospace"><span
style="color:rgb(0,0,0)"> if (is_method("</span><span
style="color:rgb(255,255,255);background-color:rgb(0,0,0)">REGISTER</span><span
style="color:rgb(0,0,0)">")) {</span><br>
sl_send_reply(200, "OK");
<br>
if ($var(sipcapture_host) != "disabled") {
<br>
trace("tid", "t", "sip|xlog", "opensips@<IP
Address>");
<br>
}
<br>
exit();
<br>
}</span>
<div><span style="font-family:monospace"><br>
With this configuration, we are not seeing REGISTERs coming
in to our capture box. We know tracing is otherwise working
because we do receive dialogs when tracing INVITEs. Is there
something else we can do? Thank you<br>
</span>
<div> </div>
Regards,<br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;color:rgb(68,68,68);background-color:transparent;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b><font size="4">Alana Heim</font></b></span></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font
face="Arial" color="#444444"><span style="font-size:12px;white-space:pre-wrap"><i>Software Engineer</i></span></font></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font
face="Arial" color="#444444"><span style="font-size:12px;white-space:pre-wrap">E: <a href="mailto:aheim@pindrop.com" target="_blank" moz-do-not-send="true">aheim@pindrop.com</a></span></font></p>
<p
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font
face="Arial" color="#444444"><span style="font-size:12px;white-space:pre-wrap"><i>
</i></span></font></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br>
</p>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>