sxmo-utils/configs/default_hooks/missed_call

8 lines
236 B
Bash

#!/usr/bin/env sh
# This script is executed (asynchronously) when you missed a call
# You can use it to play a ring tone
#we simply remove the ring trigger file
#written by the ring hook and the ringing will stop
rm /tmp/ring.trigger