sxmo-utils/configs/default_hooks/pickup

9 lines
184 B
Bash

#!/usr/bin/env sh
# This script is executed (asynchronously) when you pick up an incoming call
# remove the ring trigger
rm /tmp/ring.trigger
# kill any existing playback
pkill mpv