Inbound routing is usually done by your provider. Outbound by your PBX.