[OpenSIPS-Users] Is opensips a front end to asterisk?
kiste at kiste.org
Thu Jul 2 06:50:39 CEST 2009
I will try to answer some questions. I can say, that I am working with a
kind of load balancing / redundancy for asterisk servers with opensips.
Its working perfectly.
lists at grounded.net schrieb:
> I've come across this project a few times but have been having a bit of a time confirming just what the project does. I thought perhaps the best way would be to join the list and ask.
> My task is to put together a scalable asterisk based pbx system. Because the boxes will initially have more than they really should installed on them, we need to limit the number of users per box to perhaps 50.
> Right now, the plan calls for every box to have a second one for redundancy. I was planning on manually redirecting connections (for now) but it sounds like opensips could take care of a number of issues.
> I have multiple providers (WANs) at one location but was thinking that for highest reliability, that I might have three locations to be safe unless there are better ideas.
> One would be the location where the initial user connection is made, such as a proxy/load balancer.
> Then, two separate physical locations and networks for redundancy. The front end could use both sites as needed but if something went down, could re-route users/sessions to the redundant location.
> This of course is where my questions about opensips come in.
> -From what I can tell, opensips could act as a pbx on it's own but it can act as a proxy/load balancer/gateway to asterisk systems as well.
Yes. But its a question how you will define PBX. There are several
modules for opensips which could do some PBX things - I never worked
> -If this is the case, would there be a way of creating a distributed environment, like as in a web server farm, making scaling quite easy.
If you are talking about scaling in a way that you can add more asterisk
servers to have more users, yes. But there might be some limitations.
> -Does opensips handle only new incoming connections or could it actually move sessions from a down server to another which is still up?
As far as I know there is no way to switch an active connection from one
server to the other. And to be honest I do not know any payable
commercical solution that is able to handle this.
> -Would there be any control, or even any need depending on how the back end can be set up, by which to control which pbx/pair that someone registers to?
Hard to tell. You can use opensips and route any request by using
different tests, rewrite URIs etc.pp. But I think you might want to have
the users register on your asterisk.
> -Would I have some method of controlling how many people can register on any one box?
Hmm. Everything is possible :) There might be a better way but I would
start sharing such Load information before routing a register request to
an asterisk. So you could check via sql how many users are already
registered to your asterisk and choose the one with the lowest amount of
UA. I think the openips LB module is more designed for INVITES.
I have implemented a solution with several asterisk servers and opensip
servers as a kind of carrier solution.
> Thank you very much for this information as it will help to first understand what the project can do.
> Users mailing list
> Users at lists.opensips.org
kiste lat: 54.322684, lon: 10.13586
More information about the Users