When using direct routing, the final stage of outgoing call routing in MS Teams is to route the call to a Microsoft accredited SBC.
For IP Office support, use ASBCE R10.1 plus Hotfix 1 or higher. ASBCE R8.1.2 supports direct routing, however R10.1 plus Hotfix 1 contains updates required for IP Office.