Skip to content

Commit 96f1f52

Browse files
committed
caller.js stopAllAudioEffects() with dtmfDialingSound.pause()
1 parent 9e218e5 commit 96f1f52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webroot/user/caller.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2642,12 +2642,15 @@ function dataChannelOnmessage(event) {
26422642
}
26432643

26442644
function stopAllAudioEffects() {
2645+
gLog('stopAllAudioEffects');
26452646
if(playDialSounds) {
2646-
gLog('stopAllAudioEffects DialSound stop');
26472647
if(dtmfDialingSound) {
2648+
gLog('stopAllAudioEffects dtmfDialingSound stop');
2649+
dtmfDialingSound.pause();
26482650
dtmfDialingSound.currentTime = 100000;
26492651
}
26502652
if(busySignalSound) {
2653+
gLog('stopAllAudioEffects busySignalSound stop');
26512654
busySignalSound.pause();
26522655
busySignalSound.currentTime = 0;
26532656
}

0 commit comments

Comments
 (0)