<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 16.11.2022 18:56, nutxase via Users
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:j-q9z_Q36W6tJKGvwCxFSDVRARLRhpPXk9VQZlsUWYDD3fVGO-H_XkBQbSxTB-_2XmOI69ggUYNhvxtbtejdwYWYStX10YbcT_5UN2A0Mwc=@proton.me">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="font-family: Arial; font-size: 14px;">Is it possible
to change the contact on mid_registrar to be the endpoint ip etc</div>
<div style="font-family: Arial; font-size: 14px;"><br>
</div>
<div style="font-family: Arial; font-size: 14px;">as currently
when registering to asterisk we see the details of opensips, but
i want to hide that and rather show the endpoint</div>
<div style="font-family: Arial; font-size: 14px;"><br>
</div>
<div style="font-family: Arial; font-size: 14px;">is that
possible?</div>
</blockquote>
<p><font face="monospace">Hi nutxase,</font></p>
<p><font face="monospace">The mid-registrar will rewrite the Contact
in all 3 usage modes (even in "mirror" mode), per design. If
you want to keep the original Contact, you probably should not
use mid-registrar at all, and try to make it work using a
Path-based approach (<a moz-do-not-send="true"
href="https://datatracker.ietf.org/doc/html/rfc3327">RFC 3327</a>)
+ "registrar" module.<br>
</font></p>
<font face="monospace">Best,</font>
<p></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS eBootcamp 5-16 Dec | <a class="moz-txt-link-abbreviated" href="http://www.opensips.org/training">www.opensips.org/training</a></pre>
</body>
</html>