Config a trunk group
Config trunk rules
You can use prefix, length and then select a trunk, in this case, if the dialed number match the rule, it will choose the trunk
You can also change caller id for inbound calls from this trunk group
Apply the rule for whole team
Apply the rule for specific users
Agent will use rules which is applied to his account