<div dir="ltr">Hi everyone<div><br></div><div></div><div>In a recent thread I learnt that using trace() in local_route after appending a Contact header traces the message before the new header is actually added which means I don't get to see it.</div><div><br></div><div>Is there a way to see the OPTIONS message after the new header is added?</div><div><br></div><div>Many thanks</div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Mar 2020 at 13:02, Mark Farmer <<a href="mailto:farmorg@gmail.com">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think I answered my own question :)<div><br></div><div>Adding a sip_trace() into local_route seems to do the trick :)</div><div><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Mar 2020 at 12:31, Mark Farmer <<a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi everyone<div dir="ltr"></div><div><br></div><div>I am using the drouting module to make SIP/TLS connections and I need to be able to capture the outgoing OPTIONS requests generated by drouting.</div><div><br></div><div>I am thinking sip_trace("hep_dst", "d"); but where would I need to do that?</div><div><br></div><div>Is there a better way?</div><div><br></div><div>OpenSIPS 2.4</div><div><br></div><div>Many thanks!</div><div>Mark.</div><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>