Add error dialogs for invites and call timeouts.
This commit is contained in:
parent
6fe842e130
commit
bcab2f231a
2 changed files with 15 additions and 0 deletions
|
@ -116,6 +116,10 @@ function _setCallListeners(call) {
|
|||
_setCallState(call, call.roomId, "busy");
|
||||
pause("ringbackAudio");
|
||||
play("busyAudio");
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Call Timeout",
|
||||
description: "The remote side failed to pick up."
|
||||
});
|
||||
}
|
||||
else if (oldState === "invite_sent") {
|
||||
_setCallState(call, call.roomId, "stop_ringback");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue