Skip to content

rabbitlair/vagrant-ansible-asterisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-ansible-asterisk

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.

Install

  1. Copy file sample.settings.yml to settings.yml
  2. Edit settings.yml with the proper information
  3. Launch virtual machine with vagrant up

What each setting means

  • 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

TODO

  • Add ODBC support for configuration.
  • Add LDAP support for users.

About

Ansible script to build an Asterisk server over Vagrant VM, for testing purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published