Asterisk has no concept of the difference between trunks and extensions.
To achieve this you would need to set up the OS routing tables so that all outgoing traffic to peers you consider trunks used one interface and all outgoing traffic to peers you consider extensions used the other.
Knowing the underlying reason for this requirement might help get a better solution.