Fix the notification for outgoing call hanged up by the contact
There was a hole in the event logging where we start a call that the contact hang up. As we dont have an event for outgoing call, modemmonitor think this is a missed call. Adding a dedicated event file help modemmonitor to know what happen. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
f63852a801
commit
7cf1dadf5f
2 changed files with 7 additions and 1 deletions
|
@ -106,6 +106,7 @@ acceptcall() {
|
|||
)"
|
||||
if [ "$DIRECTION" = "outgoing" ]; then
|
||||
modem_cmd_errcheck -m "$(modem_n)" -o "$CALLID" --start
|
||||
touch "$CACHEDIR/${CALLID}.initiatedcall" #this signals that we started this call
|
||||
log_event "call_start" "$CALLID"
|
||||
echo "sxmo_modemcall: Started call $CALLID">&2
|
||||
elif [ "$DIRECTION" = "incoming" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue