lync signin device capabilities
-
Sunday, February 26, 2012 7:37 AM
During signin process to lync client a service message is sent that contains device publication capabilities. what will happen if i intercept this message and change it using an MSPL script. for example what will happen if i change applicationSharing render value to false in the following xml:
<publish xmlns="http://schemas.microsoft.com/2006/09/sip/rich-presence"><publications uri="sip:a@newlab.local"><publication categoryName="device" instance="2017946021" container="2" version="0" expireType="endpoint"><device xmlns="http://schemas.microsoft.com/2006/09/sip/device" endpointId="ACDA56C6-E5AE-5AE6-BB09-49468BD8627B" gruu="sip:a@newlab.local;opaque=user:epid:xlbarK7l5lq7CUlGi9hiewAA;gruu"><capabilities preferred="false" uri="sip:a@newlab.local"><text capture="true" render="true" publish="false"/><gifInk capture="false" render="true" publish="false"/><isfInk capture="false" render="true" publish="false"/><applicationSharing capture="true" render="true" publish="false"/><confInvite capture="false" render="true" publish="true"/><voice capture="true" render="true" publish="false"/><video capture="true" render="true" publish="false"/><containerIntegrity capture="false" render="false" publish="true" version="30"/><ucs capture="false" render="false" publish="true"/><breakthrough capture="false" render="false" publish="true"/><contentWhiteboard capture="true" render="true" publish="false"/><contentPoll capture="true" render="true" publish="false"/><contentPowerPoint capture="true" render="true" publish="false"/><contentNativeFile capture="true" render="true" publish="false"/></capabilities><machineName>SRV-2</machineName></device></publication><publication categoryName="state" instance="931427994" container="3" version="0" expireType="endpoint"><state manual="false" xsi:type="machineState" xmlns="http://schemas.microsoft.com/2006/09/sip/state" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
All Replies
-
Monday, March 19, 2012 7:56 PMCan you be more specific to the scenario that you want to achieve?
-
Thursday, April 12, 2012 11:18 PM
sorry didnt see your replay.
anyway lets say that i want to modify this xml to enable or disable certain capabilities in lync client during registration process... is that possible?
for example if i change <contentWhiteboard capture="true" render="true" publish="false"/> to be <contentWhiteboard capture="true" render="false" publish="false"/> would that allow me to disable whiteboard functionality... ???Best Regards
-
Friday, April 13, 2012 7:05 PM
Ziwar
Preferable way to enable or disable such settings is to change these capabilities for a particular user on the Lync server. In that way, client will get the correct capability when its signs in. If that doesn’t solve your problem, can you help us understand the scenario you want to achieve for your user?
Lync SDK Team - This posting is provided "AS IS" with no warranties, and confers no rights.
- Edited by Ashar Khan [MSFT] Friday, April 13, 2012 7:05 PM
- Edited by Ashar Khan [MSFT] Friday, April 13, 2012 7:05 PM
-
Sunday, April 15, 2012 5:50 AM
Thank you Ashar,
I know that i can do that from the lync server. but what if i want to do that dynamically? what if I want to change these capabilities based on some values in the SIP Message or based on the location. in my case i want to disable some capabilities for some users that login externally only.
-
Tuesday, April 17, 2012 7:12 PM
Ziwar
You should investigate using Lync Server SDK. It supports modifying SIP messages in transit. Lync Client APIs were not designed for the scenario you want. More information about Lync Server SDK is on MSDN: http://msdn.microsoft.com/en-us/library/gg421042.aspx
Lync SDK Team - This posting is provided "AS IS" with no warranties, and confers no rights.
- Proposed As Answer by Kai Strandskov [Msft]Owner Monday, April 23, 2012 6:19 PM
- Marked As Answer by Kai Strandskov [Msft]Owner Wednesday, April 25, 2012 12:25 AM

