From: Italo Rossi Date: Wed, 17 Feb 2016 14:14:35 +0000 (-0300) Subject: FS-8839 - [verto_communicator] Fix screenshare when caller is transferred to another... X-Git-Tag: v1.6.7~2^2~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0841e8606f75c2925a40d23abe92d9c5ea2571e;p=thirdparty%2Ffreeswitch.git FS-8839 - [verto_communicator] Fix screenshare when caller is transferred to another conference. --- diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/InCallController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/InCallController.js index f030b5d611..d5e5484fa6 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/InCallController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/InCallController.js @@ -105,7 +105,15 @@ verto.screenshareHangup(); return false; } - verto.screenshare(storage.data.called_number); + if (verto.data.conf) { + console.log('Screenshare inside conferece: ', verto.data.conf); + // Setting the destination of the screenshare call as the conference + // number we last joined + verto.screenshare(verto.data.conf.params.laData.laName); + } + else { + verto.screenshare(storage.data.called_number); + } }; function buildCanvasesData() {