Outbound trunk selection by SIP extension

Hi all,

Is FreePBX able to route outgoing calls to a particular trunk based on the SIP extension that is placing the call? The only way I can see to do it is to select the trunks using different dialling prefixes, which is clumsy and doesn’t gaurantee each extension is using the correct trunk. Surely there is a way to do it by SIP extension.

Thanks in advance.