Implement default hooks for ringing and incoming texts, playing audio

This commit is contained in:
Maarten van Gompel 2021-03-30 20:45:39 +02:00
parent 2188ed15ea
commit bec7106317
7 changed files with 68 additions and 0 deletions

10
configs/default_hooks/sms Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env sh
# This script is executed after you received a text
#You can use it to play a notification sound or forward the sms elsewhere
#The following parameters are provided:
#CONTACTNAME="$1"
#TEXT="$2"
mpv --quiet --no-video /usr/share/sxmo/notify.ogg