Fix bug w/ newcall() in sxmo_modemmonitor.sh preventing ringing call from being logged

Resolves sxmo-tickets #26 reported by ~jan_wagemakers
master
Miles Alan 5 years ago
parent 8249d67474
commit 6777dbdebd
  1. 2
      scripts/modem/sxmo_modemmonitor.sh

@ -36,7 +36,7 @@ newcall() {
TIME="$(date --iso-8601=seconds)"
mkdir -p $LOGDIR
echo -ne "$TIME\tcall_ring\t$NUMBER\n" >> $LOGDIR/modemlog.tsv
echo -ne "$TIME\tcall_ring\t$INCOMINGNUMBER\n" >> $LOGDIR/modemlog.tsv
echo "$VID:$INCOMINGNUMBER" > /tmp/sxmo_incomingcall
echo "Number: $INCOMINGNUMBER (VID: $VID)"

Loading…
Cancel
Save