If when you try to dial out any number you are receiving audio message from Microsoft Teams saying "Call not allowed due to your organization's settings" then review the following as a possible cause:

local based routing is enabled once PreventTollByPass is enabled on user.
assign a TeamsCallingPolicy to users to AllowCallingPreventTollByPass
Since the Prevent Toll By Pass may be blocking the call then change the policy to AllowCalling

This guidance was taken from this Microsoft community post: