Forum Discussion

solidpro's avatar
solidpro
Copper Contributor
Aug 28, 2020
Solved

Direct Routing - routing outbound calls based on SBC rather than dialled number...

Hi   This is a bit old fashioned but we have 3 SBCS connected to Microsoft Phone System within our Teams Admin Centre / O365 tenant and we are trying to shape our outbound voice routing policies to...
  • rovert506's avatar
    Aug 29, 2020

    solidpro Each of your SBCs needs its own PSTN Usage and Voice Route, and each of your PSTN usages must be ordered in your desired routing manner within your voice policies.  You cannot combine all SBCs into a single PSTN usage and single voice route within a single voice policy, otherwise you will have the scenario you are experiencing.

     

    The voice policy defines the Class of Service your users are allowed to call & outbound routing paths/failover. Your PSTN Usage and Voice Routes work to define number types and class of service, plus egress routing paths (including ordered failover) to your PSTN gateways. Proper design gets you a configuration that looks similar to below

     

    AllEnterprise-NANPA (Voice Policy):

    PSTN UsageVoice RoutePSTN Gateway
    AllEnterprise-NANPA-NYDCEgressAllEnterprise-NANPA-NYDCEgresssbc1.contoso.com
    AllEnterprise-NANPA-TXDCEgressAllEnterprise-NANPA-TXDCEgresssbc2.contoso.com
    AllEnterprise-NANPA-CADCEgressAllEnterprise-NANPA-CADCEgresssbc3.contoso.com

     

    Outbound routing in the Teams/Skype world is firstly based of dialed digits, so your voice routes need to have some level of matching of DNIS for the call to work. If you are using wildcard (.*) then simply having unique voice policies for your specific use cases, along with ordered PSTN Usages and Voice Routes will get you what you want.

     

    All that being said, I am not a fan of wildcard routes and I generally never advise customers to deploy in that manner. It's the "easiest method" but it also does not allow for any separation of class of service for calls and potentially allows calls to number types which you do not want (9XX, for instance). You should also be normalizing all numbers into E.164 format in your dial plans and structuring voice routing configuration based on E.164 concepts. If you don't need to break out things like local dialing restrictions, or mobile dialing restrictions, or premium number dialing restrictions, then you would not need a wildly complex routing configuration. Regardless, I strongly suggest you have all configuration utilizing E.164 from dial plans, to voice routes, to trunk translations, as that is the way a proper design should be.

     

    Very few items have changed since the Lync days, as the concepts are largely still the same for Teams (basically brought forward). If you need to gain a better understanding, check out these videos or get in contact with a voice partner that can assist you.

     

    https://channel9.msdn.com/Events/Lync-Conference/Lync-Conference-2014/BEST301

    https://view.officeapps.live.com/op/view.aspx?src=http%3A%2F%2Fvideo.ch9.ms%2Fsessions%2Fteched%2Feu%2F2013%2FOUC-B401.pptx

     

Resources