From 96931ce22cb43c4e574335cfcd32d210bed481b6 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sun, 8 Nov 2020 12:00:23 -0600 Subject: [PATCH] Add back saftey hook for incoming calls to delete notifications if none incoming --- scripts/modem/sxmo_modemmonitor.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/modem/sxmo_modemmonitor.sh b/scripts/modem/sxmo_modemmonitor.sh index aa0e48c..82fc93b 100755 --- a/scripts/modem/sxmo_modemmonitor.sh +++ b/scripts/modem/sxmo_modemmonitor.sh @@ -64,6 +64,7 @@ checkforincomingcalls() { grep -Eo '[0-9]+ incoming \(ringing-in\)' | grep -Eo '[0-9]+' )" + echo "$VOICECALLID" | grep -v . && rm -f "$NOTIFDIR/incomingcall*" && return # Determine the incoming phone number echo "Incoming Call:"