Search This Blog

Friday, February 18, 2022

Teams LBR outbound calls are failing

 Few points regarding Location based routing debug in Teams. A user can not call out and Teams shows error message:

"Get Outbound Direct routing - no trunk config found by LBR selection criteria."

in Usage reports, as well as in client logs (Ctrl-Shift-Alt-1 to generate logs in Teams client):

    "terminatedReason": 72,

    "ccCode": 403,

    "ccSubcode": 510546,

    "phrase": "Get Outbound Direct routing - no trunk config found by LBR selection criteria."

One of the possible reasons is that user has no Calling policy "AllowCallsPreventTollBypass"

The prerequisites for LBR:

Voice policy has PSTN usage pointing to routes to SBC with LBR enabled.

User connects from LAN segment that is known and attached to a network location

External public IP is in trusted list (if protected by Zscaler or something like that all Zscaler ranges must be in the trusted IP list, if no prox, then outgoing firewall IP must be included)

SBC is attached to the LBR location.

User has calling policy to prevent toll

Tuesday, January 25, 2022


To fix the error (see below) with a certificate you need to recode pfx with SFB accepted CSP "Microsoft RSA SChannel Cryptographic Provider" , as explained here: 

openssl pkcs12 -in idp.pfx -out idp.pem

openssl pkcs12 -export -in idp.pem -out new-idp.pfx -CSP "Microsoft Enhanced RSA and AES Cryptographic Provider"

Log Name:      Lync Server

Source:        LS Protocol Stack

Date:          1/25/2022 9:35:40 AM

Event ID:      14397

Task Category: (1001)

Level:         Warning

Keywords:      Classic

User:          N/A



A configured certificate could not be loaded from store. The serial number is attached for reference.


Monday, April 19, 2021

Install Windows 2019 from USB

# Define Path to the Windows Server 2019 ISO $ISOFile = "C:\Temp\WindowsServer2019.iso"   # Get the USB Drive you want to use, copy the friendly name Get-Disk | Where BusType -eq "USB"   # Get the right USB Drive (You will need to change the FriendlyName) $USBDrive = Get-Disk | Where FriendlyName -eq "Kingston DT Workspace"   # Replace the Friendly Name to clean the USB Drive (THIS WILL REMOVE EVERYTHING) $USBDrive | Clear-Disk -RemoveData -Confirm:$true -PassThru   # Convert Disk to GPT $USBDrive | Set-Disk -PartitionStyle GPT   # Create partition primary and format to FAT32 $Volume = $USBDrive | New-Partition -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem FAT32 -NewFileSystemLabel WS2019   # Mount iso $ISOMounted = Mount-DiskImage -ImagePath $ISOFile -StorageType ISO -PassThru   # Driver letter $ISODriveLetter = ($ISOMounted | Get-Volume).DriveLetter   # Copy Files to USB Copy-Item -Path ($ISODriveLetter +":\*") -Destination ($Volume.DriveLetter + ":\") -Recurse   # Dismount ISO Dismount-DiskImage -ImagePath $ISOFile

Monday, January 18, 2021