Asterisk on OpenVZ
From Tomp Online Wiki
Introduction
This page is a work in progress.
I have stopped using Asterisk now, and am now concentrating on FreeSwitch, as it is more powerful.
This page documents how to install and run Asterisk on an OpenVZ virtual container.
TTY Error
When you start Asterisk on OpenVZ, you get an error regarding a missing TTY device.
To fix this issue, modify /usr/sbin/safe_asterisk, and comment out the TTY line:
#TTY=9 # TTY (if you want one) for Asterisk to run on
Syslog
To get Asterisk to log to syslog, modify /etc/asterisk/logger.conf, comment out all lines, and add:
syslog.local0 => notice,warning,error
