<div dir="ltr"><div style="font-size:12.8000001907349px">You can use gateway...<br><br>Lets Say you have two Freeswitchs A 192.168.1.10 and B 192.168.2.10<br><br>In FS A you have a extension 1001, and in FS B extension 2001</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">In FS A, you need a gateway in external profile, to connect with FS B, its like:<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"> &lt;include&gt;<br></div><div style="font-size:12.8000001907349px">    &lt;gateway name=&quot;gateway-fs-b&quot;&gt;<br>      &lt;param name=&quot;proxy&quot; value=&quot;192.168.2.10&quot;/&gt;<br>      &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>      &lt;param name=&quot;username&quot; value=&quot;2000&quot;/&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;1234&quot;/&gt;<br>    &lt;/gateway&gt;<br> &lt;/include&gt;</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">You can read more in</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div><a href="https://wiki.freeswitch.org/wiki/Clarification:gateways" target="_blank">https://wiki.freeswitch.org/wiki/Clarification:gateways</a><br></div><div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration</a></div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Then when you make a call in FS A, in your dialplan, you need to make a bridge using gateway</div><div style="font-size:12.8000001907349px"><br></div><span style="font-size:12.8000001907349px">&lt;include&gt; </span><div style="font-size:12.8000001907349px">&lt;extension name=&quot;To FS B&quot;&gt; </div><div style="font-size:12.8000001907349px">&lt;condition field=&quot;destination_number&quot; expression=&quot;(2...)&quot;&gt; </div><div style="font-size:12.8000001907349px">&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/gateway-fs-b/<span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.8000001907349px;line-height:1.3em;background-color:rgb(249,249,249)">${destination_number}</span>&quot;/&gt;<br></div><div style="font-size:12.8000001907349px">&lt;/condition&gt; </div><div style="font-size:12.8000001907349px">&lt;/extension&gt; </div><div style="font-size:12.8000001907349px">&lt;/include&gt;<div><br></div><div>Now when you make a Call, to 2XXX, you shoud receive a call in FS-B<br></div><div><br></div><div>In FS B, you need to have extension 2000, used by gateway to register and to make calls</div><div>And of course, extension 2001.</div><div><br></div><div>If you want to receive Caller ID 1001 of FS A</div><div><br></div><div>dont use variables in extension 2000.xml</div><br>&lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 2000&quot;/&gt;<br>&lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;2000&quot;/&gt;<div><br></div><div><br></div><div>It&#39;s a way to do this.</div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Luiz Fernando Softov<br><a href="http://www.softov.com.br/" target="_blank">http://www.softov.com.br</a><br><a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a><br></div></div>
</div>