Add back saftey hook for incoming calls to delete notifications if none incoming

master
Miles Alan 4 years ago committed by Maarten van Gompel
parent f2fc6a406e
commit 96931ce22c
  1. 1
      scripts/modem/sxmo_modemmonitor.sh

@ -64,6 +64,7 @@ checkforincomingcalls() {
grep -Eo '[0-9]+ incoming \(ringing-in\)' | grep -Eo '[0-9]+ incoming \(ringing-in\)' |
grep -Eo '[0-9]+' grep -Eo '[0-9]+'
)" )"
echo "$VOICECALLID" | grep -v . && rm -f "$NOTIFDIR/incomingcall*" && return
# Determine the incoming phone number # Determine the incoming phone number
echo "Incoming Call:" echo "Incoming Call:"

Loading…
Cancel
Save