<HTML><BODY><div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#333333; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">Hmm.. I checked our configs and saw that REGISTER messages go</div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#333333; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">through OpenSIPS (mode 2) and ip address in Contact header</div><div style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#333333; font-family:Arial,Tahoma,Verdana,sans-serif; font-size:15px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">remains unchanged...</div><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_15802091261660751209_BODY">Hi, Social Boh!<br><br>When using mid-registrar, the INVITE flow will be:<br><br> INVITE INVITE INVITE INVITE<br>Alice --------> MID-REG --------> MAIN-REG --------> MID-REG --------> Bob<br><br>The _main_ feature about mid-registrar is that it always rewrites the<br>Contact [1] to<br>point to the current server (regardless if in mode 0, 1 or 2). This is<br>why the<br>MAIN-REG forwards the INVITE to MID-REG, and not directly to Bob.<br><br>[1]:<br><a href="https://opensips.org/html/docs/modules/3.1.x/mid_registrar.html#sip-flow-insertion" target="_blank">https://opensips.org/html/docs/modules/3.1.x/mid_registrar.html#sip-flow-insertion</a><br><br>Best regards,<br><br>--<br>Liviu Chircu<br><a href="http://www.twitter.com/liviuchircu" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a><br><br>OpenSIPS Summit, Amsterdam, May 2020<br> <a href="http://www.opensips.org/events" target="_blank">www.opensips.org/events</a><br>OpenSIPS Bootcamp, Miami, March 2020<br> <a href="http://www.opensips.org/training" target="_blank">www.opensips.org/training</a><br> </div></div></div></div></blockquote> <div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>-----------------------------------------------<br><span style="font-size: 15px;">BR, Alexey</span><br style="font-size: 15px;"><span style="font-size: 15px;">http://alexeyka.zantsev.com/</span></div></div></div><div> </div></div><style type="text/css"></style></BODY></HTML>