|
|
@ -77,6 +77,7 @@ export default {
|
|
|
|
context.commit('hangUpCall')
|
|
|
|
context.commit('hangUpCall')
|
|
|
|
} else if (options.cause && !errorVisibilityTimer) {
|
|
|
|
} else if (options.cause && !errorVisibilityTimer) {
|
|
|
|
context.commit('endCall', options.cause)
|
|
|
|
context.commit('endCall', options.cause)
|
|
|
|
|
|
|
|
if (options.cause !== 'Busy') {
|
|
|
|
errorVisibilityTimer = setTimeout(() => {
|
|
|
|
errorVisibilityTimer = setTimeout(() => {
|
|
|
|
if (context.state.callState === 'ended') {
|
|
|
|
if (context.state.callState === 'ended') {
|
|
|
|
context.commit('hangUpCall')
|
|
|
|
context.commit('hangUpCall')
|
|
|
@ -84,6 +85,7 @@ export default {
|
|
|
|
errorVisibilityTimer = null
|
|
|
|
errorVisibilityTimer = null
|
|
|
|
}, errorVisibilityTimeout)
|
|
|
|
}, errorVisibilityTimeout)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
sendDTMF (context, tone) {
|
|
|
|
sendDTMF (context, tone) {
|
|
|
|
callSendDTMF(tone)
|
|
|
|
callSendDTMF(tone)
|
|
|
|