SOLVED

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

%3CLINGO-SUB%20id%3D%22lingo-sub-1618462%22%20slang%3D%22en-US%22%3EDirect%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1618462%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20bit%20old%20fashioned%20but%20we%20have%203%20SBCS%20connected%20to%20Microsoft%20Phone%20System%20within%20our%20Teams%20Admin%20Centre%20%2F%20O365%20tenant%20and%20we%20are%20trying%20to%20shape%20our%20outbound%20voice%20routing%20policies%20to%20simply%20try%20SBC%231%20and%20SBC%232%20in%20that%20order%2C%20rather%20than%20looking%20at%20the%20dialled%20number%20to%20decide%20which%20SBCS%20to%20use.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20appears%20that%20MS%20Phone%20System%20outbound%20routing%20policies%20(what%20I%20would%20usually%20call%20trunks%20and%20trunk%20groups%20in%20PBX%20language)%20don't%20really%20allow%20for%20this.%20It%20feels%20like%20the%20only%20priority%20ordering%20exists%20for%20all%20policies%20together%2C%20when%20we%20want%20to%20put%20a%20user%20in%20a%20policy%20that%20simply%20tries%201%20of%202%20SBCs%20geographically%20local%20to%20them%20and%20nothing%20else.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20just%20looking%20at%20this%20all%20wrong%20or%20is%20there%20a%20way%20to%20simply%20shape%20a%20Policy%20to%20try%201%20SBC%20then%20another%20regardless%20of%20what%20number%20they%20dial%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20we%20simply%20look%20for%20.*%20as%20the%20dialled%20number%20and%20pass%20it%20through%20to%20the%20SBC%20and%20then%20the%20SBC%20shapes%20the%20call%20accordingly.%20This%20works%20fine%20for%20us%2C%20but%20whatever%20we%20do%2C%20we%20cannot%20get%20it%20to%20try%20the%20second%20SBC%20if%20the%20first%20one%20is%20taken%20administratively%20offline....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1618462%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDirect%20Routing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESBC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evoice%20policy%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evoice%20routing%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620043%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620043%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F534358%22%20target%3D%22_blank%22%3E%40solidpro%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BBased%20on%20his%20responses%20from%20this%20past%20post%2C%20I'm%20going%20to%20see%20if%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F84875%22%20target%3D%22_blank%22%3E%40Trevor%20Miller%3C%2FA%3E%26nbsp%3Bcan%20assist.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Fphone-system-administrator-accounts%2Fm-p%2F1558272%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Fphone-system-administrator-accounts%2Fm-p%2F1558272%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620696%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620696%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F534358%22%20target%3D%22_blank%22%3E%40solidpro%3C%2FA%3E%26nbsp%3BEach%20of%20your%20SBCs%20needs%20its%20own%20PSTN%20Usage%20and%20Voice%20Route%2C%20and%20each%20of%20your%20PSTN%20usages%20must%20be%20ordered%20in%20your%20desired%20routing%20manner%20within%20your%20voice%20policies.%26nbsp%3B%20You%20cannot%20combine%20all%20SBCs%20into%20a%20single%20PSTN%20usage%20and%20single%20voice%20route%20within%20a%20single%20voice%20policy%2C%20otherwise%20you%20will%20have%20the%20scenario%20you%20are%20experiencing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20voice%20policy%20defines%20the%20Class%20of%20Service%20your%20users%20are%20allowed%20to%20call%20%26amp%3B%20outbound%20routing%20paths%2Ffailover.%20Your%20PSTN%20Usage%20and%20Voice%20Routes%20work%20to%20define%20number%20types%20and%20class%20of%20service%2C%20plus%20egress%20routing%20paths%20(including%20ordered%20failover)%20to%20your%20PSTN%20gateways.%20Proper%20design%20gets%20you%20a%20configuration%20that%20looks%20similar%20to%20below%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAllEnterprise-NANPA%20(Voice%20Policy)%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%2275%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Usage%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EVoice%20Route%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Gateway%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-NYDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-NYDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3Esbc1.contoso.com%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-TXDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-TXDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3Esbc2.contoso.com%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-CADCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-CADCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3Esbc3.contoso.com%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOutbound%20routing%20in%20the%20Teams%2FSkype%20world%20is%20firstly%20based%20of%20dialed%20digits%2C%20so%20your%20voice%20routes%20need%20to%20have%20some%20level%20of%20matching%20of%20DNIS%20for%20the%20call%20to%20work.%20If%20you%20are%20using%20wildcard%20(.*)%20then%20simply%20having%20unique%20voice%20policies%20for%20your%20specific%20use%20cases%2C%20along%20with%20ordered%20PSTN%20Usages%20and%20Voice%20Routes%20will%20get%20you%20what%20you%20want.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20that%20being%20said%2C%20I%20am%20not%20a%20fan%20of%20wildcard%20routes%20and%20I%20generally%20never%20advise%20customers%20to%20deploy%20in%20that%20manner.%20It's%20the%20%22easiest%20method%22%20but%20it%20also%20does%20not%20allow%20for%20any%20separation%20of%20class%20of%20service%20for%20calls%20and%20potentially%20allows%20calls%20to%20number%20types%20which%20you%20do%20not%20want%20(9XX%2C%20for%20instance).%20You%20should%20also%20be%20normalizing%20all%20numbers%20into%20E.164%20format%20in%20your%20dial%20plans%20and%20structuring%20voice%20routing%20configuration%20based%20on%20E.164%20concepts.%20If%20you%20don't%20need%20to%20break%20out%20things%20like%20local%20dialing%20restrictions%2C%20or%20mobile%20dialing%20restrictions%2C%20or%20premium%20number%20dialing%20restrictions%2C%20then%20you%20would%20not%20need%20a%20wildly%20complex%20routing%20configuration.%20Regardless%2C%20I%20strongly%20suggest%20you%20have%20all%20configuration%20utilizing%20E.164%20from%20dial%20plans%2C%20to%20voice%20routes%2C%20to%20trunk%20translations%2C%20as%20that%20is%20the%20way%20a%20proper%20design%20should%20be.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVery%20few%20items%20have%20changed%20since%20the%20Lync%20days%2C%20as%20the%20concepts%20are%20largely%20still%20the%20same%20for%20Teams%20(basically%20brought%20forward).%20If%20you%20need%20to%20gain%20a%20better%20understanding%2C%20check%20out%20these%20videos%20or%20get%20in%20contact%20with%20a%20voice%20partner%20that%20can%20assist%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fchannel9.msdn.com%2FEvents%2FLync-Conference%2FLync-Conference-2014%2FBEST301%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fchannel9.msdn.com%2FEvents%2FLync-Conference%2FLync-Conference-2014%2FBEST301%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fview.officeapps.live.com%2Fop%2Fview.aspx%3Fsrc%3Dhttp%253A%252F%252Fvideo.ch9.ms%252Fsessions%252Fteched%252Feu%252F2013%252FOUC-B401.pptx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fview.officeapps.live.com%2Fop%2Fview.aspx%3Fsrc%3Dhttp%253A%252F%252Fvideo.ch9.ms%252Fsessions%252Fteched%252Feu%252F2013%252FOUC-B401.pptx%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624988%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624988%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F84875%22%20target%3D%22_blank%22%3E%40Trevor%20Miller%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20taking%20the%20time%20to%20write%20a%20detailed%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20agree%2C%20that%20the%20wildcard%20.*%20is%20very%20inflexible%2C%20but%20we%20have%20a%20really%20simple%20setup%20with%20no%20need%20for%20any%20restrictions%2C%20no%20physical%20handsets%20and%20no%20need%20to%20route%20calls%20based%20on%20destination%20number.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20we%20have%20put%20each%20SBC%20into%20it's%20own%20PSTN%20Usage%20and%20Voice%20Route%20and%20then%20created%202%20policies%20-%20one%20for%20East%20coast%20users%20and%20one%20for%20west%20coast%20users.%20This%20works%20fine%20when%20a%20user%20is%20in%20a%20policy%20with%201%20route%2F1%20Usage%2F%201%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20if%20we%20add%20the%20second%20route%20in%20the%20policy%20or%20a%20second%20usage%20in%20the%20route%2C%20the%20calls%20*never*%20use%20the%20second%20SBC.%20We%20tried%20changing%20the%20ordering%20as%20well%20as%20disabling%20the%20primary%20route%20at%20the%20SBC%20itself%20(either%20via%20it's%20trunk%20to%20MSPBX%20or%20it's%20external%2Fpublic%20IP%20address)%20-%20it%20never%20goes%20to%20the%20second%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20can%20remove%20the%20first%20and%20only%20THEN%20does%20either%20the%20route%20or%20the%20policy%20use%20the%20other%2Falternate%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20is%20this%20something%20that%20is%20just%20'broken'!%3F%20Thank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1625065%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1625065%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F534358%22%20target%3D%22_blank%22%3E%40solidpro%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExamples%20First%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20both%20SBCs%20to%20be%20utilized%20for%20calls%20within%20a%20single%20%22Class%20of%20Service%22%2C%20you'd%20have%20a%20voice%20policy%20that%20has%20a%20single%20PSTN%20Usage%20assigned%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%2276.76990973683992%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Usage%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EVoice%20Route%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Gateway%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-USDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-USDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3E%3CP%3Esbc1.contoso.com%3C%2FP%3E%3CP%3Esbc2.contoso.com%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3EIn%20this%20instance%2C%20Outbound%20Routing%20should%20Round-Robin%20the%20calls%20to%20each%20PSTN%20Gateway%20assigned%20to%20the%20Voice%20Route.%20Effectively%20no%20ordering%20here%20and%20operates%20more%20of%20a%20HA%20pair%20for%20all%20SBCs%20in%20the%20Voice%20Route.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20ordered%20failover%20for%20calls%20within%20a%20single%20%22Class%20of%20Service%22%2C%20you'd%20have%20a%20voice%20policy%20that%20has%20two%20PSTN%20Usage%20assigned%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%2275%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Usage%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EVoice%20Route%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EPSTN%20Gateway%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-NYDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-NYDCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3E%3CP%3Esbc1.contoso.com%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-WADCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3EAllEnterprise-NANPA-WADCEgress%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%3E%3CP%3Esbc2.contoso.com%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3EIn%20this%20instance%2C%20Outbound%20Routing%20will%20NEVER%20attempt%20to%20route%20to%20the%20second%20PSTN%20usage%20unless%20the%20first%20path%20is%20deemed%20%22Offline%22.%20This%20could%20be%20SIP%20OPTIONS%20pings%20failing%20or%20certain%20SIP%205XX%20response%20failures%2C%20but%20there%20is%20explicit%20ordering%20here%20that%20will%20always%20use%20the%20first%20path%20and%20only%20use%20that%20path%20until%20a%20failure%20occurs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETesting%20recommendations%3A%3C%2FP%3E%3CUL%3E%3CLI%3EAfter%20any%20change%20is%20made%20in%20the%20Admin%20Center%20or%20through%20Voice%20Routing%2C%20you%20need%20to%20wait%20at%20least%2015%20minutes.%20There%20are%20notorious%20replication%20delays%20within%20M365%20so%20do%20not%20make%20a%20change%20and%20then%20immediately%20make%20a%20call%20-%20chances%20are%20your%20changes%20are%20not%20yet%20effective%20within%20the%20service.%3C%2FLI%3E%3CLI%3EAfter%20your%2015%20minute%20waiting%20period%2C%20you%20need%20to%20sign-out%20and%20sign-in%20within%20the%20Teams%20app.%20The%20app%20itself%20uses%20caching%20to%20handle%20offline%20scenarios%20and%20improve%20general%20performance%2C%20so%20do%20not%20make%20a%20change%20and%20then%20immediately%20make%20a%20call%20-%20chances%20are%20your%20changes%20are%20not%20yet%20effective%20on%20the%20client.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESBC%20Notes%3A%3C%2FP%3E%3CUL%3E%3CLI%3EThe%20SIP%20failure%20an%20SBC%20will%20provide%20when%20it%20cannot%20route%20a%20call%20to%20an%20upstream%20peer%20(either%20SIP%20or%20T1%2FE1%20related)%20varies%20with%20each%20vendor%20and%20reason%20for%20upstream%20failure.%20If%20a%20call%20from%20Teams%20reaches%20the%20SBC%20and%20the%20SBC%20has%20nowhere%20to%20send%20it%2C%20you%20must%20look%20at%20the%20SIP%20Call%20Ladder%20post-call%20to%20determine%20what%20failure%20is%20being%20sent%20back%20to%20Teams.%20If%20that%20failure%20is%20not%20a%205XX%20level%20failure%2C%20Outbound%20Routing%20in%20Teams%20may%20not%20attempt%20to%20find%20another%20route.%20This%20may%20require%20SIP%20manipulations%20on%20the%20SBC%20to%20%22fix%22.%3C%2FLI%3E%3CLI%3EMake%20sure%20you%20are%20using%20an%20approved%20SBC%20vendor%20and%20that%20you%20are%20running%20at%20least%20the%20minimum%20firmware%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fdirect-routing-border-controllers%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erequired%20for%20Direct%20Routing%3C%2FA%3E.%20Anything%20outside%20of%20that%20list%20is%20just%20futility%20and%20is%20a%20waste%20of%20your%20time.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20desire%20for%20ordered%20SBC%20usage%20is%20absolutely%20possible%20-%20The%20service%20supports%20it%20and%20we've%20deployed%20as%20such%20many%2C%20many%20times.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1625177%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1625177%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F84875%22%20target%3D%22_blank%22%3E%40Trevor%20Miller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20did%20exactly%20as%20you%20suggested%20-%20%22%3CSPAN%3Evoice%20policy%20that%20has%20two%20PSTN%20Usage%22%20and%20virtually%20the%20same%20as%20you%20described%2C%20and%20it%20never%20failed%20over%20to%20the%20other%20one.%20Although%20the%20difference%20was%20we%20didn't%20wait%20at%20least%2015%20minutes....%20Maybe%20it's%20best%20to%20try%20again....%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%22The%20SIP%20failure%20an%20SBC%20will%20provide%20when%20it%20cannot%20route%20a%20call%26nbsp%3B%22%20-%20in%20our%20testing%20we%20take%20the%20primary%20SBC%20out%20of%20service%20altogether%20-%20the%20SBC%20is%20entirely%20offline%20and%20there%20is%20no%20response%20to%20it's%20FQDN%20whatsoever%20-%20so%20in%20this%20case%20there%20would%20not%20be%20a%20response%20whatsoever%20from%20the%20SBC%20to%20route%20the%20call.%20Specifically%20this%20testing%20is%20not%20proving%20that%20the%20SBC%20sends%20the%20correct%20information%20back%20that%20no%20route%20is%20available%20or%20for%20the%20SBC%20to%20find%20alternate%20onward%20routes%2C%20it's%20for%20MS%20Phone%20System%20to%20seek%20out%20a%20different%20SBC%20when%20making%20an%20outbound%20call%20when%20the%20primary%20is%20not%20available%20whatsoever...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThese%20are%20Ribbon%20SBCs%20so%20they%20definitely%20qualify...%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1637984%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1637984%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F84875%22%20target%3D%22_blank%22%3E%40Trevor%20Miller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20-%20could%20you%20help%20me%20confirm%20one%20detail%3F%20If%20we%20are%20to%20attempt%20this%20in%20TAC%20rather%20than%20powershell%2C%20I%20believe%20your%20second%20suggestion%20%22%3CSPAN%3EIf%20you%20want%20ordered%20failover%20for%20calls%20within%20a%20single%20%22Class%20of%20Service%22%2C%20you'd%20have%20a%20voice%20policy%20that%20has%20two%20PSTN%20Usage%20assigned%22%20is%20achieved%20within%20TAC%20under%20Voice%20%2F%20Voice%20Routing%20Policy%20%2F%20Click%20on%20the%20policy%20and%20then%20add%20a%20second%20PSTN%20usage%20record%20-%20is%20this%20correct%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWe%20are%20going%20to%20test%20this%20on%20Monday%2C%20followed%20by%20a%2020%20minute%20tea%20break%20and%20logout%20and%20in%20of%20apps...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1641267%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1641267%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F84875%22%20target%3D%22_blank%22%3E%40Trevor%20Miller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi.%20We%20tested%20it%20and%20it%20worked%2C%20but%20with%20a%20limitation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20adding%20the%20second%20PSTN%20usage%20to%20the%20policy%2C%20if%20the%20Primary%20SBC%20was%20alive%2C%20but%20no%20routes%20were%20available%20to%20carry%20the%20call%20onward%20to%20the%20PSTN%2C%20the%20SIP%20messaging%20is%20sent%20back%20to%20MS%20PBX%20from%20the%20Primary%20SBC%20to%20try%20the%20second%20PSTN%20Usage%20and%20SBC.%20In%20this%20scenario%2C%20the%20fallback%20worked%20and%20the%20call%20routed%20over%20the%20second%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20if%20the%20primary%20SBC%20is%20not%20responding%20whatsoever.%20I.E.%20is%20completely%20offline%2C%20the%20fail%20over%20does%20not%20occur.%20MSPBX%20simply%20tries%20the%20primary%20PSTN%20usage%20forever.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20was%20tested%20after%2030%20minutes%20and%20signing%20in%20and%20out.%20This%20proves%20the%20VRP%20is%20able%20to%20fail%20over%20to%20a%20backup%20usage%20upon%20receiving%20a%20'no%20route%20available'%20or%20similar%20message%20back%20from%20the%20primary%20SBC%2C%20but%20does%20not%20work%20when%20the%20primary%20does%20not%20respond%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20bug%2C%20limitation%20or%20something%20that%20could%20be%20resolved%20by%20further%20configuration%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1642298%22%20slang%3D%22en-US%22%3ERe%3A%20Direct%20Routing%20-%20routing%20outbound%20calls%20based%20on%20SBC%20rather%20than%20dialled%20number...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1642298%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F534358%22%20target%3D%22_blank%22%3E%40solidpro%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20several%20ways%20in%20which%20outbound%20routing%20will%20attempt%20to%20find%20another%20path%20due%20to%20SBC%20%22outage%22%3A%3C%2FP%3E%3CUL%3E%3CLI%3ESip%20Options%20Failure%3C%2FLI%3E%3CLI%3E10%20second%2018X%20timer%3C%2FLI%3E%3CLI%3ESIP%20Failover%20Response%20Code%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDuring%20your%20testing%2C%20did%20you%20see%20the%20SBC%20reported%20as%20offline%20in%20the%20Admin%20Center%20(Voice%26gt%3BDirect%20Routing%26gt%3BSBCs)%3F%20If%20the%20SBC%20was%20truly%20offline%20(from%20the%20perspective%20of%20Microsoft)%2C%20you%20should%20see%20the%20TLS%20connectivity%20status%20and%20SIP%20options%20status%20showing%20%22Inactive%22%20and%20%22Warning%22.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-health-dashboard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-health-dashboard%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20outbound%20routing%20re-route%20is%20working%20with%20a%20SIP%20Response%20Code%20(this%20was%20your%20scenario%20where%20there%20was%20no%20trunk%20available%20from%20the%20PSTN)%2C%20it%20should%20work%20in%20scenario%20where%20the%20entire%20SBC%20is%20%22offline%22.%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EMake%20sure%20the%20-SendSipOptions%20and%20-FailoverTimeSeconds%20parameters%20are%20enabled%20on%20your%20CsOnlinePstnGateway%20object%20for%20your%20SBCs.%3COL%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fset-csonlinepstngateway%3Fview%3Dskype-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fset-csonlinepstngateway%3Fview%3Dskype-ps%3C%2FA%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3EMake%20sure%20you%20are%20using%20separate%20and%20unique%20FQDNs%2FIPs%20for%20each%20of%20your%20SBCs.%20You%20cannot%20share%20a%20single%20FQDN%2FIP%20across%20multiple%20SBCs%20in%20geographically%20disperse%20data%20centers.%3COL%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-trunk-failover-on-outbound-call%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-trunk-failover-on-outbound-call%3C%2FA%3E%3C%2FLI%3E%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-monitor-and-troubleshoot%23monitoring-availability-of-session-border-controllers-using-session-initiation-protocol-sip-options-messages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-monitor-and-troubleshoot%23monitoring-availability-of-session-border-controllers-using-session-initiation-protocol-sip-options-messages%3C%2FA%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3EMake%20sure%20your%20SBC%20is%20truly%20offline%20and%20has%20zero%20alternative%20Layer-3%20network%20routes%20to%20reach%20M365.%20If%20your%20SBC%20is%20multi-homed%20(which%20it%20should%20be%20if%20it%20is%20deployed%20on-premises)%2C%20you%20need%20to%20make%20sure%20that%20Options%20requests%20aren't%20somehow%20routing%20out%20another%20NIC%20to%20M365%2C%20and%20making%20it%20look%20%22up%22%20when%20it%20should%20be%20down.%3C%2FLI%3E%3CLI%3ETry%20disabling%20the%20SBC%20in%20Direct%20Routing%20through%20the%20-Enabled%20%24False%20param%20instead%20of%20manipulating%20the%20SBC%20in%20the%20data%20center.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20strongly%20suggest%20opening%20an%20M365%20support%20incident%20and%2For%20involve%20a%20Ribbon%20partner%20to%20troubleshoot%20further.%26nbsp%3BSomething%20tells%20me%20you're%20still%20missing%20configuration%2C%20either%20on%20the%20SBC%20or%20within%20Direct%20Routing.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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 simply try SBC#1 and SBC#2 in that order, rather than looking at the dialled number to decide which SBCS to use.

 

It appears that MS Phone System outbound routing policies (what I would usually call trunks and trunk groups in PBX language) don't really allow for this. It feels like the only priority ordering exists for all policies together, when we want to put a user in a policy that simply tries 1 of 2 SBCs geographically local to them and nothing else.

 

Am I just looking at this all wrong or is there a way to simply shape a Policy to try 1 SBC then another regardless of what number they dial?

 

Currently we simply look for .* as the dialled number and pass it through to the SBC and then the SBC shapes the call accordingly. This works fine for us, but whatever we do, we cannot get it to try the second SBC if the first one is taken administratively offline....

 

Thanks

7 Replies
Highlighted
Best Response confirmed by ThereseSolimeno (Microsoft)
Solution

@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...

 

Highlighted

@Trevor Miller thank you for taking the time to write a detailed response.

 

I agree, that the wildcard .* is very inflexible, but we have a really simple setup with no need for any restrictions, no physical handsets and no need to route calls based on destination number.

 

So we have put each SBC into it's own PSTN Usage and Voice Route and then created 2 policies - one for East coast users and one for west coast users. This works fine when a user is in a policy with 1 route/1 Usage/ 1 SBC.

 

However if we add the second route in the policy or a second usage in the route, the calls *never* use the second SBC. We tried changing the ordering as well as disabling the primary route at the SBC itself (either via it's trunk to MSPBX or it's external/public IP address) - it never goes to the second SBC.

 

We can remove the first and only THEN does either the route or the policy use the other/alternate SBC.

 

So is this something that is just 'broken'!? Thank you!

 

 

Highlighted

@solidpro 

Examples First:

 

If you want both SBCs to be utilized for calls within a single "Class of Service", you'd have a voice policy that has a single PSTN Usage assigned:

PSTN UsageVoice RoutePSTN Gateway
AllEnterprise-NANPA-USDCEgressAllEnterprise-NANPA-USDCEgress

sbc1.contoso.com

sbc2.contoso.com

In this instance, Outbound Routing should Round-Robin the calls to each PSTN Gateway assigned to the Voice Route. Effectively no ordering here and operates more of a HA pair for all SBCs in the Voice Route.

 

If you want ordered failover for calls within a single "Class of Service", you'd have a voice policy that has two PSTN Usage assigned:

PSTN UsageVoice RoutePSTN Gateway
AllEnterprise-NANPA-NYDCEgressAllEnterprise-NANPA-NYDCEgress

sbc1.contoso.com

AllEnterprise-NANPA-WADCEgressAllEnterprise-NANPA-WADCEgress

sbc2.contoso.com

In this instance, Outbound Routing will NEVER attempt to route to the second PSTN usage unless the first path is deemed "Offline". This could be SIP OPTIONS pings failing or certain SIP 5XX response failures, but there is explicit ordering here that will always use the first path and only use that path until a failure occurs.

 

Testing recommendations:

  • After any change is made in the Admin Center or through Voice Routing, you need to wait at least 15 minutes. There are notorious replication delays within M365 so do not make a change and then immediately make a call - chances are your changes are not yet effective within the service.
  • After your 15 minute waiting period, you need to sign-out and sign-in within the Teams app. The app itself uses caching to handle offline scenarios and improve general performance, so do not make a change and then immediately make a call - chances are your changes are not yet effective on the client.

 

SBC Notes:

  • The SIP failure an SBC will provide when it cannot route a call to an upstream peer (either SIP or T1/E1 related) varies with each vendor and reason for upstream failure. If a call from Teams reaches the SBC and the SBC has nowhere to send it, you must look at the SIP Call Ladder post-call to determine what failure is being sent back to Teams. If that failure is not a 5XX level failure, Outbound Routing in Teams may not attempt to find another route. This may require SIP manipulations on the SBC to "fix".
  • Make sure you are using an approved SBC vendor and that you are running at least the minimum firmware required for Direct Routing. Anything outside of that list is just futility and is a waste of your time.

 

Your desire for ordered SBC usage is absolutely possible - The service supports it and we've deployed as such many, many times. 

Highlighted

@Trevor Miller 

 

Thanks again.

 

We did exactly as you suggested - "voice policy that has two PSTN Usage" and virtually the same as you described, and it never failed over to the other one. Although the difference was we didn't wait at least 15 minutes.... Maybe it's best to try again....

 

"The SIP failure an SBC will provide when it cannot route a call " - in our testing we take the primary SBC out of service altogether - the SBC is entirely offline and there is no response to it's FQDN whatsoever - so in this case there would not be a response whatsoever from the SBC to route the call. Specifically this testing is not proving that the SBC sends the correct information back that no route is available or for the SBC to find alternate onward routes, it's for MS Phone System to seek out a different SBC when making an outbound call when the primary is not available whatsoever...

 

These are Ribbon SBCs so they definitely qualify...

Highlighted

@Trevor Miller 

 

Hi - could you help me confirm one detail? If we are to attempt this in TAC rather than powershell, I believe your second suggestion "If you want ordered failover for calls within a single "Class of Service", you'd have a voice policy that has two PSTN Usage assigned" is achieved within TAC under Voice / Voice Routing Policy / Click on the policy and then add a second PSTN usage record - is this correct?

 

We are going to test this on Monday, followed by a 20 minute tea break and logout and in of apps...

 

Thanks!

 

 

Highlighted

@Trevor Miller 

 

Hi. We tested it and it worked, but with a limitation.

 

When adding the second PSTN usage to the policy, if the Primary SBC was alive, but no routes were available to carry the call onward to the PSTN, the SIP messaging is sent back to MS PBX from the Primary SBC to try the second PSTN Usage and SBC. In this scenario, the fallback worked and the call routed over the second SBC.

 

However if the primary SBC is not responding whatsoever. I.E. is completely offline, the fail over does not occur. MSPBX simply tries the primary PSTN usage forever. 

 

This was tested after 30 minutes and signing in and out. This proves the VRP is able to fail over to a backup usage upon receiving a 'no route available' or similar message back from the primary SBC, but does not work when the primary does not respond at all.

 

Is this a bug, limitation or something that could be resolved by further configuration?

Highlighted

@solidpro

 

There are several ways in which outbound routing will attempt to find another path due to SBC "outage":

  • Sip Options Failure
  • 10 second 18X timer
  • SIP Failover Response Code

 

During your testing, did you see the SBC reported as offline in the Admin Center (Voice>Direct Routing>SBCs)? If the SBC was truly offline (from the perspective of Microsoft), you should see the TLS connectivity status and SIP options status showing "Inactive" and "Warning".

https://docs.microsoft.com/en-us/microsoftteams/direct-routing-health-dashboard

 

If the outbound routing re-route is working with a SIP Response Code (this was your scenario where there was no trunk available from the PSTN), it should work in scenario where the entire SBC is "offline". 

  1. Make sure the -SendSipOptions and -FailoverTimeSeconds parameters are enabled on your CsOnlinePstnGateway object for your SBCs.
    1. https://docs.microsoft.com/en-us/powershell/module/skype/set-csonlinepstngateway?view=skype-ps
  2. Make sure you are using separate and unique FQDNs/IPs for each of your SBCs. You cannot share a single FQDN/IP across multiple SBCs in geographically disperse data centers.
    1. https://docs.microsoft.com/en-us/microsoftteams/direct-routing-trunk-failover-on-outbound-call
    2. https://docs.microsoft.com/en-us/microsoftteams/direct-routing-monitor-and-troubleshoot#monitoring-a...
  3. Make sure your SBC is truly offline and has zero alternative Layer-3 network routes to reach M365. If your SBC is multi-homed (which it should be if it is deployed on-premises), you need to make sure that Options requests aren't somehow routing out another NIC to M365, and making it look "up" when it should be down.
  4. Try disabling the SBC in Direct Routing through the -Enabled $False param instead of manipulating the SBC in the data center.

 

Would strongly suggest opening an M365 support incident and/or involve a Ribbon partner to troubleshoot further. Something tells me you're still missing configuration, either on the SBC or within Direct Routing.