opensips for route traffic only

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opensips for route traffic only

driver
Hello,
I have such infrastructure:

Asterisk1 (provider 1) - IP1
Asterisk2 (provider 2) - IP2

Softphones on client computers with configured two IPs to two Asterisk servers. User has to manually switch between each server.

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?

comp1 --------> Opensips -------> Ast1
comp2 --------> Opensips -------> Ast1
comp3 --------> Opensips -------> Ast2
comp4 --------> Opensips -------> Ast2

Thank you,
Marcin

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips for route traffic only

Ali Pey
Hello,

There are many ways you can do this. It depends on how many soft clients you have.

Here is my recommendation:
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.
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. 
3- For outbound, you could use drouting module to define rules and have alternate routes. 
4- You could also use the dial plan module for additional manipulation or rules.

Regards,
Ali Pey


On Thu, Nov 28, 2013 at 4:36 AM, driver <[hidden email]> wrote:
Hello,
I have such infrastructure:

Asterisk1 (provider 1) - IP1
Asterisk2 (provider 2) - IP2

Softphones on client computers with configured two IPs to two Asterisk servers. User has to manually switch between each server.

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?

comp1 --------> Opensips -------> Ast1
comp2 --------> Opensips -------> Ast1
comp3 --------> Opensips -------> Ast2
comp4 --------> Opensips -------> Ast2

Thank you,
Marcin

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users