Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-31 Thread Victor Gamov
Hi All On 20.01.2011 23:44, Bogdan-Andrei Iancu wrote: Jeff Pyle wrote: We're looking to add a second Opensips instance on a separate server for failover. Or, from an operational perspective, it could be described as active-active since both will be available at any one time. We'll control the

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-30 Thread James Lamanna
Hi Hank, Soon after I wrote that email I discovered the path module and t_replicate to replicate the REGISTERs with path information to all of the nodes in my cluster. Which allows a call to come in from the PSTN to _any_ node and be routed appropriately. Now my next issue is presence handling

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-29 Thread James Lamanna
Hi Jeff Bogdan, I'm looking into a setup very similar to this as well, essentially I want to have a cluster of OpenSIPS servers for registration and then a cluster of Asterisk Boxes for all the dialplan handling. I have the unfortunate problem that all of my clients are going to be behind NAT. My

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-29 Thread Jeff Pyle
James, I think you're going to have to run usrloc in dbmode=3, and then use a manual MYSQL() call in Asterisk to pick it off the location table so you know which Opensips instance to send it to. I don't have a lot of experience with NAT'd clients. Will a client register to the same place each

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-29 Thread Henk Hesselink
Hi James, You might want to look at the nat_traversal module plus the path module. Run nat_traversal on your customer-facing boxes, it will take care of NAT including all sorts of corner cases. Pass REGISTER requests to your internal registrar servers after calling add_path/add_path_received.

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-20 Thread Bogdan-Andrei Iancu
Hi Jeff, Jeff Pyle wrote: Hello, We're looking to add a second Opensips instance on a separate server for failover. Or, from an operational perspective, it could be described as active-active since both will be available at any one time. We'll control the traffic flow to the proxies with

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-20 Thread Jeff Pyle
Hi Bogdan, On 1/20/11 2:54 PM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi Jeff, Jeff Pyle wrote: Hello, We're looking to add a second Opensips instance on a separate server for failover. Or, from an operational perspective, it could be described as active-active since both will be

Re: [OpenSIPS-Users] Two Opensips proxies sharing the same DB

2011-01-20 Thread Bogdan-Andrei Iancu
Jeff Pyle wrote: We're looking to add a second Opensips instance on a separate server for failover. Or, from an operational perspective, it could be described as active-active since both will be available at any one time. We'll control the traffic flow to the proxies with the SRV records used by