Thursday, 21 March 2013

Databases in Lync2010


 

Central Management Store ( CMS) 


         Xds ( Maintains the Lync configuration as published by Topology Builder )

         There is only one master copy of CMS database which is automatically installed on the first instance of a Standard or Enterprise Edition Lync pool. For Enterprise Edition pools this first instance will reside on the SQL back-end database for the pool

Pool Configuration Store


         Rtc (stores persistent user data such as user contact lists, scheduled conferences, and access control lists)

         Rtcdyn (stores dynamic Lync user data such as presence information.)

         Rtcab & Rtcab1 (stores the raw Lync address book information (i.e. that is pulled from AD))

Application Store


         Cpsdyn (stores dynamic system information for the Call Park application )

         Rgsdyn (stores dynamic runtime operational information for the Response Group application)

         Rgsconfig (stores persistent configuration data for the Response Group application )

Archiving and Monitoring Store


         LcsLog (stores Instant Messaging and Conferencing data for archiving purposes)

         LcsCdr (stores the Call Details Records (used by the Monitoring Role))

         QoEMetrics (stores the Quality of Experience data (used by the Monitoring Role) )

Location Store


         Lis (hold a network ‘wiremap’ that maps network elements (e.g. subnet, WAP’s, routers) to real civic addresses )

Sunday, 10 February 2013

Force Lync2010 Client to update Address book


Step 1 : Update Servers


Run following command from Lync Server Management Shell

Update-CsAddressBook –Verbose

image

Step 2: Update Clients


Run following command from cmd ( run as an Administrator )

reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f

image
Exit the Lync client and delete the GalContacts.dband GalContacts.db.idxfiles from the user’s profile directory ( following location )

%userprofile%\AppData\Local\Microsoft\Communicator\sip_<username@domain>\

Log back in and Lync client will now update the address book.

Saturday, 26 January 2013

Call transfer to user doesn't work


Not able to transfer calls to one user

 

Recently I came across this very weird issue whereby any users in lync 2010 environment can not transfer calls to particular users ( i.e if they transfer it by searching name in lync client ) however, if they transfer calls by that user’s extension number then they could successfully transfer the calls.

In nutshell, if they transfer call to user’s SIP uri then call will fail and if they transfer it to his extension then call will connect.

After obtaining debug logs on Lync FE server, I found that Lync was trying to transfer call to  “ 0867588” number because of refer message. ( As this site had media bypass enable )

So main issue was that user’s sip uri : 0867588@domain.com

If in your environment any usre’s SIP URI is number and if you have media bypass enable then any other user won’t be able to transfer external calls to that particular user ( who has number in SIP URI) because of the refer message only gives number to front end server and then instead of trying to send call to sip uri , lync will try calling that number and call will fail.

Saturday, 29 December 2012

UAG as Reverse Proxy for Lync 2010

Recently, I have to configure UAG as Reverse Proxy for Lync 2010 deployment and had lot of issue getting it work and there was not a great deal of help on internet. Finally, I got it working and i thought i should put up blog to save troubles for all of you.

Step 1 : Go through the Wizard ( UAG SP1 update 1) to publish Lync Web Services.

image

Make sure that HTTPS trunk is provisioned with a certificate containing all the public host names.

Step 2: Publish your Lyncdiscover service ( for mobility )

From the portal site click on "Add" on Applications,

image


image

image

image

image

image

image

Step 3 : Change Trunk Settings

image

image

image