Revert "simplify code to get phone number for incoming calls"
This reverts commit b0bb9ac9fc
.
This fixes the issue with modemlog having filled with extra mmcli
output
This commit is contained in:
parent
995a80c40c
commit
e067fd9ad6
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ modem_n() {
|
|||
lookupnumberfromcallid() {
|
||||
VOICECALLID=$1
|
||||
mmcli -m "$(modem_n)" --voice-list-calls -o "$VOICECALLID" -K |
|
||||
sed -E 's/^call\.properties\.number\s+:\s+//'
|
||||
grep call.properties.number |
|
||||
cut -d ':' -f 2 |
|
||||
tr -d ' '
|
||||
}
|
||||
|
||||
checkformissedcalls() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue