Show duration of call in statusbar
This commit is contained in:
parent
a74b91a501
commit
bca4475e0a
2 changed files with 16 additions and 1 deletions
|
@ -142,6 +142,7 @@ incallsetup() {
|
|||
incallmonitor() {
|
||||
CALLID="$1"
|
||||
while true; do
|
||||
echo 1 > /tmp/sxmo_bar
|
||||
if mmcli -m "$(modem_n)" -K -o "$CALLID" | grep -E "^call.properties.state.+terminated"; then
|
||||
fatalerr "$NUMBER hung up the call"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue