Setting trunk affinity by device

I have 3 trunks (A/B/C), and 3 devices/extensions (1/2/3). Whenever device 1 makes and outbound call I want it to use trunk A, whenever device 2 makes and outbound call I want it to use trunk B, and whenever device 3 makes and outbound call I want it to use trunk C.

Is there a way to set trunk affinity by device/extensions?

could you be more specific? I see Dial Patterns that will use this route, but I don’t think that’s what I want. I want affinity between source (extension) and trunk…

Yes, in the outbound route CID field.

Again, right after the dial pattern field is a CID field. Take a look at the wiki page on outbound routes. The CID has to match then the route becomes specific to the extension with the CID.

Do you mean setting the “Outbound CID” (under Add User/Extension | Extension Options) will case it to match to the “Route CID” (under Add Route | Route Settings) and use that outbound route?
Sorry if this stuff sounds obvious - I’m still getting used to how FreePBX sees the world (which is Sooooo different from editting dialplans directly). I’ve read the wiki entries but they too assume you see things the FreePBX way…

If you hover over the tool tip in the outbound routes it is explained.

The internal CID is used. Just put the extension number in the CID field of the route statement then it has to match that field to also work.

Does this make sense?