• Home
  • My Tools
  • Visio Stencils
  • Online Tools
  • PS Scripts
  • PS One Liners
  • Downloads
  • Product Review
  • About

Smarter Together

~ by I.M.H.O.

Smarter Together

Category Archives: Admin Tools

Block Unwanted Calls in Teams: Say Goodbye to Distractions with Our Powerful Call Blocker Tool

26 Thursday Jan 2023

Posted by Paul Bloem in Admin Tools, UC Sorted Tools

≈ 1 Comment

Tags

Admin Tools, Microsoft Teams, Tools

Common reasons for blocking SPAM calls

  • Reduces unwanted distractions and interruptions during work.
  • Protects against security risks such as malware and phishing.
  • Improves productivity by allowing employees to focus on tasks.
  • Simple and effective way to improve efficiency and security of the organization.

There are several options available to block SPAM calls in Microsoft Teams:

  1. Microsoft Teams Tenant level Call Blocking Rules: Set with PowerShell using Regex expressions. This allows you to set up call blocking rules to block specific numbers or number ranges. You can also block entire countries, regions etc.
  2. Microsoft Teams Direct Routing: This feature allows you to connect your existing PSTN (Public Switched Telephone Network) infrastructure to Microsoft Teams, allowing you to use your existing (Carrier provided) call blocking and filtering solutions.
  3. Third-Party Call Control: Microsoft Teams also supports integration with third-party call control solutions, such as those provided by companies like Ribbon Communications and AudioCodes. These solutions allow you to use advanced call blocking and filtering features.
  4. Teams Client Side Call blocking: Done by the user from Call History or Contacts.

The Teams Call Blocker Tool focuses on the first option above, simply put, the PowerShell is wrapped in a GUI to simplify the management.

Blocking Numbers with PowerShell makes use of the CsInboundBlockedNumberPattern command.

CsInboundBlockedNumberPattern is a PowerShell cmdlet used in Microsoft Teams to block incoming calls from specific phone numbers or patterns of numbers. The calls that are blocked are determined by the number patterns specified in the cmdlet.

For example, if you run the command New-CsInboundBlockedNumberPattern -Identity "+1234" -Pattern "+1234*", it will block all incoming calls from phone numbers that start with +1234.

Similarly, you can block specific phone numbers or patterns of numbers by specifying the appropriate number pattern. The cmdlet can be used to block a specific phone number, a range of numbers, or a wildcard pattern.

Please note that this cmdlet will only block the inbound calls on Teams SIP and PSTN numbers and will not affect the Direct Routing numbers.

Also, this cmdlet works at the tenant level and it will block the calls for all users in the tenant if it’s executed by a tenant admin.

NOTE: To enable tenant-level blocked numbers, run the command Set-CsTenantFederationConfiguration -BlockedNumbersEnabled $true

DOWNLOAD

Advertisement

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

IMHO YouTube Channel

Follow Smarter Together on WordPress.com

Enter your email address to subscribe and receive notifications of new posts.

Join 674 other subscribers

Show your appreciation by donating

Archives

Category

ABS ABServer ADContacts Address Book AddressBook AddressBook Service Communicator contacts CX500 Devices DHCP DNS Edge Server Error Codes event id Exchange UM 2010 GAL Install Guide Lync 2013 Tools Lync Edge Lync Tools Microsoft Teams Monitoring Polycom Powershell Scripts Product Review QOS Quick Reference Guide Reskit RGS RTC Database SIP SIP Options Skype for Business Skype for Business Monitoring Skype for Business Tools SQL Teams TMG Tool Tools Troubleshoot Edge UC Sorted Tools UM Uncategorized Unified Messaging visio Visio Stencil voicemail

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Smarter Together
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Smarter Together
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: