FS-8970 - [verto_communicator] Setting 'none' for useSpeak/useMic/useCamera when calling a secondary canvas

This commit is contained in:
Italo Rossi 2016-03-22 19:07:13 -03:00
parent 9ffd25e1e3
commit e840bd9a0b
1 changed files with 11 additions and 1 deletions

View File

@ -89,7 +89,17 @@
if (extension.indexOf('-canvas-') != -1) {
$rootScope.watcher = true;
verto.call($rootScope.dialpadNumber, null, { useCamera: false, useMic: false, caller_id_name: null, userVariables: {}, caller_id_number: null, mirrorInput: false });
verto.call($rootScope.dialpadNumber, null,
{
useCamera: "none",
useMic: "none",
useSpeak: "none",
caller_id_name: null,
userVariables: {},
caller_id_number: null,
mirrorInput: false
}
);
$location.path('/incall');
return;
}