<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">

<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">


<div id="AOLMsgPart_2_aa0a2aa3-14b8-41d2-91bd-b17a81eb40ac">

<font color="black" face="arial" size="2"><font color="black" face="arial" size="2">



<div> <br>



</div>







<div> <font face="Arial, Helvetica, sans-serif">Hi all,<br>


<br>


i have a question regarding the dialplan when using a DNS round robin for simple load balancing.<br>


<br>


When i have 3 identically configured Asterisk servers and one DNS round robin populated to the clients<br>


<br>


Server1<br>


Server2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; round robin voip.example.com<br>


Server3<br>


<br>


where all 3 servers are connected via an IAX2 trunk among each other, how can i determine within the dialplan on which of the servers a client is actually registered?<br>


<br>


So when user A wants to call user B and user A is registered on server1 and user B is registered on server2, afaik the dialplan would need to look like<br>


<br>


</font>Dial(IAX2/server2/${EXTEN})&nbsp; <font face="Arial, Helvetica, sans-serif"><br>


<br>


But how can i determine on which physical server user B is registered?<br>


Or is there an other, better way to achieve this? Maybe in replicating the registrations between all 3 servers?<br>


<br>


Thanks in advance for advise.<br>


</font>
</div>







<div style="clear: both;"></div>



</font></font>

</div>

 <!-- end of AOLMsgPart_2_aa0a2aa3-14b8-41d2-91bd-b17a81eb40ac -->
</div>

</font></font>