[OpenSIPS-Users] Is opensips a front end to asterisk?

Brett Nemeroff brett at nemeroff.com
Tue Jul 7 15:59:42 CEST 2009


I think I'd like to jump on the bandwagon here also....
As said by some of the other members on the list, this IS a very big
project. The fact that you are looking for an ISO to test it out, suggests
that you don't really understand how it all works. Without going into too
much detail, let me just say that OpenSIPs won't do anything for you. You
have to configure it from the ground up. So even if you had an ISO, it would
give you binaries and modules that essentially wouldn't do anything at all.
And honestly the compilation, installation bits are the easy part!

As for this whole Asterisk redundancy. This has been discussed for a long
time and there are dozens of ways to do that. Everything from using UCARP,
Linux HA, Asterisk "redundancy" patches, database backending, programming
backup proxy IP in UACs. One thing I can tell you with reasonably certainty
is that anything you do to make "redundancy" with asterisk is almost
certainly a hack. That being said, I can also say that many many people
(myself included) have come up with methods that seem to work to provide
redundancy in a way that is reasonably painless for the end user. But there
are always something like:
1. the backup server doesn't have the primary server voicemails synced
2. phones on the backup server can't call phones still on the primary server
3. call picked, user presence doesn't work from primary to backup

Just keep in mind that Asterisk itself really wasn't ever designed with the
concept that another server would be it's redundant pair.

As for pairing OpenSIPs and Asterisk. There are a dozen ways to do that as
well.. You can do it on the front end (phones register to opensips), on the
back end (phones register to asterisk, calls go out to opensips), or
somewhere in between even (ie: Asterisk as just a media server). It's all
really dependent on how you are going to leverage the technologies of the
individual platforms.

I personally try to make asterisk do as absolutely little as possible. I
think you'll find scaling OpenSIPs much more enjoyable than Asterisk. ;)

That all being said, you're really only limited by your creativity and skill
level with the platforms. It's best to think of them complementing each
other. Pick the features you want to use from each.

As for NAT. Sure you can run these platforms behind NAT, but you're asking
for a world of pain. :) Just don't do it. That's my opinion. Far end NAT is
tricky enough to deal with to also have Near end NAT issues as well.
http://en.wikipedia.org/wiki/KISS_principle :)

-Brett

On Wed, Jul 1, 2009 at 10:52 PM, lists at grounded.net <lists at grounded.net>wrote:

> 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.
>
> -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.
>
> -Does opensips handle only new incoming connections or could it actually
> move sessions from a down server to another which is still up?
>
> -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?
>
> -Would I have some method of controlling how many people can register on
> any one box?
>
> Thank you very much for this information as it will help to first
> understand what the project can do.
>
> Mike
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090707/1b039f17/attachment.htm 


More information about the Users mailing list