Recently, working on integration with a gateway, I found that it could not recognize the + (E.164 format) sent by Mediation.
Also, the "From" headers for incoming calls from certain PBXs do not comply with RFC 3966.

This little "feature" make me having lots of problems to and from communications with OCS, with incorrect phone routing.

Well there is an August 2008, patch to address this issue, look here: http://support.microsoft.com/kb/952785/

 It should be installed on these roles:

  • Standard Edition Server
  • Enterprise Edition Server – Front End
  • Proxy Server
  • Director Server
  • Edge Server
  • Forwarding Proxy

In order to config Mediation Server to strip the +, you have to install the patch and it should exist file:

MediationServerSvc.exe.config

 located at

C:\Program Files\Microsoft Office Communications Server 2007\Mediation Server

with the following content:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
                 <appSettings>
                                <add key="RemovePlusFromRequestURI" value="Yes" />
                 </appSettings>
</configuration>

 

 

Is also possible to strip the + and enable TLS for, by changing the file to:

<?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>

This saved me a lot of work...

 


Comments are closed

Nuno's Blog

Lets talk about OCS