question

Solidpr01-1376 avatar image
0 Votes"
Solidpr01-1376 asked Nandhagopal edited

Teams Direct Routing - sending 2xx/3xx calls to one SBC and everything else to another...?

Hi We have M365 setup with direct routing and 2 x SBCs. SBC#1 has SIP trunks to the PSTN and SBC#2 is connected to a IPPBX. All I'd like to do is have a global rule for all Teams users so everything they dial goes to SBC#1 except when they dial 2xx/3xx/4xx only it should go to SBC#2 which will route the call to an IPPBX. I'm slightly confused if this would be done inside Dial Plans or to simply include something in each of the Voice Routes to each SBC....? Thanks

not-supportedoffice-teams-windows-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered SharonZhao-MSFT commented

@Solidpr01-1376,

I'm slightly confused if this would be done inside Dial Plans or to simply include something in each of the Voice Routes to each SBC....?

This should be configured in voice routing.

There are four elements for voice routing:

①Voice routing policy – A container for PSTN usages, which can be assigned to a user or to multiple users.

②PSTN usages – A container for voice routes and PSTN usages, which can be shared in different voice routing policies.

③Voice routes – A number pattern and set of online PSTN gateways to use for calls where the calling number matches the pattern.

④Online PSTN gateway - A pointer to an SBC that also stores the configuration that is applied when a call is placed through the SBC; can be added to voice routes.

For more details, please refer to this article.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you - but is this setup in the Voice Route or the Voice Routing Policy - as they're different things?

I can't find any examples of something which would simply 'catch all' like .* does but with the exception of 2xx, 3xx ,4xx going to a different PSTN Usage/SBC.

Thanks

0 Votes 0 ·

Hi

It looks to me like I should simply have 1 x VRP for all users with 2 Voice Routes in it:

Route 1, Priority 1, Dialled Number Pattern ^(2|3|4)(\d{2}])$ - goes to SBC with IP-PBX
Route 2, Priority 2, Dialled Number Pattern .* - goes to SBC with PSTN

From what I can tell the number pattern ^(2|3|4)(\d{2}])$ means that 2XX 3XX 4XX dialled numbers will follow this route.
Everything else - .* - will go to the route 2.

I'm not sure of the significance of the ^ \ d { } ] $ symbols but these are the ones given in the example.

Would anyone be able to verify my proposed config?

0 Votes 0 ·

@Solidpr01-1376,

It recommends you use the following dialed number pattern:

Route 1: ^(2|3|4)(\d{2})$

Route 2: ^([0-1]|[5-9])(\d{2})$

0 Votes 0 ·

@Solidpr01-1376
Do you have any update on this thread now?
Please feel free to drop us a note.
Have a nice day!

0 Votes 0 ·

@Solidpr01-1376
Haven't received your update for a long time, do you have any update now?

0 Votes 0 ·