Implement default hooks for ringing and incoming texts, playing audio
This commit is contained in:
parent
2188ed15ea
commit
bec7106317
7 changed files with 68 additions and 0 deletions
10
configs/default_hooks/sms
Normal file
10
configs/default_hooks/sms
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue