From 2a89aaa4db2aa2e699b8dd89d3bfbbdc08aefff4 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 25 Jul 2021 14:01:37 +0200 Subject: [PATCH] make default discard and mute_ring hooks forward to missed_call using sxmo_hooks.sh Signed-off-by: Stacy Harper --- configs/default_hooks/discard | 3 ++- configs/default_hooks/mute_ring | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/default_hooks/discard b/configs/default_hooks/discard index a8307c1..f54fc4c 100644 --- a/configs/default_hooks/discard +++ b/configs/default_hooks/discard @@ -2,4 +2,5 @@ # This script is executed (asynchronously) when you discard an incoming call -exec "$(dirname "$0")/missed_call" "$@" +# just do the same as the missed_call hook: +exec sxmo_hooks.sh missed_call "$@" diff --git a/configs/default_hooks/mute_ring b/configs/default_hooks/mute_ring index 85eb49f..9c6fa63 100644 --- a/configs/default_hooks/mute_ring +++ b/configs/default_hooks/mute_ring @@ -2,4 +2,5 @@ # This script is executed (asynchronously) when you mute an incoming call -exec "$(dirname "$0")/missed_call" "$@" +# just do the same as the missed_call hook: +exec sxmo_hooks.sh missed_call "$@"