Article ID: 952785 - View products that this article applies to.
By default, Microsoft Office Communications Server 2007 Mediation Server uses a plus sign (+) to prefix E.164 numbers in the Request Uniform Resource Identifier (URI) for outgoing calls. However, certain private branch exchanges (PBXs) do not comply with Request for Comments (RFC) 3966, “The tel URI for Telephone Numbers” and do not accept numbers that are prefixed with a plus sign (+). Therefore, an outgoing call may not be routed correctly. Additionally, the "From" headers for incoming calls from certain PBXs also do not comply with RFC 3966. In this case, Office Communicator does not resolve the number to the correct user.
To resolve this issue, follow these steps:
To make sure that Mediation Server operates correctly with non-RFC 3966-compliant PBXs, update 952780 adds a new Mediation Server configuration file setting for Communications Server 2007. This configuration file setting is called RemovePlusFromRequestURI, and it contains one of two values, Yes or No. If your PBX does not accept numbers that are prefixed by using a plus sign (+), the setting in the configuration file (MediationServerSvc.exe.config) should be Yes. The Yes setting causes Mediation Server to remove the plus sign (+) from a Request URI for outgoing calls. It also removes the plus sign (+) from the "To" header and the "From" header. If the configuration file setting is set to No, Mediation Server will not change the Request URI, the "To" header, or the "From" header.
If the MediationServerSvc.exe.config file does not already exist, put it in the directory that holds the Mediation Server software. To find this directory, search for the Microsoft.RTC.MediationServerCore.dll file, and then place the MediationServerSvc.exe.config file in the same directory.
Note For a default installation on the C drive, the Mediation Server software is located in the following directory:
C:\Program Files\Microsoft Office Communications Server 2007\Mediation ServerIf the MediationServerSvc.exe.config file has a setting to strip the plus sign (+), its contents would be as follows:
If the file does not exist or if it exists but has no setting for “RemovePlusFromRequestURI," the default setting for "RemovePlusFromRequestURI" is No.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="RemovePlusFromRequestURI" value="Yes" /> </appSettings> </configuration>
Note This configuration file is also used to turn Transport Layer Security (TLS) on or off in the Mediation Server existing functionality. Therefore, the file may already exist on a particular Mediation Server computer. By default, if the file does not exist or does not have the GatewayTLS setting, TLS is turned off.
The contents of the file are as follows when the file is used both to strip the plus sign (+) and to enable TLS:
Note The Mediation Server must be restarted for changes in the configuration file to take effect.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="RemovePlusFromRequestURI" value="Yes" /> <add key="GatewayTls" value="On" /> <add key="GatewayFqdn" value="gateway.domain.com" /> </appSettings> </configuration>
Update 952783 introduces functionality for Communications Server 2007 to normalize the "From" header so that a non-RFC 3966 representation of an E.164 number is converted to an RFC 3966 representation and is placed in the P-Asserted-Identity (PAI) header field. If normalization does not result in an E.164 number, Communications Server 2007 includes a phone-context value of "enterprise” in the PAI header. The PAI header enables the user lookup functionality in Communicator 2007. Additionally, Communications Server 2007 bypasses the server normalization logic if the Request URI header contains a phone-context value of "enterprise."