Setup Topology Information cache for Interceptor

Optional for large environments; The AnywhereNow SipInterceptor can startup with topology information cached so large queries are no longer required.

  1. Create a new folder on disc (or a share), for instance:

    File path
    C:\Data\Interceptor\Caches or \\SharedApps\SipInterceptor\Caches 
  2. Start PowerShell as administrator and run the following commands:

    PowerShell
    Get-CsUser | select SipAddress, LineURI, DisplayName, WhenCHanged | Export-Clixml C:\Data\Interceptor\Caches\users.xml
    Get-CsTrustedApplicationEndpoint | select SipAddress, LineURI, DisplayName, WhenChanged | Export-Clixml C:\Data\Interceptor\Caches\endpoints.xml
    Get-CsCommonAreaPhone | select SipAddress, LineURI, DisplayName, WhenChanged | Export-Clixml C:\Data\Interceptor\Caches\commonareaphones.xml
    Get-CsCallParkOrbit | Export-Clixml C:\Data\Interceptor\Caches\callparkorbits.xml
    Get-CsDialInConferencingAccessNumber | Export-Clixml C:\Data\Interceptor\Caches\dialinconferencingaccessnumber.xml
  3. Make sure to replace the “C:\Data\SipInterceptor\Caches” path for the path you have created.

  4. Now open ‘C:\Program Files\SipInterceptor\Wsp.Anywhere365.SipInterceptor.Service.exe.config’ with Notepad or an alternative text editor

  5. Modify the ‘interceptorConfiguration path’ parameter to point to the newly created cache folder

    XML
    <interceptorConfiguration path="C:\Data\Interceptor\Caches">
    <caches>
    <endpoints endpointType="UserEndpoint" fileName="users.xml" />
    <endpoints endpointType="ApplicationEndpoint" fileName="endpoints.xml" />
    <endpoints endpointType="CommonAreaPhone" fileName="commonareaphones.xml" />
    <endpoints endpointType="CallParkOrbit" fileName="callparkorbits.xml" />
    <endpoints endpointType="DialInConferencingAccessNumber" fileName="dialinconferencingaccessnumber.xml" />
    </caches>
    </interceptorConfiguration>

    Note

    Once created the service will make sure the cache stays up to date.