2

We have a server onto which we plan to install CentOS 6.2. The server will host Asterisk for our office, but is not a webserver.

If we install the minimal installation for CentOS - that is, no GUI for the OS, then that means that Asterisk will also not be able to be interfaced with a GUI such as FreePBX or Elastix.

I found this thread useful in the consideration: Should I use an Asterisk GUI? My thinking is to provide the GUI for folks who may have to succeed me and who do not know Asterisk so well as to manually maintain the configuration files.

Now, I understand that it is better for a server to run without a GUI. But if it is only meant to host Asterisk, then is it still a bad idea to install the GUI?

3 Answers 3

14

Generally speaking, the more extraneous software you run results in two problems:

  1. Reduced memory availability for the software you actually care about
  2. A greater likelihood that your server will be vulnerable due to an unpatched security vulnerability.

If your application is not memory intensive, or under particular memory pressure for your hardware, you don't really need to worry about (1). If you can completely isolate the environment your server runs in (hint: you probably can't), then you don't need to worry about (2).

Aren't the GUIs of popular applinces like FreePBX and Elastix web-based anyway? Not sure why you think the OS on your server requires a window manager for a web-based user interface. You say it's not a webserver - what does this mean? You're not allowed to / don't want to install a webserver?

1
  • By not a webserver I mean that it won't be used to serve up any public websites. Honestly, though, I didn't realize that FreePBX and Elastix were web-based - (I am in new territory, and there is soooo much to be known and read, I dispair of making any progress on my deadline) - I imagined them to use OS-based GUI's instead. However, if they are web-based, then I wouldn't need the OS GUI to support them anyway.
    – bgmCoder
    May 20, 2012 at 16:42
6

My thinking is to provide the GUI for folks who may have to succeed me and who do not know Asterisk so well as to manually maintain the configuration files.

This seems like a silly assumption from the start. For one thing, virtually all of the documentation available for asterisk is in the form of config files, someone approaching your setup from no prior knowledge is more likely to find instructions to deal with those very configs, not a GUI tool.

On the other hand; someone who already knows how to use a particular config tool can probably also sort out how to install it.


In general, I'm very reluctant to install anything that might affect the performance of asterisk (or freeswitch, which we've mostly migrated to). unlike most other services, media switches are highly sensitive to disturbances of load, which may be reflected in poor call quality. Except for things that are actively used, we meticulously police the set of start-up services that run on the switch; and offload absolutely everything we possibly can (within practical reason, of course).

2
  • Maybe it seems silly to you, but you don't know the people I am working with! I have been writing my own directions anyway for doing the manual editing. I was thinking that since I am installing everything anew, I might want a GUI interface for Asterisk. Problem with that is, that I don't want to use the GUI! I want to edit manually, but leave a way for others to maintain the system in case I am not available.
    – bgmCoder
    May 20, 2012 at 17:40
  • Oh... well if you have people that want to use it now, that's another matter. It's perfectly reasonable to support actual users with needs today. That said, If it's practical to run those tools on a second box, that's just what I'd do. May 20, 2012 at 17:42
1

I generally do not recommend it. Even more so if you plan on installing telephony hardware. Certain video card / driver combinations can take a not-insignificant amount of time scrolling the video display which will cause some cards to miss their deadlines or increase jitter on RTP streams. I've seen it work, and I've seen it cause problems.

3
  • the only hardware I would install for serving up Asterisk is a zaptel card. The phones are all external, you know.
    – bgmCoder
    May 21, 2012 at 1:11
  • 1
    Right, and many Zaptel cards, in order to minimize the amount of latency they introduce into conversations are designed to service their interrupts at 1 ms intervals. Many video drivers run processing with interrupts locked for longer than 1ms, which can cause issues with the audio.
    – sruffell
    May 21, 2012 at 1:25
  • Hmmm. That is very interesting! Would it be enough to install the OS GUI but to set the system to boot using runlevel 3?
    – bgmCoder
    May 21, 2012 at 1:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .