Editing the Agent Desktop Configuration File

The Agent Desktop configuration file (AgentDesktop.exe.config) is located at <InstallDir>\AgentDesktop\ in the Agent machine. You must configure the Agent Desktop’s configuration file, in order for it to use DCS.

To configure Agent Desktop configuration file:

  1. Ensure that the following endpoint entries are not commented and restart your IIS server, to integrate CCF with DCS:

    • Microsoft.Ccf.Samples.Csr.AgentDesktop.AddressBook.AddressBook
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.AgentStats.AgentState
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.ContactCenterStatistics.ContactCenterStatistics
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.Lookup.Lookup
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.NonHostedApplications.NonHostedApplication
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options
    • Microsoft.Ccf.Samples.Csr.AgentDesktop.SkillsRouting.Routing
    • Microsoft.Ccf.Samples.HostedControlInterfaces.RegisterClient.RegisterClient
    • Microsoft.Ccf.Csr.Application.Application
    • Microsoft.Ccf.Csr.AuditLogWS.AuditLog
    • Microsoft.Ccf.Csr.ContextWebServices.ContextWebServices
    • Microsoft.Ccf.Samples.WfWorkflowControl.WorkflowWS.WorkflowWs
    • Microsoft.Ccf.Common.AgentLoginManager.AgentLoginManager
    • Microsoft_Ccf_Csr_Core_AgentCredentials_AgentCredentials
  2. In the Agent Desktop configuration file, replace DCSDISCO with the DCS server name in the channelfactory entry. For example, if your DCS server is DCS_Server, the entry will be:

  3. <cis.serviceModel>
       <channelFactory>
          <discoveredEndpoint compositeBaseAddress="https://DCS_Server:8080"/>
          <mexDiscoveryEndpoint address="https:// DCS_Server/DiscoveryService/DiscoveryService.svc" binding="basicHttpBinding" bindingConfiguration=""/>
          <scopeRanking type="Microsoft.ConnectedIndustry.ServiceModel.Application.ScopeRanking,Microsoft.ConnectedIndustry.ServiceModel.Application"/>
          <scopeProvider type="Microsoft.ConnectedIndustry.ServiceModel.Application.ScopeProvider,Microsoft.ConnectedIndustry.ServiceModel.Application"/>
       </channelFactory>
    </cis.serviceModel>    
    
  4. In the proxy providers section of the Agent Desktop configuration file, set the default proxy to DCS proxy.

  5. <ProxyProviders defaultProvider="dcsProxy">
      <providers>
        <add name="wcfProxy" description="Provides WCF based proxy" type="Microsoft.Ccf.Common.ProxyProvider.WcfProxy, Microsoft.Ccf.Common.ProxyProvider" />
        <add name="wcfSeProxy" description="Provides WCF based proxy with support for Security Extn" type="Microsoft.Ccf.Common.ProxyProvider.WcfSeProxy, Microsoft.Ccf.Common.ProxyProvider" />
        <add name="ccfSeProxy" description="Provides CCF based proxy with support for Security Extn" type="Microsoft.Ccf.Common.ProxyProvider.CcfSeProxy, Microsoft.Ccf.Common.ProxyProvider" />
        <add name="dcsProxy" description="Provides DCS based proxy" type="Microsoft.Ccf.Common.ProxyProvider.DcsProxy, Microsoft.Ccf.Common.ProxyProvider" />
      </providers>
    </ProxyProviders>