Skip to content

litnialex/asterisk-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asterisk-formula

A SaltStack formula to build Asterisk IP PBX from sources.

This formula is forked from template-formula

Table of Contents

It takes a while (about 10 min at a medium PC) to configure and compile Asterisk from sources.

asterisk

Meta-state which includes:

asterisk.prereq

Install packages required to successfully compile asterisk from sources. Package list is taken from ./contrib/scripts/install_prereq script from asterisk sources.

asterisk.sources

Download Asterisk sources from https://github.com/asterisk/asterisk.git. Default Asterisk version is certified/16.8. Use pillar's value asterisk.rev to change it.

asterisk.compile

Compile Asterisk sources. Executes ./configure and ./make.

asterisk.install

Install Asterisk binary, libriries, etc. Executes ./make install.

asterisk.configs

Install configuration files from files/configs into /etc/asterisk directory. Different sets of configuration files will be added later invoking files_switch macro.

asterisk.service

Install, run and enable systemd service asterisk.

asterisk.sounds

Download sound file packages. You can modify the list of sound packages in the pillar. Defaults are defined in defaults.yaml.