Ansible script to build an Asterisk server over Vagrant VM. This repository offers a very simple setup for testing purposes, and should NOT be deployed on production environment.
- Copy file
sample.settings.yml
tosettings.yml
- Edit
settings.yml
with the proper information - Launch virtual machine with
vagrant up
- boxipaddress: IP address for the server. This should be an IP inside LAN range.
- boxname: Hostname for the server
- interface: Network interface for the server to listen to.
- organization: String for the Organization attribute of certificates
- hosts_file: Location of local DNS resolve file
- asterisk_user: Owner of the Asterisk installation
- asterisk_group: Group of the Asterisk installation
- asterisk_ip: IP address to which Asterisk will listen.
- asterisk_tcp_port: TCP port to which Asterisk will listen.
- asterisk_udp_port: UDP port to which Asterisk will listen.
- asterisk_tls_port: Port to which Asterisk will listen when using TLS.
- asterisk_transport: Protocols to be used, comma separated and in order of priority
- asterisk_encryption: Use sRTP on communication ("yes" or "no")
- asterisk_realm: Realm name for Asterisk instance.
- asterisk_context: Context name for Asterisk users.
- asterisk_users: List of objects, each one corresponding to an Asterisk user:
- id: Unique identifier for user
- extension: Unique extension number for user
- callerid: Call identifier for user
- secret: Password for user
- context: Context to which the user is associated
- Add ODBC support for configuration.
- Add LDAP support for users.