[voicemail] Add option whether to delete or keep message after forwarding (#5985)

* [voicemail] Add option whether to delete or save message after forwarding

* Fix recording playback

phrase doesn't exist
This commit is contained in:
agree
2021-11-09 15:57:16 -05:00
committed by GitHub
parent d7cc26a51d
commit b02cb75620
16 changed files with 195 additions and 5 deletions

View File

@@ -181,4 +181,17 @@
</input>
</macro>
<macro name="voicemail_post_forward_action">
<input pattern="^(1):(2)$">
<match>
<action function="play-file" data="voicemail/vm-delete_message.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="say" data="$1" method="pronounced" type="name_spelled"/>
<action function="play-file" data="voicemail/vm-save_message.wav"/>
<action function="play-file" data="voicemail/vm-press.wav"/>
<action function="say" data="$2" method="pronounced" type="name_spelled"/>
</match>
</input>
</macro>
</include>