From c6764c2a0d21793574484d700af8e9ceb7c2a4a3 Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Mon, 5 Apr 2021 12:37:48 +0200 Subject: [PATCH] Fix an issue when number was composed by multiple words Signed-off-by: Stacy Harper Signed-off-by: Maarten van Gompel --- scripts/modem/sxmo_modemmonitor.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/modem/sxmo_modemmonitor.sh b/scripts/modem/sxmo_modemmonitor.sh index 7fad094..d5ba98e 100755 --- a/scripts/modem/sxmo_modemmonitor.sh +++ b/scripts/modem/sxmo_modemmonitor.sh @@ -135,12 +135,12 @@ checkforincomingcalls() { sxmo_notificationwrite.sh \ "$NOTIFDIR/incomingcall_${VOICECALLID}_notification" \ - "sxmo_modemcall.sh pickup $VOICECALLID" \ + "sxmo_modemcall.sh pickup '$VOICECALLID'" \ none \ "Pickup - $CONTACTNAME" & sxmo_notificationwrite.sh \ "$NOTIFDIR/incomingcall_${VOICECALLID}_notification_discard" \ - "sxmo_modemcall.sh hangup $VOICECALLID" \ + "sxmo_modemcall.sh hangup '$VOICECALLID'" \ none \ "Discard - $CONTACTNAME" & @@ -175,7 +175,7 @@ checkfornewtexts() { sxmo_notificationwrite.sh \ random \ - "sxmo_modemtext.sh tailtextlog $NUM" \ + "sxmo_modemtext.sh tailtextlog '$NUM'" \ "$LOGDIR/$NUM/sms.txt" \ "Message - $CONTACTNAME: $TEXT"