<div dir="ltr">Hello,<div><br></div><div>There are many ways you can do this. It depends on how many soft clients you have.</div><div><br></div><div>Here is my recommendation:</div><div>1- Have all the phones register to your opensips. Asterisk does not need to know about the registrations and can send/receive all calls only to/from opensips.</div>
<div>2- Use the load balancer or dispatcher module to equally balance the incoming load to both your asterisk servers. The load balancer would also know if one asterisk server is down and will direct all calls to the other or you can add more asterisk servers in the future. You could disable a server to go to drain mode or assign resources. </div>
<div>3- For outbound, you could use drouting module to define rules and have alternate routes. </div><div>4- You could also use the dial plan module for additional manipulation or rules.</div><div><br></div><div>Regards,</div>
<div>Ali Pey<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 4:36 AM, driver <span dir="ltr">&lt;<a href="mailto:driver@op.pl" target="_blank">driver@op.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I have such infrastructure:<br>
<br>
Asterisk1 (provider 1) - IP1<br>
Asterisk2 (provider 2) - IP2<br>
<br>
Softphones on client computers with configured two IPs to two Asterisk servers. User has to manually switch between each server.<br>
<br>
I need to change this that user will have only one account configured (eg. Opensips) and Opensips will be used only to forward to Ast1 or Ast2 by previously defined rules. How is it possible?<br>
<br>
comp1 --------&gt; Opensips -------&gt; Ast1<br>
comp2 --------&gt; Opensips -------&gt; Ast1<br>
comp3 --------&gt; Opensips -------&gt; Ast2<br>
comp4 --------&gt; Opensips -------&gt; Ast2<br>
<br>
Thank you,<br>
Marcin<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=228fe823-9332-43b7-8264-4f1c96463fa4&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com"></div></div>