Fetch a number range and route to a Auto Attendant or Resource Account incl. masking outbound Calls with Microsoft Calling Plans

Handling Inbound Call Routing with Microsoft Calling Plans


Inbound Call Routing with does not work with Microsoft Calling Plans!
This only works with Direct Routing, meaning a voice route on a SBC. The reason is that Microsoft Call Routing only handles outgoing calls.

Set-CsOnlineVoiceRoute:

Modifies an online voice route. Online voice routes contain instructions that tell Microsoft Teams how to route calls from Microsoft or Office 365 users to phone numbers on the public switched telephone network (PSTN) or a private branch exchange (PBX).

Here possible scenario:

Here are some configuration setup
Microsoft assigned phone numbers from +4912345600 - +4912345699 

What we want to archive is:
The number range from +4912345600 - +4912345649 for incoming calls must be route to +4912345610
Within this range, dedicated numbers are assigned to some users
If they make a outgoing call, the outgoing number must be displayeed as +4912345610. 
The number +4912345610 is assigned to a Call Queue.


For our case, we need to do the following:

  1. Go to Microsoft Teams Admin Center.
  2. Navigate to Voice > Phone Numbers and check that the numbers are correctly assigned.
  3. Set up Call Forwarding Rules:
    • If these numbers are assigned to users, configure Call Forwarding or Simultaneous Ring for each user to forward incoming calls to +49812345610.
    • If numbers are not assigned, set up an Auto Attendant (AA) or Resource Account (RA) to capture calls within this range and route them to the Call Queue.

So, our approach is:

  1. Configure Call Forwarding for all assigned numbers, manually to those users
  2. Capture all unassigned numbers via the Auto Attendant (AA) / Resource Account (RA).
This approach is a little "messy", but you can maintain an Excel Sheet (which you should have ether way) and manage those cases, further build you powershell script to run through those numbers and activate call forwarding on a per user bases.

For outgoing calls Configure Outbound Caller ID (Masking to Call Queue Number) "+4912345610":

  1. In Teams Admin Center, go to Voice > Caller ID Policies.
  2. Create a new policy with:
    • Replace caller ID withService Number.
    • Service Number+4912345610 (Call Queue).
  3. Assign this policy to all users within the range +4912345600 - +4912345649.

NOTE:
you need test your setting, that CQ routed calls to user with phone number and EV enabled are suck in calling loop!

Comments

Popular posts from this blog

How to hide users from GAL if they are AD Connect synchronized

Exchange x500 address x500:/o=ExchangeLabs

MFA with Guest Access and different tenants settings