Remote Call Control Only via cmdlet
Hi, all!
Is it possible configure Lync user for Remote call control anly (not just Remote call control) via comand line? As far as I undestand Ad attribute msRTCSIP-OptionFlags is
no longe exist for Lync. So where or how this user property could be manage?
November 21st, 2011 7:44am
Hi,
You can do this from Control Panel, User configuration.
November 21st, 2011 8:14am
The question was how to do this via comand line, not via GUI!!! I don't need to do this via Lync Control Panel.
Thank you anyway.
November 21st, 2011 8:21am
Although you can still use the msRTCSIP-OptionFlags. I would recommend you use the Lync Management Shell, this allows you to enable users either indiviually or to write a PowerShell script and automate the process. For example to enable a user for RCC you
can use this format.
Set-CsUser -Identity "Katie Jordan" -EnterpriseVoiceEnabled $false -LineServerUri sip:rccgateway@contoso.net -LineUri tel:+14255550150 -RemoteCallControlTelephonyEnabled $true
Details on enable users for RCC can be found here
http://technet.microsoft.com/en-us/library/gg615048.aspx
November 21st, 2011 8:55am
Hi,
You are probably looking for the set-csuser cmdlet:
http://technet.microsoft.com/en-us/library/gg398510.aspx
Your caommand would look like something like the (you have to enable the user for Lync first):
Set-CsUser -Identity <UserIdParameter> -RemoteCallControlTelephonyEnabled $true -lineserveruri "remote sipaddress, like meme@presence.com" -lineuri "will depend on your system, for cisco = tel:XXXX;phone-context=dialstring;device=SEPXXXXXXXXXXXX".
November 21st, 2011 8:56am
to _ChrisClark_
msRTCSIP-OptionFlags is obsolete for Lync Server 2010, so I can't use it.
Set-CSUser put user into "RRC" mode, not "RCC only" mode. This is a problem.
November 21st, 2011 9:05am
to Lasse Wedø
Set-CSUser put user into "RRC" mode, not "RCC only" mode. This is a problem.
November 21st, 2011 9:07am
If you run "get-csuser -identity <enter id> I guess the "enterpricevoiceenabled" = $true.
Try running set-csuser again, with the -enterpricevoiceenabled $false
November 21st, 2011 9:30am
I've run set-csuser with -enterpricevoiceenabled $false, so it's not the pointof faulture.
November 21st, 2011 9:37am
The only difference between RCC and RCC only is audio and video are disabled in RCC Only. That is turned off with the - AudioVideoDisabled $true parameter on the set-csuser command
November 21st, 2011 9:42am
November 21st, 2011 9:48am
To _ChrisClark_ and Lasse
Wedø
What are you talking about?
http://technet.microsoft.com/en-us/library/gg398510.aspx
AudioVideoDisabled
|
Optional
|
Boolean
|
Indicates whether the user is allowed to make audio/visual (A/V) calls by using Lync 2010. If set to True, the user will largely be restricted to sending and receiving instant messages.
You cannot disable A/V communications if a user is currently enabled for remote call control, Enterprise Voice, and/or Internet Protocol private branch exchange (IP-PBX) soft phone routing.
|
You can't disable A/V if your choose RCC.
As far as I know RCC only disable PC-to-PC, not A/V communication.
November 21st, 2011 9:57am
I just compared two users in my own production envrionment. by running get-csuser. User a was remote control, User b was remote control only.
The only difference between user a and user b was user b's "AudioVideoDisabled $true" where user a was set to false.
November 21st, 2011 10:27am
Video is automatically disabled with RCC, although that is planned to be changed in a future update. So it is only P2P audio you would be disabling.
I would suggest you do try the msRTCSIP-OptionFlags, it is not obsolete as most of the user config is still held in AD. The option for RCC only is 2048 and I am pretty certain it works from what I have read but so far I have not had reason to test it myself.
It is strange this option isn't directly in PowerShell.
November 21st, 2011 10:28am
I just ran the set-csuser -audiovideodisabled $true on a remote call control user, and it switched to remote call control only.
November 21st, 2011 10:30am
Yep, it works.
Thanks to all.
November 21st, 2011 11:34am
So my original suggestion of using -AudioVideoDisabled $true worked it is just the documentation that is wrong?
November 21st, 2011 12:07pm
yep.
November 21st, 2011 12:12pm
Set-CsUser -Identity user@example.com -RemoteCallControlTelephonyEnabled $True -LineURI "tel:123456789" -LineServerURI "sip:user@example.com" -AudioVideoDisabled $True
May 16th, 2012 7:20am
Set-CsUser -Identity user@example.com -RemoteCallControlTelephonyEnabled $True -LineURI "tel:123456789" -LineServerURI "sip:user@example.com" -AudioVideoDisabled $True
July 31st, 2015 1:55pm