Generally you can do this in sip.conf (if you have sip hones) by setting exact context that will be executed when that particular sip phone makes outbound call… but it depends on the asterisk distribution you use, this is for plain vanilla asterisk distribution.
In case of FreePBX distribution you may try with outbound routes.