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 <serge@hallyn.com>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Maarten van Gompel 4 years ago
parent 99099a359f
commit 19efcf927e
  1. 2
      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

Loading…
Cancel
Save