<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"> <include><br></div><div style="font-size:12.8000001907349px"> <gateway name="gateway-fs-b"><br> <param name="proxy" value="192.168.2.10"/><br> <param name="register" value="true"/><br> <param name="username" value="2000"/><br> <param name="password" value="1234"/><br> </gateway><br> </include></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"><include> </span><div style="font-size:12.8000001907349px"><extension name="To FS B"> </div><div style="font-size:12.8000001907349px"><condition field="destination_number" expression="(2...)"> </div><div style="font-size:12.8000001907349px"><action application="bridge" data="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>"/><br></div><div style="font-size:12.8000001907349px"></condition> </div><div style="font-size:12.8000001907349px"></extension> </div><div style="font-size:12.8000001907349px"></include><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><variable name="effective_caller_id_name" value="Extension 2000"/><br><variable name="effective_caller_id_number" value="2000"/><div><br></div><div><br></div><div>It'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>