Add Ansible template

This commit is contained in:
Mike Jones 2025-05-09 23:45:18 +01:00
parent 1115e86296
commit fa1a1138d6
Signed by: mike
GPG key ID: 1C2C25F83140EF49
22 changed files with 699 additions and 3 deletions

View file

@ -0,0 +1,23 @@
# You should configure this for your own area, or use your own NTP server
ntp_server: uk.pool.ntp.org
# Each item in this list will become a PJSIP phone in Asterisk with a SEPMAC
# configuration file hosted in TFTP and an entry in the phone directory served
# by NGINX.
extensions:
- number: 1001
callername: Phone1
context: phones
voicemail: 1001
password: 1234
mac: SEP00000000
ipv4_address: 192.168.1.50
- number: 1002
callername: Phone2
context: phones
voicemail: 1002
password: 1234
mac: SEP00000001
ipv4_address: 192.168.1.51

View file

@ -0,0 +1,3 @@
asterisk_version: "22.3.0"
asterisk_src_dir: "/usr/local/src/asterisk-{{ asterisk_version }}"
asterisk_config_dir: "/etc/asterisk"

View file

@ -0,0 +1,9 @@
tftp_root_dir: /srv/tftp
firmware_files:
- term41.default.loads
- jar41sip.8-5-2TH1-9.sbn
- cnu41.8-5-2TH1-9.sbn
- apps41.8-5-2TH1-9.sbn
- dsp41.8-5-2TH1-9.sbn
- cvm41sip.8-5-2TH1-9.sbn