Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 1:39 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Load balancing
PostPosted: Wed Mar 07, 2007 5:19 pm 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
What is the best way to balance linux servers with a2billing when you have lots of customers and concurrent calls???

1 dedicated machine with database
then x machines with asterisk and a2billing.

Separate DID's, 1 per machine and etc???

I need some ideas?? For example i want to limit 60 concurrent calls per machine and if i have more users calling can i redirect them to another linux server??


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 6:46 pm 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
You are getting into rocky territory with this.....

OpenSER is going to be your best bet, or put asterisk behind some other SBC......

OpenSER and SBC's are a whole new arena in themselves.....so be prepared for a HUGE learning curve.....


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:30 pm 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
crshman

do u have any experience with OpenSER ?

i think when the next 2 projects will get through we really need such a solution


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:32 pm 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
Yes i'm working with OpenSER right now....i have a beta cluster of 2 asterisk servers LBed behind an OpenSER proxy......btu it's still in the works.....no where near production ready....


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:39 pm 
Offline
User avatar

Joined: Thu Jan 18, 2007 5:37 pm
Posts: 131
Location: Mallorca / Spain
do you think it is possible to install openser on a pentium 3/600 to do tests ?

i would place 2 asterisk servers behind it then to give it a try


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:40 pm 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
Yes, you can install it on whatever you want...i run it in VMware.....

Compiling and installing is easy, configuration files....that's the beast....


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:47 pm 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
you could also simply buy a Cisco local director off of ebay for $500 :P


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:49 pm 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
Personally i hate cisco....so i couldn't do that :lol:

EDIT---------

Actually further investigation shows that this device would NOT work....it's not an SBC, it does not load balance realtime streams


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 6:33 am 
Offline

Joined: Mon May 29, 2006 7:07 pm
Posts: 287
Location: Denver
Load Balancing with DUNDi

this is interesting
http://www.asterisk.org/node/48321


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 6:36 am 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
But that kind of defeats the whole purpose.......OpenSER is an SBC, it registers and proxy's SIP sessions, while asterisk *can* do this, it's not very good it at.....


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 6:54 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I have a pair of local directors in front of some * boxes used for a pbx and it works great for my application :-)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 6:57 am 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
Interesting....enlighten me...and us on how you accomplish this, i'd loove to hear this :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 7:05 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
Well...it simply redirects tcp and udp traffic from a "virtual IP" port to "real IP" machines. It does different variable load balancing methods from max connections to round robin etc...

I got the pair from a local used computer store for $20 each (had no idea they were worth a lil more) tried it out and it worked.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 7:07 am 
Offline

Joined: Thu Aug 10, 2006 10:47 pm
Posts: 145
Location: LA,CA,USA
Can it handle far end NAT transversal?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 08, 2007 7:10 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I would assume so considering that to the user devices eg. web client, sip phone, etc. don't even know it's there. The virtual IP address acts as if it is the real server IP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 36 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group