Microsoft Teams block an inbound call
Hi All,
Ever needed to Block a Telephone Number in Microsoft Teams Enterprise Voice. Here is how that can be done.
Block inbound calls
Get-CsInboundBlockedNumberPattern
New-CsInboundBlockedNumberPattern -Name "BlockMobile-01" -Enabled $True -Description "BlockMobile-01" -Pattern "^\+?41796937148$"
Be aware, that it could take up to 24 Hours until that Number is blocked.
Then the Caller will hear only a busy Signal
Get-CsInboundBlockedNumberPattern
You can Test your pattern Matching with the following Commandlet
Test-CsInboundBlockedNumberPattern -PhoneNumber +41796937148
Test-CsInboundBlockedNumberPattern -PhoneNumber 0796937148
Test-CsInboundBlockedNumberPattern -PhoneNumber 796937148
Remove-CsInboundBlockedNumberPattern -Identity BlockMobile-01
Get-CsInboundBlockedNumberPattern
Get-CsInboundBlockedNumberPattern
Regards
Andres Bohren