Call from lync 2013 to mobile phones got 487 rejected error

After migrating Lync 2010 to Lync 2013 we suddendly got an issue with outbound calls to mobile phones.


The setup was a Mediant 1000 gateway with one E1 trunk towards PSTN.
The setup was unchanged on the Mediant and the trunk was just moved from 2010 to 2013 mediationserver.

Outbound calls to regular "landline" phones were ok but calls to mobile phones failed.
In snooper you could see 487 error-response from Mediant.
The mediant showed cause code 104 from E1/ISDN trunk.

This was odd because it had worked on Lync 2010.
After some testing my colleague, Kai Stenberg, remembered we did a trick with timeout values on another lync 2013 installation.


The trick is that you need to change the FailOverTimout in OutboundRouting.exe.config.
The file is found under C:\Program Files\Microsoft\Lync Server 2013\Server\Core
We changed the value from 10000 to 20000 and then the calls to mobilephones went through.
Remember to bootstrap the server after the parameter is changed and saved.

Configuring Parameters
Some of the above timeouts can be configured. The file which has the configurable parameters is 'OutboundRouting.exe.config”  Use caution when changing these values, as a rule of thumb try not to increase or decrease the value by more than 25% of its original value.

from OutboundRouting.exe.config
<configuration>
    <appSettings>
      <add key="FailOverTimeout" value="10000"/>
      <add key="MinGwWaitingTime" value="1"/>
      <add key="MaxGwWaitingTime" value="20"/>
      <add key="FailuresForGatewayDown" value="10"/>
      <add key="FailuresForGatewayLessPreferred" value="25"/>
      <!-- Valid values are between 5 and 600 -->
      <add key="HealthMonitoringInterval" value="300"/>
      <!-- Valid values are between 60 and 3600 -->
      <add key="GatewayStateReportingInterval" value="1800" />
  </appSettings>
</configuration>





Comments

Post a Comment

Popular Posts