Debug Unified Messaging with the Unified Messaging Test Phone

[This is pre-release documentation and subject to change in future releases. This topic's current status is: Milestone-Ready.]

Applies to: Exchange Server 2010 Beta* *Topic Last Modified: 2008-10-26

You can use the Exchange Unified Messaging (UM) Test Phone application to debug a computer running Microsoft Exchange Server 2010 that has the Unified Messaging server role installed. However, when you're debugging a Unified Messaging server, you must prevent Microsoft .NET from optimizing the binaries during the just-in-time (JIT) process. To prevent .NET from optimizing the binaries during the JIT process, you must complete the steps outlined in this topic on the Unified Messaging server.

Before You Begin

Before you perform this procedure, confirm the following:

  • A valid Exchange recipient mailbox has been created and enabled for Unified Messaging.
  • A valid UM dial plan has been created.
  • A valid UM IP gateway has been created.
  • A valid UM hunt group has been created.
  • A valid UM mailbox policy has been created.
  • The Unified Messaging server has been added to a UM dial plan.
  • The Exchange UM Test Phone application is installed and correctly configured.
  • For more information about how to set up and configure the Exchange UM Test Phone application, see Set Up the Unified Messaging Test Phone.


To use the UM Test Phone to debug Unified Messaging

  1. Use a text editor to create the following .ini files in the \\Exchsrvr\bin directory:

    • Microsoft.Exchange.Common.ini
    • Microsoft.Exchange.Common.IpConnectionPool.ini
    • Microsoft.Exchange.UM.ClientAccess.ini
    • Microsoft.Exchange.UM.MSSPlatform.ini
    • Microsoft.Exchange.UM.UMCommon.ini
    • Microsoft.Exchange.UM.UMCore.ini
    • Microsoft.Exchange.UM.UMDiagnostic.ini
    • Microsoft.Exchange.UM.UMMsg.ini
    • Microsoft.SpeechServer.Common.ini
    • Microsoft.SpeechServer.Log.Schema.ini
  2. Open each of the .ini files and make sure that the following lines appear. If the following lines don't appear, insert them in the .ini file and save the file with the same name:

    [.NET Framework Debugging Control]



  3. Open the UMRecyclerConfig.xml file in the \\Exchsrvr\bin directory using a text editor. Adjust the following values to prevent the Microsoft Exchange Unified Messaging service from restarting while in debugging mode:

    Heartbeatinterval = 0

    Recycleinterval = 0

    Resourcesmonitorinterval = 0

  4. Restart the Microsoft Exchange Unified Messaging service.

  5. Use the Exchange UM Test Phone application to place a call.

For more information about how to place a call using the UM Test Phone, see the following topics:

For More Information