Close the dial when the contact hang up on initiated calls
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
parent
c63ca633b4
commit
4c0b70442c
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ checkforfinishedcalls() {
|
|||
printf %b "$TIME\tcall_finished\t$FINISHEDNUMBER\n" >> "$LOGDIR/modemlog.tsv"
|
||||
elif [ -f "$CACHEDIR/${FINISHEDCALLID}.initiatedcall" ]; then
|
||||
#this call was hung up by the contact
|
||||
pkill -f sxmo_modemcall.sh
|
||||
echo "sxmo_modemmonitor: Finished call from $FINISHEDNUMBER">&2
|
||||
rm -f "$CACHEDIR/${FINISHEDCALLID}.initiatedcall"
|
||||
printf %b "$TIME\tcall_finished\t$FINISHEDNUMBER\n" >> "$LOGDIR/modemlog.tsv"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue