Do not resume player before we reset the audio
This commit is contained in:
5
configs/default_hooks/sxmo_hook_after_call.sh
Normal file
5
configs/default_hooks/sxmo_hook_after_call.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This script is executed after the last call finished
|
||||||
|
|
||||||
|
sxmo_playerctl.sh resume_all
|
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# This script is executed (asynchronously) when you hangup an incoming call
|
# This script is executed (asynchronously) when you hangup an incoming call
|
||||||
|
|
||||||
sxmo_playerctl.sh resume_all
|
|
||||||
|
@@ -10,5 +10,3 @@
|
|||||||
|
|
||||||
# kill existing ring playback
|
# kill existing ring playback
|
||||||
sxmo_jobs.sh stop ringing
|
sxmo_jobs.sh stop ringing
|
||||||
|
|
||||||
sxmo_playerctl.sh resume_all
|
|
||||||
|
@@ -103,6 +103,8 @@ checkforfinishedcalls() {
|
|||||||
if ! sxmo_modemaudio.sh reset_audio; then
|
if ! sxmo_modemaudio.sh reset_audio; then
|
||||||
sxmo_notify_user.sh --urgency=critical "We failed to reset call audio"
|
sxmo_notify_user.sh --urgency=critical "We failed to reset call audio"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sxmo_hook_after_call.sh
|
||||||
else
|
else
|
||||||
# Or refresh the menu
|
# Or refresh the menu
|
||||||
sxmo_jobs.sh start incall_menu sxmo_modemcall.sh incall_menu
|
sxmo_jobs.sh start incall_menu sxmo_modemcall.sh incall_menu
|
||||||
|
Reference in New Issue
Block a user