The ring hook was blocking the notification writing.
The hook must be run asynchronously. This allow ringtones to be played using mpv by exemple. Signed-off-by: Reed Wade <reedwade@misterbanal.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
6f94bb8159
commit
cd7762d92a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ checkforincomingcalls() {
|
||||||
INCOMINGNUMBER=$(lookupnumberfromcallid "$VOICECALLID")
|
INCOMINGNUMBER=$(lookupnumberfromcallid "$VOICECALLID")
|
||||||
|
|
||||||
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/ring" ]; then
|
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/ring" ]; then
|
||||||
"$XDG_CONFIG_HOME/sxmo/hooks/ring" "$(sxmo_contacts.sh | grep -E "^\\$INCOMINGNUMBER")"
|
"$XDG_CONFIG_HOME/sxmo/hooks/ring" "$(sxmo_contacts.sh | grep -E "^\\$INCOMINGNUMBER")" &
|
||||||
else
|
else
|
||||||
sxmo_vibratepine 2500 &
|
sxmo_vibratepine 2500 &
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue