<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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,Helvetica,sans-serif;" dir="ltr">
If you want to achieve this using FreeSWITCH you would likely need to modify the source-code and\or create a new module to control this functionality, it wouldn't be a simple task. You're much better off using a SIP Proxy such as Kamailio which allows you to
 control the flow of the SIP packets your-self through the configuration, although it can be a bit of a learning curve for those not familiar with Kamailio.
<div><br>
</div>
<div>
<div>Shaun</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of igor.potjevlesch@gmail.com <igor.potjevlesch@gmail.com><br>
<b>Sent:</b> 18 December 2018 10:56:03<br>
<b>To:</b> 'FreeSWITCH Users Help'<br>
<b>Subject:</b> [Freeswitch-users] Relay a REGISTER</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="FR" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span lang="EN-GB">I'd like to relay a REGISTER received on leg A to the leg B. The idea is to have a Contact URI with the B leg IP address when the REGISTER goes out of the FS.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB">But I didn't found how to avoid Freeswitch to handle the REGISTER locally.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">Regards,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">Igor.</span></p>
</div>
</div>
</body>
</html>