Fix an issue when number was composed by multiple words

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 6dc18e22a3
commit c6764c2a0d
  1. 6
      scripts/modem/sxmo_modemmonitor.sh

@ -135,12 +135,12 @@ checkforincomingcalls() {
sxmo_notificationwrite.sh \ sxmo_notificationwrite.sh \
"$NOTIFDIR/incomingcall_${VOICECALLID}_notification" \ "$NOTIFDIR/incomingcall_${VOICECALLID}_notification" \
"sxmo_modemcall.sh pickup $VOICECALLID" \ "sxmo_modemcall.sh pickup '$VOICECALLID'" \
none \ none \
"Pickup - $CONTACTNAME" & "Pickup - $CONTACTNAME" &
sxmo_notificationwrite.sh \ sxmo_notificationwrite.sh \
"$NOTIFDIR/incomingcall_${VOICECALLID}_notification_discard" \ "$NOTIFDIR/incomingcall_${VOICECALLID}_notification_discard" \
"sxmo_modemcall.sh hangup $VOICECALLID" \ "sxmo_modemcall.sh hangup '$VOICECALLID'" \
none \ none \
"Discard - $CONTACTNAME" & "Discard - $CONTACTNAME" &
@ -175,7 +175,7 @@ checkfornewtexts() {
sxmo_notificationwrite.sh \ sxmo_notificationwrite.sh \
random \ random \
"sxmo_modemtext.sh tailtextlog $NUM" \ "sxmo_modemtext.sh tailtextlog '$NUM'" \
"$LOGDIR/$NUM/sms.txt" \ "$LOGDIR/$NUM/sms.txt" \
"Message - $CONTACTNAME: $TEXT" "Message - $CONTACTNAME: $TEXT"

Loading…
Cancel
Save