hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Specialty Hosting and Markets : VOIP etc : Asterisk and VPS Recommendation
Reply

Forum Jump

Asterisk and VPS Recommendation

Reply Post New Thread In VOIP etc Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2008, 09:37 PM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79

Asterisk and VPS Recommendation


Hello,

I have a remote server Core2Quad Q6600, 4GB Ram, with CentOS 5.1 installed that I wish to use as a test box for learning asterisk and a VPS system. I am having trouble deciding on what VPS platform to use. The following platforms I am considering and have researched a little are:

OpenVZ
Linux VServer
Xen

Any suggestions on which VPS system to use? I prefer a low cost solution which is why I left Virtuozzo off the list. Please note that I will have do all my installation and configuring via SSH remotely of course.

With regards to Asterisk, my original plan was to install Trixbox, but that doesn't seem to install remotely as it uses an ISO, so I thought installing just Asterisk and other things from source as I need them would be best.

Of course, I have much research and work to do here, but I am trying to wrap my head around just ONE VPS system so that I can move forward on Asterisk and other test environments.

Final note, I don't plan on creating any sort of hosting company, rather this is for my own testing and website use. Thus I am hoping the hardware/ram will be sufficient. I also understand that it might be better just to abandon the VPS side and run Asterisk on the dedicated as is. This is fine, but I also wanted to run some regular lightweight websites with php,mysql, and apache and wasn't sure if this would conflict with Asterisk. I'm still checking on that.

I also understand I have to watch timing and kernel issues with respect to Asterisk and VPS as well.

Thanks for any input. Much appreciated.

Jim



Sponsored Links
  #2  
Old 01-25-2008, 10:13 PM
cybercast cybercast is offline
Junior Guru
 
Join Date: Apr 2007
Location: Panama
Posts: 200
Hello Jim,

The best practice should be installing Asterisk in a dedicated server but you should be able to install it in a vps. It will work in a vps as long as you do not install any telephony hardware like Digium Cards. Install Asterisk from sourcecode.

For virtualization software I suggest you OpenVZ as it is linux native and is mature enought to be reliable. I have a few Virtuozzo server and they work like a charm. As OpenVZ is the base for Virtuozzo you should be fine.

Once you have asterisk install you should have a LAMP installation. This includes your apache web server, PHP, MySQL Database. With a little bit of configuration you should be able to run several low traffic websites. Actually you will need apache php and mysql to handle the CDR from asterisk.

I hope this comments helps you. Feel free to ask me any question.

__________________
CCIHosting.com - Anonymous Offshore Hosting Solutions with DDoS Protection
99.9% Uptime and 24x7 Tech Support via Live Chat, Telephone and Tickets
Skype jgrodriguez02

  #3  
Old 01-25-2008, 10:54 PM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
Hello Cybercast,

Thank you very much for the information. It is quite helpful. In fact I think I've narrowed my VPS options down to OpenVZ or Linux Vserver. Apparently (if correct?), there are issues with ztdummy and timing under xen which would not allow me to explore certain features for use with Asterisk. Again my application of choice under VPS if I go that route is Asterisk and would like to as many features available as possible including the timing stuff.

With that said, I am also finding just going the dedicated route and dropping VPS altogether an option that might eventually be the best. I just wanted to somehow incorporate VPS as I would like to understand and work with that more as well.

I'll also check out Virtuozzo again, but since this is for testing and self use, I find it to be a bit expensive unless I have a way to recupe the costs.

Thanks very much!

Jim

Sponsored Links
  #4  
Old 01-25-2008, 11:09 PM
cybercast cybercast is offline
Junior Guru
 
Join Date: Apr 2007
Location: Panama
Posts: 200
Jim,

I can tell you have a big server for a testing asterisk server. It worth the chance to virtualize. Good luck with your cofiguration.

__________________
CCIHosting.com - Anonymous Offshore Hosting Solutions with DDoS Protection
99.9% Uptime and 24x7 Tech Support via Live Chat, Telephone and Tickets
Skype jgrodriguez02

  #5  
Old 01-26-2008, 01:14 AM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
Decided to run with OpenVZ. I'm now looking at either HyperVM or Vtonf for a control panel. Thanks again!

  #6  
Old 01-31-2008, 04:21 AM
apsivam apsivam is offline
WHT Addict
 
Join Date: Mar 2007
Location: Chennai, India
Posts: 132
Quote:
Originally Posted by ricoche View Post
Decided to run with OpenVZ. I'm now looking at either HyperVM or Vtonf for a control panel. Thanks again!
Can you share your experience here?

__________________
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
My Blog Site

  #7  
Old 01-31-2008, 06:54 AM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
Hi there,

I am more than happy to share my experience, however since my last post above I could probably write a novel with everything that has happened. In a nutshell here is what has happened.

1. Installed OpenVZ and it works great but it took me a while to get a handle on the network issues with the HN, VEs and the outside world.

2. Installed Vtonf which works very well but after all the work I have done with SSH and OpenVZ, I personally don't need the control panel as I understand most of the commands now. Most likely as things get underway, I'll use the Vtonf control panel more as it is easier but I just can't get out of SSH at the moment.

3. Installed Zaptel with ztdummy, Asterisk, MeetMe, and all the goods on a VE without to much of a problem but there were some critical points I had to remember and jot down in my notebook. Lots of research done on this but it paid off and it does work.

4. HyperVM seems like a good solution but so far I haven't needed it. Vtonf does the basics just fine so far but again I am mostly doing things via SSH. I am not offering any hosting services, but rather am doing custom work with regards to Asterisk and other applications.

5. Installed Webmin on the VE and works very well. I also compiled from source Apache, Mysql, and PHP so far which works well and am now on to the installation of FreePBX.

So far everything works, BUT I have had to do a lot of work to get it to work. All of this is definitely not working straight out of the box and I truthfully didn't expect that. So for right now I am happy with the way things are going. I just hope I don't lose my notes!! <laugh>

If you have any specific questions, please feel free to ask anytime.

Thanks,

Jim

  #8  
Old 01-31-2008, 07:02 AM
apsivam apsivam is offline
WHT Addict
 
Join Date: Mar 2007
Location: Chennai, India
Posts: 132
Hi Jim,
Thank for the notes.

__________________
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
My Blog Site

  #9  
Old 02-03-2008, 02:25 AM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
Hello there,

I thought I would update my progress on all of this. Since my very first post above, I have managed to install the following successfully. Everything is working fabulous at this time. Yes, it took a lot of research and testing to get everything installed correctly but it's finally paying off. Note that everything was installed via source and manually configured. My goal was to not only get all this setup, but to also understand what was going on in the backend.

CentOS 5.1
OpenVZ VPS ovzkernel-2.6.18-53.1.4.el5.028stab053.4
Vtonf 1.0 Beta Control Panel for OpenVZ
BIND 9 9.3.3
Mysql 5.0.51a
PHP 5.2.5
Apache 2.2.8
Webmin 1.390
PhpMyAdmin 2.11.4
Asterisk 1.4.17 w/ Meetme
Zaptel/ztdummy 1.4.8
FreePBX 2.3.1

  #10  
Old 02-16-2008, 09:28 PM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
Hello,

Just an update for those watching this post.

I have successfully added SugarCRM and A2Billing to my server setup and everything works fabulous. Despite the crappy service from Vitelity, I also managed to get some DIDs setup with them and everything tested well. I'm now purchasing an Aastra 57i CT phone which will be fun to add to the mix.

One thing that has been a problem with everything that I've setup has to do with with OpenVZ. For some reason, I have to issue a "service network restart" each and everyday in order to keep the server afloat. I have configured a script to monitor and restart the network, but can't figure out why I'm experiencing a disconnect. No doubt, if I didn't have OpenVZ I wouldn't have this problem, but for now having VPS is working great despite that little problem. Of course it could be an iptables, DNS, or other network issue, but it's going to take time to find the problem most likely with everything there is to check.

I also should note that I migrated over to HyperVM and have been using this alongside the Vtonf contronl panel. There is absolutely nothing wrong with Vtong other than the fact that there are many features in HyperVM that have been very useful for me that Vtonf doesn't have. I know you shouldn't have more than one control panel on the HN, but for testing purposes I have elected to do so. HyperVM has helped me to answer questions about my OpenVZ setup.

Also upgraded the following which worked flawless.
Asterisk 1.4.18 w/ Meetme ( Will upgrade to 1.6 when more stable ).
FreePBX 2.4

Thanks,

Jim

  #11  
Old 02-28-2008, 07:27 AM
ricoche ricoche is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 79
This is a final note here to rap up my experience. I received an Aastra 57i CT package in the mail a couple of days ago and successfully connected it remotely to the Asterisk server. It works beautifully and the remote handset is awesome as well. I signed up for an account with Vitelity despite the bad service I had in my initial stages. In the end it worked out and I was able to acquire a couple of DIDs no problem. I then made several phone calls from Japan to the States and the quality was fantastic! I received a few through the DIDs and they worked extremely well. I have also been messing around with some of the NerdVittles goodies that are available and managed to get almost all of them working including the Cepstral Text to Speech stuff. I later bought the Allison voice which has been cool when creating custom IVRs. In finale, my project has been a success and it's taken me about a month to learn and implement everything needed to get all this running. Yes, someone mentioned once that the Trixbox solution my be the easiest route, but when using a remote server, I found installing everything from source obviously better than Trixbox because afterall, Trixbox only offers ISOs. Not to mention the install process really helped me to understand what goes on under the hood pretty well. Lots of fun.

Asterisk is just plain sweet!

Jim

  #12  
Old 02-28-2008, 06:10 PM
MeToo MeToo is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 85
Most encouraging log. Good work!

Early on you mentioned that you installed Zaptel/ztdummy in the VE with no issues. That appears to be a great sticking point in being able to use asterisk on a VPS. I had thought that was not possible since it requires a kernel module that cannot be loaded in a VE. Would you give a couple hints on how to do that.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Microsoft to Launch New Office 365 Plans for Small Business Users Web Hosting News 2014-07-09 13:56:51
Know When to Hold Them, When to Fold Them: HR and Employees Blog 2013-12-20 15:39:56
ISPs Uniquely Positioned to Improve National Cybersecurity: PCAST Report Web Hosting News 2013-11-25 11:36:53
Syrian Electronic Army Targets Top US Media Websites in Outbrain Platform Hack Web Hosting News 2013-08-16 10:46:10
Study Finds 27 Percent of Companies Select Web Host After Word of Mouth Recommendation Web Hosting News 2012-08-27 15:01:14


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?