ansible/roles/asterisk/tasks/configure_asterisk.yml

26 lines
632 B
YAML
Raw Normal View History

2024-12-03 23:14:01 +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
notify: reload sip
- name: Configure mailboxes
template:
src: voicemail.conf.j2
dest: /etc/asterisk/voicemail.conf
notify: reload voicemail
- 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