35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
$OpenBSD: README-main,v 1.5 2018/09/04 12:46:23 espie Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${PKGSTEM} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
Configuration
|
|
=============
|
|
There are several different example configurations provided with this
|
|
packages:
|
|
|
|
${PREFIX}/share/examples/asterisk/default - Asterisk's standard sample
|
|
configuration files. These are undoubtedly useful as a reference,
|
|
but rather large, and awkward to use as a base for your own configuration.
|
|
|
|
${PREFIX}/share/examples/asterisk/basic-pbx - an Asterisk-provided example
|
|
of a basic pbx implementation for a fictitious company.
|
|
|
|
${PREFIX}/share/examples/asterisk/openbsd, and installed by default to
|
|
${SYSCONFDIR}/asterisk - an old bare-bones setup provided with the OpenBSD package,
|
|
basic voicemail + music-on-hold + 2 phones using the legacy chan_sip module.
|
|
basic-pbx is probably now a better starting point, however this is still
|
|
kept for simplicity for now.
|
|
|
|
Asterisk logs to /var/log/asterisk/messages by default; log rotation
|
|
can be handled by adding a line like the following to /etc/newsyslog.conf:
|
|
|
|
/var/log/asterisk/messages 640 5 1000 * Z "asterisk -rx 'logger reload'"
|
|
|
|
|
|
Documentation
|
|
=============
|
|
${PREFIX}/share/doc/asterisk/AST.pdf is probably the single best
|
|
resource for the current version.
|