Lync Server Error: Invalid Mediation Server Setting

Recently I was checking into why calls were failing immediately on a specific Lync Mediation Server. I had verified the SIP trunk on the gateway was configured and that the Mediation server could access port 5060 on the gateway’s IP address, but couldn’t see why the calls were failing. Doing a trace I saw the Mediation Server never even attempt the call, but after restarting the Mediation service I noticed a warning with event ID 25075 logged by LS Mediation Server:

Mediation Server encountered an invalid setting that has been ignored.

Setting: PSTNGatewayService Fqdn:
Reason: [Config] A Gateway Peer’s ( internal settings are not configured correctly: NextHopPort = 5060, TransportType = TCP, NextHopIpAddress = N/A

Cause: Settings configured incorrectly.
Reconfigure the specified setting.

At first glance this appeared to be the correct FQDN for the gateway, but after looking more closely I realized there was a typo in the published topology. The result was the Mediation Server couldn’t look up the DNS name for the gateway because it was the wrong name! It’s too bad you can’t change the FQDN easily in the topology so I had to add a new PSTN gateway with the correct name, add it to all the appropriate routes, and then go back to remove the incorrect name from all routes and the topology. After performing those steps and giving the Mediation service another bounce the calls began to succeed.


Recent content I've written for you—just for you!— to enjoy while you're here.


Quick commentary and links to other sources you'll find interesting. I promise.


Some personal background, links to related projects, and other ways to connect.

Hi there. My name is Tom Pacyk and this is my small home on the web. I love the intersection of design, technology, and communication, which is a combination that led me to a career in sales and marketing roles at places like Zoom and ServiceNow. They're a bit old now, but I also had the opportunity to publish a couple of books along the way.

Portland, Oregon is home for me, my wife Beth, and our three kids, but I'm actually a Midwestern transplant—I grew up in the Chicago suburbs and went to school at Purdue and Illinois. When I find some free time I'm probably going to concerts, rooting for the Portland Timbers, or working on my Sunshine Burn Photography project.