From 19efcf927e928db59b29ecb9ab4c04be51f0989e Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sun, 13 Sep 2020 22:14:24 +0200 Subject: [PATCH] Sep 8: call checkformissedcalls at first run, and then also any time that checkforincomingcalls did not actually find a call (i.e. ... missed it) Signed-off-by: Serge Hallyn Signed-off-by: Maarten van Gompel --- scripts/modem/sxmo_modemmonitor.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/modem/sxmo_modemmonitor.sh b/scripts/modem/sxmo_modemmonitor.sh index cf8ad8e..e0141b2 100755 --- a/scripts/modem/sxmo_modemmonitor.sh +++ b/scripts/modem/sxmo_modemmonitor.sh @@ -125,9 +125,11 @@ checkfornewtexts() { } mainloop() { + checkformissedcalls dbus-monitor --system "interface='org.freedesktop.ModemManager1.Modem.Voice',type='signal',member='CallAdded'" | \ while read line; do checkforincomingcalls + checkformissedcalls done & dbus-monitor --system "interface='org.freedesktop.ModemManager1.Modem.Messaging',type='signal',member='Added'" | \ while read line; do