Friday, August 28, 2015

Allow only the Organiser to record Lync meeting

Recently, someone asked me if it is possible to configure Lync 2013/Skype for Business environment where only the meeting organizer can record.

Background



The ability for Lync meeting participants to record a meeting is controlled via the CsConferencingPolicy.  The CsConferencingPolicy controls the following settings in relation to recording:

AllowConferenceRecording
This setting controls whether meeting participants, including the organizer can record.  If meeting organizer is assigned a CsConferencingPolicy where AllowConferenceRecording is set to $False, no one in the meeting will be able to record, regardless of the CsConferencingPolicy assigned to attendees.  In other words, the AllowConferenceRecording setting in the CsConferencingPolicy applied to the meeting organizer “overrides” the AllowConferenceRecording setting in the CsConferencingPolicy applied to any attendee. 
  
AllowExternalUsersToRecordMeeting
This setting determines if external users can record a meeting.  It is applied to the meeting organizer and determines whether meetings created by the organizer will allow external users to record.  In this case, ‘external user’ applies to both “anonymous” as well as Federated attendees.

If a user who is assigned a CsConferencingPolicy with this policy parameter configured to $False joins a meeting of an organizer who has this setting configured as $True, the user would then be able to record – as long as that user is an “external user”.  Put another way, although Alice may not be allowed to create Lync Meetings that allow her or her attendees to record when hosted at her company’s site, if she joins a conference hosted at a Federated partners site, she would be able to record as long as the Meeting Organizer has this policy set to $True.If AllowConferenceRecording is $False, this setting will be ignored.

EnableP2PRecording
This setting determines whether point to point sessions may be recorded.  This setting is based on the CsConferencingPolicy applied to both users.  For example, if Bob and Alice begin a P2P Audio and Application Sharing sessions, and Alice’s policy allows her to record P2P sessions and Bob’s does not, then Alice would be able to record the session.

If we had AllowOnlyOrganizerToRecord, this blog post will not have existed but... we don't. So, what can be done?

When user sign-in, the assigned conferencing policy parameters are sent to the client via in-band provisioning.



As we can see, Bob have conferencing policy that allows recording (the company does not allow external users to record in any conferencing policy).

Alice is on the same meeting policy as Bob (recording is allowed).


Based on this Lync server side (policy) settings, when Bob joins Alice's meeting, recording will be allowed for both.

Before I get to the solution, we should also take a look what exactly happens when user joins a meeting. There is one component of particular interest - the actual in-band meeting provisioning.

As we see above, during the sign-in, user receives provisioning as for what is allowed for meetings that this user organizes. However, when user joins a meeting, a new provisioning is sent to every participant based on the Organizer's policy. This is, if Alice (the organizer) policy does not allow recording, when Bob joins, even thou his policy allows recording, Bob cannot record while on Alice's meeting.This provisioning is sent in INFO header.

Solution


I asked myself - what if I intercept this particular INFO header and override the specific value that is used to "tell" the client if recording is allowed or not? Id worked! Here is how it is done:


Needless to say, although I verified the functionality with Lync 2013 and Skype for Business server, it have not been tested under load and there is no guarantee that will perform well in large environment.

Installation


1. Download the script from this link.
2. Copy the file (BlockRecording.am) to "E:\Program Files\Skype for Business Server 2015\Server\Core" (or the drive where server components are currently installed.
3. In Lync Management Shell, run the following command:

 New-CsServerApplication –Identity “registrar:your_pool.contoso.com/BlockRecording” –Uri http://mspl.com/BlockRecording -ScriptName BlockRecording.am –Critical $False –Enabled $True -Priority 7

***If this is Enterprise Edition pool, the file must be present on all servers.

4. In event viewer, look for event id 30208 (application was registered successfully)

 

Test Scenario


Create new online meeting using account which has Conferencing policy where Recording is allowed. When join with this (Organizer) account, Recording control should be available. Any other user who join (despite if the conferencing policy for this user allows recording or not) should not have Recording control.

Troubleshooting


Follow this link for troubleshooting tips.

Drop me a note if this solution does not work for you.

34 comments:

saki said...

this is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
PHP Training in Chennai

Arjun Rishi said...

Great post. You shared useful post. Thanks for sharing.

web design training in chennai

Nivedageorge said...

Thanks for sharing such a valuable post.

SEO Training in Vadapalani

PlSQL Online Training said...


Its's really nice job to done ,try to implement more set of ideas through it
PlSQL Training

Gopi Perumal said...

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
Regards,

PHP Training in Chennai | Webdesigning Training in Chennai

Fathima Fazal said...


Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information.
Regards,'
Performance Tuning Training in Chennai | Oracle PL/SQL Training in Chennai

Movies Lover said...

Download 2017 Full Movies Online
Hindi Movie
Download
720p

Movies Lover said...

Independence Day 2017 USA Wallpapers

universal web said...


Happy Independence Day Greetings 2017
Quotes For Canada Day 2017
Pakistan Independence Day Wallpapers 2017
Happy India Independence Day Quotes

Ron Williams said...

Thank you very much for the information you shared. I loved the way your expressed your views. I also liked Independence day USA wishes and 4th of July pictures. Keep writing such wonderful things.

jenny Honey said...

Excellent Article, thanks for sharing
Web design company in Hyderabad
Digital Marketing company in Hyderabad

Puja Singh said...

independence day images 2017
independence day wallpapers
15th august images
independence day speech
15th august speech
tamilrockers

IndepedenceDayImages said...

Independence Day Images 2017

Independence Day Wishes

Independence Day Pictures

Independence Day Images

Independence Day Messages

Independence Day Quotes

Anonymous said...

box office collection
cricket news
gk news
gk
live streaming
bollywood news
news 24 hour
upcoming movies

traverse jamaica said...

Thank you for taking the time and sharing this information with us. It was indeed very helpful and insightful while being straight forward and to the point.
www.mcdonaldsgutscheine.net/ | www.startlr.com/ | www.saludlimpia.com/

Movie Trailer said...

happy new year message
2018 new year greetings
ideas for christmas

Anonymous said...

nice post.. keep up the good work and write more such awesome articles for us
isl live score 2017
isl points table
isl live streaming 2017
isl schedule 2017

Jayesh Singh said...

Great blog. Thanks for sharing with us, keep it up.
Bigg Boss 11 contestants

list of upcoming tamil movies said...

aamir khan upcoming movies
akshay kumar upcoming movies
salman khan upcoming movies
tiger shroff upcoming movies
shahrukh khan upcoming movies
hrithik roshan upcoming movies
ipl schedule 2018

Anonymous said...

psl 2018 schedule match list
big bash league 2017 fixtures
ipl 2018 schedule fixtures
ipl 2018 auction
bbl 2018 fixtures
isl 2017 schedule

jyoti roy said...

Great article with impressive content..Thanks for sharing..
Mat Lab Project Center in Chennai | Best Mat Lab Project Center in Chennai | No.1 Mat Lab Project Center in Chennai.

renith harsan said...

Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

"Devops Training in Chennai"

renith harsan said...

I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site."Devops Training in Chennai"

Merry said...

It's nice to finally have all the helpful resources in one post! Thank you so much for sharing it! Visit Us
Merry Christmas Wishes
Christmas Crafts Ideas
Merry Christmas Songs Lyrics
Christmas Messages 2017

Sweta sikhri said...

Merry Christmas Images

abril joseph said...

Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of. AWS Training in Chennai

Cabbage Soup Diet Recipe said...

cabbage soup diet plan is the 7 days diet plan. by this diet plan, you can able to loose up to 17 pounds of weight in 7 days 7 Day Cabbage Soup Diet Plan

Bearded Dragon said...

bearded dragon habitat is home for the bearded dragon. we want to setup proper and best habitat for your bearded dragon to live healthier and happier. Bearded Dragon habitat

Andrea said...

Bearded Dragon

Andrea said...

7 Day Cabbage Soup Diet Plan

Andrea said...

7 Day Cabbage Soup Diet Plan

Andrea said...

href=”www.cabbage-soup-dieting.com/cabbage-soup-diet-plan/”>7 Day Cabbage Soup Diet Plan

Andrea said...

Bearded dragon.

siva linga prasad said...

hiii

packers and movers in agra

packers and movers agra

movers and packers in agra

movers and packers agra