ansible/roles/asterisk/handlers/main.yml
2024-11-27 00:08:07 -05:00

12 lines
352 B
YAML

- name: reload dialplan
command: asterisk -rx 'dialplan reload'
- name: reload sip
command: asterisk -rx 'pjsip reload'
- name: reload voicemail
command: asterisk -rx 'voicemail reload'
- name: reload core
command: asterisk -rx 'core reload'
- name: restart voicemail api
ansible.builtin.service:
name: voicemail_api
state: restarted