You cannot do it this way. You can however add a condition to an outbound route that ties down to a single/group/whatever of phones.
JUst create seperate outbound routes that only have the gateway you want and add a condition that matches only the extensions you want to use it.