ansible/roles/asterisk/tasks/main.yml

28 lines
701 B
YAML
Raw Normal View History

2024-11-25 01:06:18 +00:00
- name: Configure extensions
template:
src: extensions.conf.j2
dest: /etc/asterisk/extensions.conf
notify: reload dialplan
- name: Configure SIP clients
template:
src: pjsip.conf.j2
dest: /etc/asterisk/pjsip.conf
2024-11-25 04:16:18 +00:00
notify: reload sip
- name: Configure mailboxes
template:
src: voicemail.conf.j2
dest: /etc/asterisk/voicemail.conf
notify: reload voicemail
2024-11-27 05:08:07 +00:00
- name: Configure HTTP interface
template:
src: http.conf.j2
dest: /etc/asterisk/http.conf
notify: reload core
- name: Configure ARI interface
template:
src: ari.conf.j2
dest: /etc/asterisk/ari.conf
notify: reload core
- ansible.builtin.include_tasks:
file: install_voicemail_api.yml