How to Debug Unified Messaging with the Unified Messaging Test Phone

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1

This topic explains how you can use the Exchange UM Test Phone application to debug a computer running Exchange Server 2007 that has the Unified Messaging server role installed. However, when you are debugging a Unified Messaging (UM) 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 UM server.

Before You Begin

Before you perform these procedures, 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 UM server has been added to a UM dial plan.

  • The UM Test Phone application is installed and correctly configured.

  • For more information about how to set up and configure the UM Test Phone application, see How to Set Up the Unified Messaging Test Phone.

Procedure

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 do not appear, insert them in the .ini file and save the file with the same name.

    [.NET Framework Debugging Control]

    GenerateTrackingInfo=1

    AllowOptimize=0

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

    Heartbeatinterval = 0

    Recycleinterval =0

    Resourcesmonitorinterval=0

  3. Restart the Exchange Unified Messaging service.

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

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

For More Information