Handle outgoing terminated calls as well

This make cached event to pilles up and prevent some incoming call
events to works correctly.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 4 years ago committed by Maarten van Gompel
parent 67d512c924
commit b4686caa9c
  1. 1
      scripts/modem/sxmo_modemmonitor.sh

@ -65,7 +65,6 @@ checkforfinishedcalls() {
#find all finished calls #find all finished calls
for FINISHEDCALLID in $( for FINISHEDCALLID in $(
mmcli -m "$(modem_n)" --voice-list-calls | mmcli -m "$(modem_n)" --voice-list-calls |
grep incoming |
grep terminated | grep terminated |
grep -oE "Call\/[0-9]+" | grep -oE "Call\/[0-9]+" |
cut -d'/' -f2 cut -d'/' -f2

Loading…
Cancel
Save