From 0d6ca7bb686188e695fd12950e4151a35b054fb0 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Fri, 5 Aug 2022 17:23:35 +0200 Subject: [PATCH] Copy Asterisk sound files --- platon.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/platon.yml b/platon.yml index 20569b3..6fae250 100644 --- a/platon.yml +++ b/platon.yml @@ -275,6 +275,20 @@ append: yes notify: restart asterisk + - name: Copy sounds + ansible.builtin.copy: + src: "files/platon/{{item}}" + dest: "/usr/local/share/asterisk/sounds/n39/" + owner: root + group: root + mode: "0644" + loop: + # Check the extensions.conf.j2 template to see which files are needed + - hello.gsm + - granted.gsm + - denied.gsm + # Asterisk restart is not necessary + handlers: - name: restart mosquitto